Commit 07f5c3fe authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

zdtm: compile a test before constructing a new root

A binary is required to get shared library dependencies
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent fb14f5d1
...@@ -223,6 +223,7 @@ start_test() ...@@ -223,6 +223,7 @@ start_test()
ZDTM_ROOT=`readlink -f $ZDTM_ROOT` ZDTM_ROOT=`readlink -f $ZDTM_ROOT`
mount --bind . $ZDTM_ROOT || return 1 mount --bind . $ZDTM_ROOT || return 1
fi fi
make -C $tdir $tname
construct_root $ZDTM_ROOT $tdir/$tname || return 1 construct_root $ZDTM_ROOT $tdir/$tname || return 1
( export ZDTM_NEWNS=1 ( export ZDTM_NEWNS=1
export ZDTM_PIDFILE=$TPID export ZDTM_PIDFILE=$TPID
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment