From e403a064231fd4cb852d0b752ef1dc07d7440aeb Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Graber?= Date: Mon, 17 Feb 2014 17:44:20 -0500 Subject: [PATCH] tests: Use trusty instead of lucid MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This is required so the tests actually have a chance of passing on arm64 and ppc64el. Signed-off-by: Stéphane Graber --- src/tests/createtest.c | 4 ++-- src/tests/get_item.c | 4 ++-- src/tests/shutdowntest.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/tests/createtest.c b/src/tests/createtest.c index ba3a387b2..597dff5ab 100644 --- a/src/tests/createtest.c +++ b/src/tests/createtest.c @@ -50,8 +50,8 @@ int main(int argc, char *argv[]) } c->set_config_item(c, "lxc.network.link", "lxcbr0"); c->set_config_item(c, "lxc.network.flags", "up"); - if (!c->createl(c, "ubuntu", NULL, NULL, 0, "-r", "lucid", NULL)) { - fprintf(stderr, "%d: failed to create a lucid container\n", __LINE__); + if (!c->createl(c, "ubuntu", NULL, NULL, 0, "-r", "trusty", NULL)) { + fprintf(stderr, "%d: failed to create a trusty container\n", __LINE__); goto out; } diff --git a/src/tests/get_item.c b/src/tests/get_item.c index 1e4121717..ef427a068 100644 --- a/src/tests/get_item.c +++ b/src/tests/get_item.c @@ -171,8 +171,8 @@ int main(int argc, char *argv[]) ret = 1; goto out; } - if (!c->createl(c, "ubuntu", NULL, NULL, 0, "-r", "lucid", NULL)) { - fprintf(stderr, "%d: failed to create a lucid container\n", __LINE__); + if (!c->createl(c, "ubuntu", NULL, NULL, 0, "-r", "trusty", NULL)) { + fprintf(stderr, "%d: failed to create a trusty container\n", __LINE__); ret = 1; goto out; } diff --git a/src/tests/shutdowntest.c b/src/tests/shutdowntest.c index c5d609d89..53fe8c6e6 100644 --- a/src/tests/shutdowntest.c +++ b/src/tests/shutdowntest.c @@ -51,8 +51,8 @@ int main(int argc, char *argv[]) } c->set_config_item(c, "lxc.network.link", "lxcbr0"); c->set_config_item(c, "lxc.network.flags", "up"); - if (!c->createl(c, "ubuntu", NULL, NULL, 0, "-r", "lucid", NULL)) { - fprintf(stderr, "%d: failed to create a lucid container\n", __LINE__); + if (!c->createl(c, "ubuntu", NULL, NULL, 0, "-r", "trusty", NULL)) { + fprintf(stderr, "%d: failed to create a trusty container\n", __LINE__); goto out; } -- 2.47.2