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:
parent
f6dddd3374
commit
58d2b15447
@ -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" ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user