Commit 50977c40 authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov

test: return the iteration number to the end of the test path

When we generate a path to the previous images, we take a directory name
and the previous iteration number.

Reported-by: Mr Jenkins
Signed-off-by: 's avatarAndrew Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 80ed2f39
......@@ -650,11 +650,12 @@ EOF
gen_args="$gen_args --force-irmap"
fi
ddump=`readlink -fm dump/$test_name/$PID/$i`
for i in `seq $ITERATIONS`; do
local cpt_args=
local dump_only=
local dump_cmd="dump"
ddump=`readlink -fm dump/$test_name/$i/$PID`
ddump=`dirname $ddump`/$i
DUMP_PATH=$ddump
echo Dump $PID
mkdir -p $ddump
......
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