Commit 18d40fdd authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

zdtm.sh: set correct path for dump files (v3)

Don't use an uninitialized variable to create a path pattern.

v2: fix the comment
v3: don't use readlink -m, which isn't supported by busybox

Cc: Christopher Covington <cov@codeaurora.org>
Reported-by: 's avatarChristopher Covington <cov@codeaurora.org>
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Reviewed-by: 's avatarChristopher Covington <cov@codeaurora.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 7f4afef2
...@@ -661,7 +661,8 @@ EOF ...@@ -661,7 +661,8 @@ EOF
gen_args="$gen_args --force-irmap" gen_args="$gen_args --force-irmap"
fi fi
ddump=`readlink -fm dump/$test_name/$PID/$i` # X will be substituted with an iteration number
ddump=`pwd`/dump/$test_name/$PID/X
for i in `seq $ITERATIONS`; do for i in `seq $ITERATIONS`; do
local cpt_args= local cpt_args=
local dump_only= local dump_only=
......
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