mirror of
git://github.com/lxc/lxc
synced 2025-09-03 21:49:34 +00:00
tests: Drop 60s delay in shutdowntest
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
@@ -68,8 +68,6 @@ int main(int argc, char *argv[])
|
|||||||
fprintf(stderr, "%d: failed to start %s\n", __LINE__, MYNAME);
|
fprintf(stderr, "%d: failed to start %s\n", __LINE__, MYNAME);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
fprintf(stderr, "%d: %s started, you have 60 seconds to test a console\n", __LINE__, MYNAME);
|
|
||||||
sleep(60); // wait a minute to let user connect to console
|
|
||||||
|
|
||||||
if (!c->shutdown(c, 60)) {
|
if (!c->shutdown(c, 60)) {
|
||||||
fprintf(stderr, "%d: failed to shut down %s\n", __LINE__, MYNAME);
|
fprintf(stderr, "%d: failed to shut down %s\n", __LINE__, MYNAME);
|
||||||
|
Reference in New Issue
Block a user