skip the --input-size test until cat works in cygwin

This commit is contained in:
Josh Coalson 2005-02-02 01:50:47 +00:00
parent 98587b14c9
commit 47a6b5f43f

View File

@ -572,12 +572,15 @@ rm noise.flac z.wav
# test --input-size # test --input-size
############################################################################ ############################################################################
#@@@@@@ cat will not work on old cygwin, need to fix
if [ $is_win = no ] ; then
echo -n "testing --input-size=50 --skip=10... " 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" 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" 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" 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 rm -f z50c.skip10.raw z50c.skip10.flac
echo OK echo OK
fi
############################################################################ ############################################################################