From: Stéphane Graber Date: Fri, 24 Jan 2014 18:49:47 +0000 (-0500) Subject: tests: Don't require user interaction in containertests X-Git-Tag: lxc-1.0.0.beta3~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53df623dbd7e0ec10197edc8f1396ec6c8a093dc;p=thirdparty%2Flxc.git tests: Don't require user interaction in containertests Signed-off-by: Stéphane Graber --- diff --git a/src/tests/containertests.c b/src/tests/containertests.c index aaf29e56e..923085350 100644 --- a/src/tests/containertests.c +++ b/src/tests/containertests.c @@ -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;