<html><head></head><body>Thanks! This is simpler than the mkdir and readlink I was looking into.<br>
<br>
Reviewed-by: Christopher Covington <cov@codeaurora.org><br><br><div class="gmail_quote">On December 24, 2014 3:57:04 AM EST, Andrey Vagin <avagin@openvz.org> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Don't use an uninitialized variable to create a path pattern.<br /><br />v2: fix the comment<br />v3: don't use readlink -m, which isn't supported by busybox<br /><br />Cc: Christopher Covington <cov@codeaurora.org><br />Reported-by: Christopher Covington <cov@codeaurora.org><br />Signed-off-by: Andrey Vagin <avagin@openvz.org><br />---<br /> test/<a href="http://zdtm.sh">zdtm.sh</a> | 3 ++-<br /> 1 file changed, 2 insertions(+), 1 deletion(-)<br /><br />diff --git a/test/<a href="http://zdtm.sh">zdtm.sh</a> b/test/<a href="http://zdtm.sh">zdtm.sh</a><br />index e0a65aa..c91343d 100755<br />--- a/test/<a href="http://zdtm.sh">zdtm.sh</a><br />+++ b/test/<a href="http://zdtm.sh">zdtm.sh</a><br />@@ -664,7 +664,8 @@ EOF<br /> gen_args="$gen_args --force-irmap"<br /> fi<br /> <br />- ddump=`readlink -fm dump/$test_name/$PID/$i`<br />+ # X will be substituted with an iteration number<br />+ ddump=`pwd`/dump/$test_name/$PID/X<br /> <br />
[ -n
"$PERF" ] && gen_args="$gen_args --action-script $SCRIPTDIR/<a href="http://perf-script.sh">perf-script.sh</a>"<br /> </pre></blockquote></div><br>
-- <br>
Qualcomm Innovation Center, Inc.<br>
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,<br>
a Linux Foundation Collaborative Project<br>
<br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>