criu/test
Filipe Brandenburger 9f415abdb7 zdtm: fix cow01 test to fail on system errors
Add extra troubleshooting messages for errors and failures so that the
output can help troubleshoot the issue.

Make error handling more uniform by using -1 for errors (e.g. opening
files, reading from pagemap, etc.) and 1 for failures (data mismatch,
pages not COWed when expected to be, etc.)

Tested: Ran this test with criu versions known to have problems with COW
and with problems to read from pagemap due to the dumpable flag not
being preserved.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
Acked-by: Andrew Vagin <avagin@parallels.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2014-05-21 00:51:44 +04:00
..
app-emu test/*Makefile: add/append PHONY targets 2014-01-11 09:12:35 +04:00
bers test: bers -- Initial commit 2014-03-18 11:57:12 +04:00
ext-links test: Test and example how to dump namespace with macvlan 2013-12-26 22:40:30 +04:00
fault-injection test: check, that parasite can rollback itself (v2) 2013-08-06 15:11:12 +04:00
jenkins test: add scripts, which are used by jenkins (v2) 2014-02-28 13:30:22 +04:00
libcriu test/*Makefile: add/append PHONY targets 2014-01-11 09:12:35 +04:00
mem-snap v2 test: auto-dedup on restore 2014-02-28 14:12:18 +04:00
mounts mounts/ext: fix path to the test file 2013-12-31 13:54:53 +04:00
rpc test/*Makefile: add/append PHONY targets 2014-01-11 09:12:35 +04:00
tcp test/*Makefile: add/append PHONY targets 2014-01-11 09:12:35 +04:00
unix-callback tests: check callback-s for dumping and restoring sockets (v2) 2013-12-20 15:28:53 +04:00
zdtm zdtm: fix cow01 test to fail on system errors 2014-05-21 00:51:44 +04:00
.gitignore git: update .gitignore 2014-05-14 17:34:41 +04:00
app-emu.sh test: add a script for executing all app-emu test cases 2012-11-22 19:08:29 +04:00
env.sh test: create env.sh for environment setting 2013-08-20 14:52:34 +04:00
functions.sh test/app-emu: wait while tasks are dying before starting restore 2012-11-22 19:08:14 +04:00
Makefile test/*Makefile: add/append PHONY targets 2014-01-11 09:12:35 +04:00
maps.py zdtm: check that a process has the same set of VMS-s after restore 2013-09-23 15:23:12 +04:00
post-dump.sh zdtm: the post-dump scripts returns zero, if action is not post-dump 2013-07-24 19:10:49 +04:00
zdtm.sh zdtm: maps05 -- Test a flood of small VMAs 2014-05-12 14:46:48 +04:00