[PATCH] Repairs test_grabbag.sh

Martijn van Beurden mvanb1 at gmail.com
Mon Mar 3 05:17:56 PST 2014


The change from /bin/sh to /bin/bash -e (commit 1d3d50) broke
the cuesheet tests. This should fix it
---
 test/test_grabbag.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/test/test_grabbag.sh b/test/test_grabbag.sh
index 923c812..dfa4a84 100755
--- a/test/test_grabbag.sh
+++ b/test/test_grabbag.sh
@@ -97,8 +97,7 @@ rm -f $log
 #
 for cuesheet in $bad_cuesheets ; do
 	echo "NEGATIVE $cuesheet" >> $log 2>&1
-	run_test_cuesheet $cuesheet $good_leadout 44100 cdda >> $log 2>&1
-	exit_code=$?
+	run_test_cuesheet $cuesheet $good_leadout 44100 cdda >> $log 2>&1 || exit_code=$?
 	if [ "$exit_code" = 255 ] ; then
 		die "Error: test script is broken"
 	fi
-- 
1.8.3.2


--------------070100030007070601010509--


More information about the flac-dev mailing list