Commit 1ddeb264 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

test/ : Make it work for 'make distcheck'.

An output file was being set to read only and hence could not be
overwritten by a later test. Not sure why this only affected the
'make distcheck' target.
parent 29db3fbf
......@@ -1167,6 +1167,8 @@ flac2flac ()
echo -n "$2... "
# The 'make distcheck' target needs this.
chmod u+w $file
run_flac -f -o out.flac $args $file || die "ERROR encoding FLAC file"
run_metaflac --list out.flac | filter > out.meta || die "ERROR listing metadata of output FLAC file"
diff -q -w $expect out.meta 2>/dev/null || die "ERROR: metadata does not match expected $expect"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment