Skip to content

Commit

Permalink
Merge pull request #4309 from stgraber/master
Browse files Browse the repository at this point in the history
src/tests: Fix container creation errors
  • Loading branch information
brauner committed May 5, 2023
2 parents 0e69800 + ca25f3b commit 70e42b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tests/createtest.c
Expand Up @@ -56,7 +56,7 @@ int main(int argc, char *argv[])
c->set_config_item(c, "lxc.net.0.flags", "up");

if (!c->createl(c, "busybox", NULL, NULL, 0, NULL)) {
fprintf(stderr, "%d: failed to create a trusty container\n", __LINE__);
fprintf(stderr, "%d: failed to create a container\n", __LINE__);
goto out;
}

Expand Down
2 changes: 1 addition & 1 deletion src/tests/get_item.c
Expand Up @@ -509,7 +509,7 @@ int main(int argc, char *argv[])
}

if (!c->createl(c, "busybox", NULL, NULL, 0, NULL)) {
fprintf(stderr, "%d: failed to create a trusty container\n", __LINE__);
fprintf(stderr, "%d: failed to create a container\n", __LINE__);
goto out;
}
lxc_container_put(c);
Expand Down

0 comments on commit 70e42b0

Please sign in to comment.