From: Stéphane Graber Date: Mon, 17 Feb 2014 22:44:20 +0000 (-0500) Subject: tests: Use trusty instead of lucid X-Git-Tag: lxc-1.0.0.rc3~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e403a064231fd4cb852d0b752ef1dc07d7440aeb;p=thirdparty%2Flxc.git tests: Use trusty instead of lucid This is required so the tests actually have a chance of passing on arm64 and ppc64el. Signed-off-by: Stéphane Graber --- 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; }