Commit 14f0eabe authored by Pavel Emelyanov's avatar Pavel Emelyanov

zdtm: Remove ZDTM_REEXEC (v2)

Also remove now unused skip_pid label.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
Acked-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
parent 9d6bc6e4
......@@ -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();
......
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