Commit 58d2b154 authored by Måns Rullgård's avatar Måns Rullgård
Browse files

fate: exit with error immediately if test command fails

Originally committed as revision 24147 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f6dddd33
...@@ -26,7 +26,7 @@ oneoff(){ ...@@ -26,7 +26,7 @@ oneoff(){
mkdir -p "$outdir" mkdir -p "$outdir"
eval $target_exec $command > "$outfile" 2>/dev/null eval $target_exec $command > "$outfile" 2>/dev/null || exit
case $cmp in case $cmp in
diff) diff -u -w "$ref" "$outfile" ;; diff) diff -u -w "$ref" "$outfile" ;;
......
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