[CRIU] [PATCH] zdtm.sh: add a test directory name in a path to images
Andrey Vagin
avagin at openvz.org
Thu Aug 7 22:20:07 PDT 2014
Otherwise static/socket-tcp and streaming/socket-tcp have the same path
to images and they can affect each other.
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 bd2c2f1..f4801ed 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -535,7 +535,7 @@ EOF
local cpt_args=
local dump_only=
local dump_cmd="dump"
- ddump=`readlink -fm dump/$tname/$PID/$i`
+ ddump=`readlink -fm dump/$(basename $tdir)/$tname/$PID/$i`
DUMP_PATH=$ddump
echo Dump $PID
mkdir -p $ddump
--
1.9.3
More information about the CRIU
mailing list