[CRIU] [PATCH 4/4] zdtm: Remove ZDTM_REEXEC (v2)
Pavel Emelyanov
xemul at parallels.com
Tue Dec 1 02:00:32 PST 2015
Also remove now unused skip_pid label.
Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
---
test/zdtm/lib/test.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/test/zdtm/lib/test.c b/test/zdtm/lib/test.c
index bb1f0b6..94a1d3e 100644
--- a/test/zdtm/lib/test.c
+++ b/test/zdtm/lib/test.c
@@ -169,9 +169,6 @@ void test_init(int argc, char **argv)
setup_outfile();
redir_stdfds();
- if (getenv("ZDTM_REEXEC"))
- goto skip_pid;
-
pidf = fopen(pidfile, "wx");
if (!pidf) {
pr_perror("Can't create pid file %s", pidfile);
@@ -216,7 +213,6 @@ void test_init(int argc, char **argv)
exit(1);
}
-skip_pid:
/* record the test pid to remember the ownership of the pidfile */
master_pid = getpid();
--
1.9.3
More information about the CRIU
mailing list