From 47a6b5f43fc6eef4a32ad24465160bb87ef7b5d6 Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Wed, 2 Feb 2005 01:50:47 +0000 Subject: [PATCH] skip the --input-size test until cat works in cygwin --- test/test_flac.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/test/test_flac.sh b/test/test_flac.sh index 6f68f731..20f6a4e8 100755 --- a/test/test_flac.sh +++ b/test/test_flac.sh @@ -572,12 +572,15 @@ rm noise.flac z.wav # test --input-size ############################################################################ -echo -n "testing --input-size=50 --skip=10... " -cat 50c.raw | run_flac $raw_eopt --input-size=50 --skip=10 -o z50c.skip10.flac - || die "ERROR generating FLAC file" -run_flac $raw_dopt -o z50c.skip10.raw z50c.skip10.flac || die "ERROR decoding FLAC file" -cmp 50c.skip10.raw z50c.skip10.raw || die "ERROR: file mismatch for --input-size=50 --skip=10" -rm -f z50c.skip10.raw z50c.skip10.flac -echo OK +#@@@@@@ cat will not work on old cygwin, need to fix +if [ $is_win = no ] ; then + echo -n "testing --input-size=50 --skip=10... " + cat 50c.raw | run_flac $raw_eopt --input-size=50 --skip=10 -o z50c.skip10.flac - || die "ERROR generating FLAC file" + run_flac $raw_dopt -o z50c.skip10.raw z50c.skip10.flac || die "ERROR decoding FLAC file" + cmp 50c.skip10.raw z50c.skip10.raw || die "ERROR: file mismatch for --input-size=50 --skip=10" + rm -f z50c.skip10.raw z50c.skip10.flac + echo OK +fi ############################################################################