Repairs test_grabbag.sh

The change from /bin/sh to /bin/bash -e (commit 1d3d50) broke
the cuesheet tests. This should fix it

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
This commit is contained in:
Martijn van Beurden 2014-03-03 14:17:56 +01:00 committed by Erik de Castro Lopo
parent 15e28a4b94
commit 163b734010
1 changed files with 1 additions and 2 deletions

View File

@ -97,8 +97,7 @@ rm -f $log
# #
for cuesheet in $bad_cuesheets ; do for cuesheet in $bad_cuesheets ; do
echo "NEGATIVE $cuesheet" >> $log 2>&1 echo "NEGATIVE $cuesheet" >> $log 2>&1
run_test_cuesheet $cuesheet $good_leadout 44100 cdda >> $log 2>&1 run_test_cuesheet $cuesheet $good_leadout 44100 cdda >> $log 2>&1 || exit_code=$?
exit_code=$?
if [ "$exit_code" = 255 ] ; then if [ "$exit_code" = 255 ] ; then
die "Error: test script is broken" die "Error: test script is broken"
fi fi