[CRIU] [PATCH 1/4] zdtm: use full paths in commands and log messages

Andrey Vagin avagin at openvz.org
Fri Nov 1 04:37:53 PDT 2013


I like copy past. Currently zdtm.sh uses paths relative to the
directory test, but I work ralative to the root of the source tree.

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 test/zdtm.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/zdtm.sh b/test/zdtm.sh
index 5c1ea56..4aa3be7 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -431,8 +431,8 @@ EOF
 	for i in `seq $ITERATIONS`; do
 		local dump_only=
 		local postdump=
-		ddump=dump/$tname/$PID/$i
-		DUMP_PATH=`pwd`/$ddump
+		ddump=`readlink -fm dump/$tname/$PID/$i`
+		DUMP_PATH=$ddump
 		echo Dump $PID
 		mkdir -p $ddump
 
-- 
1.8.3.1



More information about the CRIU mailing list