[CRIU] [PATCH] zdtm.sh: set correct path for dump files
Andrey Vagin
avagin at openvz.org
Fri Dec 19 04:55:57 PST 2014
Don't use an uninitialized variable to create a path pattern.
Cc: Christopher Covington <cov at codeaurora.org>
Reported-by: Christopher Covington <cov at codeaurora.org>
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
test/zdtm.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/zdtm.sh b/test/zdtm.sh
index 3627fec..e5cb4cf 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -655,7 +655,8 @@ EOF
gen_args="$gen_args --force-irmap"
fi
- ddump=`readlink -fm dump/$test_name/$PID/$i`
+ # X will be substituted on an iteration number
+ ddump=`readlink -fm dump/$test_name/$PID/X`
[ -n "$PERF" ] && gen_args="$gen_args --action-script $SCRIPTDIR/perf-script.sh"
--
1.9.3
More information about the CRIU
mailing list