[CRIU] [PATCH 3/3] zdtm: add --track-mem to final snapshot

Tikhomirov Pavel snorcht at gmail.com
Wed Apr 9 02:34:06 PDT 2014


otherwize it won't use/check parent snapshots, only last one
on restore.

Signed-off-by: Tikhomirov Pavel <snorcht at gmail.com>
---
 test/zdtm.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/zdtm.sh b/test/zdtm.sh
index d7f8fca..6997afc 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -487,9 +487,9 @@ EOF
 		fi
 
 		if [ -n "$SNAPSHOT" ]; then
-			snapopt=""
+			snapopt="--track-mem"
 			if [ "$i" -ne "$ITERATIONS" ]; then
-				snapopt="$snapopt -R --track-mem"
+				snapopt="$snapopt -R"
 				dump_only=1
 				[ -n "$PRE_DUMP" ] && dump_cmd="pre-dump"
 			fi
-- 
1.8.3.2



More information about the CRIU mailing list