From 76e5185422d82da0aa5777d6a4fed5a64e0e15dd Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Fri, 15 Dec 2017 14:33:46 +0100 Subject: [PATCH] tests: remove invalid parts of short lived tests Signed-off-by: Christian Brauner --- src/tests/shortlived.c | 10 ---------- 1 file changed, 10 deletions(-) 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)) { -- 2.47.2