diff options
author | Andrei Vagin <avagin@virtuozzo.com> | 2017-02-02 07:46:38 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@virtuozzo.com> | 2017-03-02 00:19:02 +0300 |
commit | 0d979b2934be8b7c5558420208e83f952b5231c8 (patch) | |
tree | 9cff41b36e981165782b4a23b1bf2b562324d603 | |
parent | 46caa25a1ab3a3f0e98019973adafe9250a21fc3 (diff) |
zdtm.py: use --status-fd instead --daemon
It works faster and allows to check exit codes.
travis-ci: success for series starting with [1/2] page-server: don't return a server pid from page-server
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
-rwxr-xr-x | test/zdtm.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/zdtm.py b/test/zdtm.py index 0ba18d4b5..a8daa1863 100755 --- a/test/zdtm.py +++ b/test/zdtm.py @@ -963,6 +963,12 @@ class criu: if ret: raise test_fail_exc("criu lazy-pages exited with %s" % ret) + if self.__page_server_p: + ret = self.__page_server_p.wait() + self.__page_server_p = None + if ret: + raise test_fail_exc("criu page-server exited with %s" % ret) + if self.__leave_stopped: pstree_check_stopped(self.__test.getpid()) pstree_signal(self.__test.getpid(), signal.SIGCONT) |