[CRIU] [PATCH] zdtm: check an exit code of make
Andrey Vagin
avagin at openvz.org
Fri Aug 30 08:33:28 EDT 2013
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
test/zdtm.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/zdtm.sh b/test/zdtm.sh
index c3d63af..6882eac 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -300,7 +300,7 @@ start_test()
}
if [ -z "$PIDNS" ]; then
- make -C $tdir $tname.pid
+ make -C $tdir $tname.pid || return 1
PID=`cat $test.pid` || return 1
else
if [ -z "$ZDTM_ROOT" ]; then
@@ -309,7 +309,7 @@ start_test()
ZDTM_ROOT=`readlink -f $ZDTM_ROOT`
mount --bind . $ZDTM_ROOT || return 1
fi
- make -C $tdir $tname
+ make -C $tdir $tname || return 1
construct_root $ZDTM_ROOT $tdir/$tname || return 1
( export ZDTM_NEWNS=1
export ZDTM_PIDFILE=$TPID
--
1.8.3.1
More information about the CRIU
mailing list