From: Christian Brauner Date: Fri, 15 Dec 2017 13:33:46 +0000 (+0100) Subject: tests: remove invalid parts of short lived tests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fstable-2.1;p=thirdparty%2Flxc.git tests: remove invalid parts of short lived tests Signed-off-by: Christian Brauner --- diff --git a/src/tests/shortlived.c b/src/tests/shortlived.c index af5bb2eb7..063aece48 100644 --- a/src/tests/shortlived.c +++ b/src/tests/shortlived.c @@ -162,11 +162,6 @@ int main(int argc, char *argv[]) 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. */ @@ -200,11 +195,6 @@ int main(int argc, char *argv[]) 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)) {