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);
/* Test whether we can start a really short-lived daemonized container. */
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. */
for (i = 0; i < 10; i++) {
if (c->startl(c, 0, NULL)) {