diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2015-02-23 19:42:30 +1100 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2015-02-24 06:06:10 +1100 |
commit | 29db3fbf1c53579e8accd87c3f45088beaeff42c (patch) | |
tree | 00870ba7684223479a696c1f6ec9e4fff14e1448 /test | |
parent | 8267168d283ae9bc213617b97afc6878f1cdfb8a (diff) | |
download | flac-29db3fbf1c53579e8accd87c3f45088beaeff42c.tar.gz |
Fix cursheet tests for 'make distcheck'.
Diffstat (limited to 'test')
-rwxr-xr-x | test/test_grabbag.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_grabbag.sh b/test/test_grabbag.sh index 627a9fa4..4ba38f33 100755 --- a/test/test_grabbag.sh +++ b/test/test_grabbag.sh @@ -118,8 +118,9 @@ for cuesheet in $good_cuesheets ; do elif [ "$exit_code" != 0 ] ; then die "Error: good cuesheet is broken" fi - cuesheet_pass1=${cuesheet}.1 - cuesheet_pass2=${cuesheet}.2 + cuesheet_out=$(echo $cuesheet | sed "s|${top_srcdir}/test/||") + cuesheet_pass1=${cuesheet_out}.1 + cuesheet_pass2=${cuesheet_out}.2 diff $cuesheet_pass1 $cuesheet_pass2 >> $log 2>&1 || die "Error: pass1 and pass2 output differ" rm -f $cuesheet_pass1 $cuesheet_pass2 done |