tests: Don't require user interaction in containertests

parent a1258e6d
......@@ -219,12 +219,6 @@ int main(int argc, char *argv[])
}
free(sstr);
printf("hit return to start container");
char mychar;
ret = scanf("%c", &mychar);
if (ret < 0)
goto out;
/* non-daemonized is tested in 'startone' */
c->want_daemonize(c, true);
if (!c->startl(c, 0, NULL, NULL)) {
......@@ -244,12 +238,6 @@ int main(int argc, char *argv[])
goto out;
}
printf("hit return to finish");
ret = scanf("%c", &mychar);
if (ret < 0)
goto out;
fprintf(stderr, "all lxc_container tests passed for %s\n", c->name);
ret = 0;
......
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