From dad6ad4fdba15d342cf8fcdfc8b61812e1cf3cba Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Thu, 30 Dec 2004 03:49:46 +0000 Subject: [PATCH] add test for 'flac --input-size' --- test/test_flac.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/test/test_flac.sh b/test/test_flac.sh index 08cd0d1..e3bed8f 100755 --- a/test/test_flac.sh +++ b/test/test_flac.sh @@ -569,6 +569,22 @@ 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 + + +############################################################################ +# test --skip and --until +############################################################################ + +############################################################################ # test --cue ############################################################################ -- 2.7.4