Commit f582f16d authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

test: expand the default test set

* check page server
* check snapshots
* check a few iterations of dump/restore
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 169f25b6
......@@ -5,8 +5,8 @@ ZDTM_ARGS ?= -C
.FORCE:
all: .FORCE
$(MAKE) zdtm
all: zdtm zdtm-pre-dump zdtm-snapshot zdtm-iter
.PHONY: all
TESTS = unix-callback mem-snap rpc libcriu mounts/ext security
......@@ -19,6 +19,16 @@ other: .FORCE
zdtm: .FORCE
$(MAKE) zdtm_ns
$(MAKE) zdtm_nons
zdtm-pre-dump:
ZDTM_ARGS="-P -p -i 3 -C" $(MAKE) ns/static/pipe00
zdtm-snapshot:
ZDTM_ARGS="-s -i 3 -C" $(MAKE) ns/static/pipe00
zdtm-iter:
ZDTM_ARGS="-i 3 -C" $(MAKE) ns/static/pipe00
.PHONY: zdtm
fault-injection: .FORCE
......
......@@ -2,5 +2,5 @@
source `dirname $0`/criu-lib.sh &&
prep &&
make -C test -j 4 ZDTM_ARGS="-C -x '\(maps04\|mountpoints\|inotify_irmap\)'" &&
make -C test -j 4 ZDTM_ARGS="-C -x '\(maps04\|mountpoints\|inotify_irmap\)'" zdtm &&
true || fail
......@@ -4,5 +4,5 @@ source `dirname $0`/criu-lib.sh &&
prep &&
mkdir -p test/dump &&
mount -t tmpfs dump test/dump &&
make -C test -j 4 ZDTM_ARGS="-d -C -x static/cgroup02" &&
make -C test -j 4 ZDTM_ARGS="-d -C -x static/cgroup02" zdtm &&
true || fail
......@@ -2,5 +2,5 @@
source `dirname $0`/criu-lib.sh &&
prep &&
make -C test -j 4 ZDTM_ARGS="-C -i 3" &&
make -C test -j 4 ZDTM_ARGS="-C -i 3" zdtm &&
true || fail
......@@ -4,5 +4,5 @@ source `dirname $0`/criu-lib.sh &&
prep &&
mkdir -p test/dump &&
mount -t tmpfs dump test/dump &&
make -C test -j 4 'ZDTM_ARGS=-P -i 3 -C' &&
make -C test -j 4 'ZDTM_ARGS=-P -i 3 -C' zdtm &&
true || fail
......@@ -4,5 +4,5 @@ source `dirname $0`/criu-lib.sh &&
prep &&
mkdir -p test/dump &&
mount -t tmpfs dump test/dump &&
make -C test -j 4 ZDTM_ARGS="-s -i 3 -C -x '\(unlink\|socket-tcp\)'" &&
make -C test -j 4 ZDTM_ARGS="-s -i 3 -C -x '\(unlink\|socket-tcp\)'" zdtm &&
true || fail
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