[CRIU] [PATCH 3/5] zdtm: compile a test before constructing a new root

Andrey Vagin avagin at openvz.org
Fri Jan 11 14:56:22 EST 2013


A binary is required to get shared library dependencies

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 test/zdtm.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/zdtm.sh b/test/zdtm.sh
index af8bc1a..4807536 100644
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -222,6 +222,7 @@ start_test()
 			ZDTM_ROOT=`readlink -f $ZDTM_ROOT`
 			mount --bind . $ZDTM_ROOT || return 1
 		fi
+		make -C $tdir $tname
 		construct_root $ZDTM_ROOT $tdir/$tname || return 1
 	(	export ZDTM_NEWNS=1
 		export ZDTM_PIDFILE=$TPID
-- 
1.7.11.7



More information about the CRIU mailing list