[CRIU] [PATCH] zdtm: execute checkskip hooks

Andrey Vagin avagin at openvz.org
Mon May 18 07:47:40 PDT 2015


The currect version does nothing.

Cc: Tycho Andersen <tycho.andersen at canonical.com>
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 test/zdtm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/zdtm.sh b/test/zdtm.sh
index 9d97779..a78a8b5 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -653,7 +653,7 @@ run_test()
 	local rst_args=
 	DUMP_PATH=""
 
-	if [ -f "$test".checkskip ] && [ "$test".checkskip ]; then
+	if [ -f "$test".checkskip ] && ! "$test".checkskip; then
 		echo "Skip $test"
 		return 0
 	fi
-- 
2.1.0



More information about the CRIU mailing list