mirror of https://github.com/xiph/flac
make immune to vendor string changes
This commit is contained in:
parent
a915f9712e
commit
43bb14d1ad
Binary file not shown.
|
@ -308,7 +308,8 @@ rm -f $cs_out $cs_out2
|
||||||
|
|
||||||
echo -n "Testing FLAC file with unknown metadata... "
|
echo -n "Testing FLAC file with unknown metadata... "
|
||||||
cp -p metaflac.flac.in $flacfile
|
cp -p metaflac.flac.in $flacfile
|
||||||
run_metaflac --remove --block-number=4 --dont-use-padding $flacfile
|
# remove the VORBIS_COMMENT block so vendor string changes don't interfere with the comparison:
|
||||||
|
run_metaflac --remove --block-type=VORBIS_COMMENT --dont-use-padding $flacfile
|
||||||
cmp $flacfile metaflac.flac.ok || die "ERROR, $flacfile and metaflac.flac.ok differ"
|
cmp $flacfile metaflac.flac.ok || die "ERROR, $flacfile and metaflac.flac.ok differ"
|
||||||
echo OK
|
echo OK
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue