[CRIU] [crtools-bot] zdtm.sh: fail if a pid file doesn't exist
Cyrill Gorcunov
gorcunov at openvz.org
Thu Feb 2 11:46:12 EST 2012
The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit 73b93182af58b24935092f7adfc5753a4ed9299b
Author: Andrey Vagin <avagin at openvz.org>
Date: Thu Feb 2 13:48:46 2012 +0300
zdtm.sh: fail if a pid file doesn't exist
Signed-off-by: Andrey Vagin <avagin at openvz.org>
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
test/zdtm.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/zdtm.sh b/test/zdtm.sh
index 5b4127f..8bfb03e 100644
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -47,7 +47,7 @@ run_test()
killall -9 $tname
make -C $tdir cleanout $tname.pid
- pid=`cat $test.pid`
+ pid=`cat $test.pid` || return 1
ddump="dump/$tname/$pid"
DUMP_PATH=`pwd`"/"$ddump
More information about the CRIU
mailing list