projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c815851
)
docker: Fix exit code if $CMD failed
author
Fam Zheng
<famz@redhat.com>
Tue, 19 Jul 2016 13:20:42 +0000
(21:20 +0800)
committer
Fam Zheng
<famz@redhat.com>
Wed, 20 Jul 2016 11:19:43 +0000
(19:19 +0800)
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id:
1468934445
-32183-8-git-send-email-famz@redhat.com
tests/docker/run
patch
|
blob
|
history
diff --git
a/tests/docker/run
b/tests/docker/run
index ddfac05bd466dc3a8d8b00c255936a90dac752e3..d85d49afc1329b508ab41e9667967c3aff9217b1 100755
(executable)
--- a/
tests/docker/run
+++ b/
tests/docker/run
@@
-11,6
+11,8
@@
# or (at your option) any later version. See the COPYING file in
# the top-level directory.
+set -e
+
if test -n "$V"; then
set -x
fi
@@
-61,4
+63,6
@@
elif test -n "$DEBUG"; then
echo
# Force error after shell exits
$SHELL && exit 1
+else
+ exit 1
fi