Revert "netd_integration_test - temporarily disable namespace tests"
This reverts commit 85ccb50075dcc659e8b2b44c8c067c20d188ee19.
Reason for revert: finally passed on aosp master...
Test: treehugger
Bug: 144061615
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I22947f4c91e1ad2c338938fc1aaa66f1c0e1dcea
diff --git a/tests/netd_test.cpp b/tests/netd_test.cpp
index 33c8b77..0e2fc70 100644
--- a/tests/netd_test.cpp
+++ b/tests/netd_test.cpp
@@ -81,27 +81,27 @@
}
// Test kernel configuration option CONFIG_NAMESPACES=y
-TEST(NetdNamespaceTest, DISABLED_CheckMountNamespaceSupport) {
+TEST(NetdNamespaceTest, CheckMountNamespaceSupport) {
nsTest(CLONE_NEWNS, true, thread);
}
// Test kernel configuration option CONFIG_UTS_NS=y
-TEST(NetdNamespaceTest, DISABLED_CheckUTSNamespaceSupport) {
+TEST(NetdNamespaceTest, CheckUTSNamespaceSupport) {
nsTest(CLONE_NEWUTS, true, thread);
}
// Test kernel configuration option CONFIG_NET_NS=y
-TEST(NetdNamespaceTest, DISABLED_CheckNetworkNamespaceSupport) {
+TEST(NetdNamespaceTest, CheckNetworkNamespaceSupport) {
nsTest(CLONE_NEWNET, true, thread);
}
// Test kernel configuration option CONFIG_USER_NS=n
-TEST(NetdNamespaceTest, DISABLED_CheckNoUserNamespaceSupport) {
+TEST(NetdNamespaceTest, /*DISABLED_*/ CheckNoUserNamespaceSupport) {
nsTest(CLONE_NEWUSER, false, thread);
}
// Test for all of the above
-TEST(NetdNamespaceTest, DISABLED_CheckFullNamespaceSupport) {
+TEST(NetdNamespaceTest, CheckFullNamespaceSupport) {
nsTest(CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWNET, true, thread);
}