[lxc-devel] [PATCH] tests: Drop 60s delay in shutdowntest

Serge Hallyn serge.hallyn at ubuntu.com
Fri Jan 24 05:49:09 UTC 2014


Quoting Stéphane Graber (stgraber at ubuntu.com):
> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>

Eh, it was useful at one time :)

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

> ---
>  src/tests/shutdowntest.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/src/tests/shutdowntest.c b/src/tests/shutdowntest.c
> index e8a7126..6e4bb31 100644
> --- a/src/tests/shutdowntest.c
> +++ b/src/tests/shutdowntest.c
> @@ -68,8 +68,6 @@ int main(int argc, char *argv[])
>  		fprintf(stderr, "%d: failed to start %s\n", __LINE__, MYNAME);
>  		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)) {
>  		fprintf(stderr, "%d: failed to shut down %s\n", __LINE__, MYNAME);
> -- 
> 1.8.5.3
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


More information about the lxc-devel mailing list