<p dir="ltr">Acked-by: Andrew Vagin <<a href="mailto:avagin@openvz.org">avagin@openvz.org</a>></p>
<p dir="ltr">Thanks</p>
<div class="gmail_quote">On Feb 12, 2015 7:28 PM, "Pavel Emelyanov" <<a href="mailto:xemul@parallels.com">xemul@parallels.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This allows excluding more userns tests from blacklist.<br>
<br>
Signed-off-by: Pavel Emelyanov <<a href="mailto:xemul@parallels.com">xemul@parallels.com</a>><br>
---<br>
test/zdtm/lib/ns.c | 4 ++--<br>
test/zdtm.sh | 6 ------<br>
2 files changed, 2 insertions(+), 8 deletions(-)<br>
<br>
diff --git a/test/zdtm/lib/ns.c b/test/zdtm/lib/ns.c<br>
index 8312455..4d2fd24 100644<br>
--- a/test/zdtm/lib/ns.c<br>
+++ b/test/zdtm/lib/ns.c<br>
@@ -192,8 +192,6 @@ int ns_exec(void *_arg)<br>
<br>
setsid();<br>
<br>
- system("ip link set up dev lo");<br>
-<br>
ret = dup2(args->status_pipe[1], STATUS_FD);<br>
if (ret < 0) {<br>
fprintf(stderr, "dup2() failed: %m\n");<br>
@@ -207,6 +205,8 @@ int ns_exec(void *_arg)<br>
return -1;<br>
}<br>
<br>
+ system("ip link set up dev lo");<br>
+<br>
if (prepare_mntns())<br>
return -1;<br>
<br>
diff --git a/test/zdtm.sh b/test/zdtm.sh<br>
index bcbb2d1..2d0e8e8 100755<br>
--- a/test/zdtm.sh<br>
+++ b/test/zdtm.sh<br>
@@ -251,13 +251,7 @@ generate_test_list()<br>
ns/static/mlock_setuid<br>
ns/static/sched_prio00<br>
ns/static/sched_policy00<br>
- ns/static/socket_listen<br>
- ns/static/socket_listen6<br>
- ns/static/packet_sock<br>
ns/static/packet_sock_mmap<br>
- ns/static/socket_udp<br>
- ns/static/socket6_udp<br>
- ns/static/socket_udplite<br>
ns/static/fanotify00<br>
ns/static/fifo-ghost<br>
ns/static/unlink_fifo<br>
--<br>
1.8.4.2<br>
<br>
<br>
_______________________________________________<br>
CRIU mailing list<br>
<a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/criu" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
</blockquote></div>