From 58d2b1544720cba8100ed0148edb73147f08b3e8 Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Fri, 9 Jul 2010 23:26:33 +0000 Subject: fate: exit with error immediately if test command fails Originally committed as revision 24147 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/fate-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/fate-run.sh') diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 7dce9b030e..278e2479bc 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -26,7 +26,7 @@ oneoff(){ mkdir -p "$outdir" -eval $target_exec $command > "$outfile" 2>/dev/null +eval $target_exec $command > "$outfile" 2>/dev/null || exit case $cmp in diff) diff -u -w "$ref" "$outfile" ;; -- cgit v1.2.3