tests: remove invalid parts of short lived tests

parent fdfff9a9
...@@ -162,11 +162,6 @@ int main(int argc, char *argv[]) ...@@ -162,11 +162,6 @@ int main(int argc, char *argv[])
goto out; goto out;
} }
if (!c->set_config_item(c, "lxc.execute.cmd", "echo hello")) {
fprintf(stderr, "%d: failed setting lxc.execute.cmd\n", __LINE__);
goto out;
}
c->want_daemonize(c, true); c->want_daemonize(c, true);
/* Test whether we can start a really short-lived daemonized container. */ /* Test whether we can start a really short-lived daemonized container. */
...@@ -200,11 +195,6 @@ int main(int argc, char *argv[]) ...@@ -200,11 +195,6 @@ int main(int argc, char *argv[])
goto out; goto out;
} }
if (!c->set_config_item(c, "lxc.execute.cmd", "you-shall-fail")) {
fprintf(stderr, "%d: failed setting lxc.init.cmd\n", __LINE__);
goto out;
}
/* Test whether we can start a really short-lived daemonized container. */ /* Test whether we can start a really short-lived daemonized container. */
for (i = 0; i < 10; i++) { for (i = 0; i < 10; i++) {
if (c->startl(c, 0, NULL)) { if (c->startl(c, 0, NULL)) {
......
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