fate: exit with error immediately if test command fails

Originally committed as revision 24147 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-07-09 23:26:33 +00:00
parent f6dddd3374
commit 58d2b15447

View File

@ -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" ;;