Commit 499e4486 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

zdtm: run test in a new session

It was lost for tests which executed in a new namespaces.
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 0e4ec776
...@@ -176,6 +176,8 @@ int ns_exec(void *_arg) ...@@ -176,6 +176,8 @@ int ns_exec(void *_arg)
close(args->status_pipe[0]); close(args->status_pipe[0]);
setsid();
system("ip link set up dev lo"); system("ip link set up dev lo");
ret = dup2(args->status_pipe[1], STATUS_FD); ret = dup2(args->status_pipe[1], STATUS_FD);
......
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