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: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent fe1f672f
...@@ -50,8 +50,8 @@ int main(int argc, char *argv[]) ...@@ -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.link", "lxcbr0");
c->set_config_item(c, "lxc.network.flags", "up"); c->set_config_item(c, "lxc.network.flags", "up");
if (!c->createl(c, "ubuntu", NULL, NULL, 0, "-r", "lucid", NULL)) { if (!c->createl(c, "ubuntu", NULL, NULL, 0, "-r", "trusty", NULL)) {
fprintf(stderr, "%d: failed to create a lucid container\n", __LINE__); fprintf(stderr, "%d: failed to create a trusty container\n", __LINE__);
goto out; goto out;
} }
......
...@@ -171,8 +171,8 @@ int main(int argc, char *argv[]) ...@@ -171,8 +171,8 @@ int main(int argc, char *argv[])
ret = 1; ret = 1;
goto out; goto out;
} }
if (!c->createl(c, "ubuntu", NULL, NULL, 0, "-r", "lucid", NULL)) { if (!c->createl(c, "ubuntu", NULL, NULL, 0, "-r", "trusty", NULL)) {
fprintf(stderr, "%d: failed to create a lucid container\n", __LINE__); fprintf(stderr, "%d: failed to create a trusty container\n", __LINE__);
ret = 1; ret = 1;
goto out; goto out;
} }
......
...@@ -51,8 +51,8 @@ int main(int argc, char *argv[]) ...@@ -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.link", "lxcbr0");
c->set_config_item(c, "lxc.network.flags", "up"); c->set_config_item(c, "lxc.network.flags", "up");
if (!c->createl(c, "ubuntu", NULL, NULL, 0, "-r", "lucid", NULL)) { if (!c->createl(c, "ubuntu", NULL, NULL, 0, "-r", "trusty", NULL)) {
fprintf(stderr, "%d: failed to create a lucid container\n", __LINE__); fprintf(stderr, "%d: failed to create a trusty container\n", __LINE__);
goto out; goto out;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment