[CRIU] [PATCH 8/9] test/zdtm.sh: sanity check for crtools existence

Kir Kolyshkin kir at openvz.org
Mon Feb 6 13:07:18 EST 2012


Otherwise test goes too far.

Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 test/zdtm.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/test/zdtm.sh b/test/zdtm.sh
index 9364bac..b223110 100644
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -41,6 +41,7 @@ static/ipc_namespace
 "
 
 CRTOOLS=`pwd`/`dirname $0`/../crtools
+test -x $CRTOOLS || exit 1
 
 run_test()
 {
-- 
1.7.5.4



More information about the CRIU mailing list