Commit 0c2df44d authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

zdtm: remove error messages, that this directory is exist

Like this:
mkdir: cannot create directory ‘/tmp/criu-root.wt2oW0/lib64’: File exists
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 231f88a6
......@@ -218,10 +218,10 @@ construct_root()
local libdir=$root/lib
local libdir2=$root/lib64
mkdir $root/bin
mkdir -p $root/bin
cp $ps_path $root/bin
mkdir $libdir $libdir2
mkdir -p $libdir $libdir2
for i in `ldd $test_path $ps_path | grep -P '^\s' | awk '{ print $1 }' | grep -v vdso`; do
local lib=`basename $i`
[ -f $libdir/$lib ] && continue ||
......
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