]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
tests: Use trusty instead of lucid
authorStéphane Graber <stgraber@ubuntu.com>
Mon, 17 Feb 2014 22:44:20 +0000 (17:44 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 17 Feb 2014 22:44:20 +0000 (17:44 -0500)
This is required so the tests actually have a chance of passing on arm64
and ppc64el.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/tests/createtest.c
src/tests/get_item.c
src/tests/shutdowntest.c

index ba3a387b2a1397c458056c56fe208a8c2a395eaa..597dff5ab079abdbb3f9f2d0cbef12f0b22dd8f6 100644 (file)
@@ -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;
        }
 
index 1e4121717c5def87eaeafe5856fe5a328219f58e..ef427a068c6c2921057fb1bb3e1483977924474c 100644 (file)
@@ -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;
        }
index c5d609d893186d8a1391c47c991e06f12cb4704e..53fe8c6e6e82428b361abe073a4a668b5e1e248f 100644 (file)
@@ -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;
        }