mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
add test for 'flac --input-size'
This commit is contained in:
@@ -568,6 +568,22 @@ done
|
|||||||
rm noise.flac z.wav
|
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
|
# test --cue
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user