Commit c256706a authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov Committed by Pavel Emelyanov

zdtm: /sys/kernel/debug not present in container

debugfs isn't virtualized and never will be

jira #PCLIN-31059
Signed-off-by: 's avatarKonstantin Khlebnikov <khlebnikov@openvz.org>
Acked-by: 's avatarAndrey Vagin <avagin@parallels.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent a89b40aa
...@@ -73,7 +73,7 @@ done: ...@@ -73,7 +73,7 @@ done:
return 1; return 1;
} }
if (mount("none", MPTS_ROOT"/kernel/debug", "proc", 0, "") < 0) { if (mount("none", MPTS_ROOT"/kernel", "proc", 0, "") < 0) {
fail("Can't mount proc"); fail("Can't mount proc");
return 1; return 1;
} }
...@@ -82,7 +82,7 @@ done: ...@@ -82,7 +82,7 @@ done:
test_waitsig(); test_waitsig();
/* this checks both -- sys and proc presence */ /* this checks both -- sys and proc presence */
if (access(MPTS_ROOT"/kernel/debug/slabinfo", F_OK)) { if (access(MPTS_ROOT"/kernel/slabinfo", F_OK)) {
fail("No proc after restore"); fail("No proc after restore");
return 1; return 1;
} }
......
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