[lxc-devel] [PATCH] remove left over debug getchar()

Serge Hallyn serge.hallyn at ubuntu.com
Wed Oct 30 20:36:59 UTC 2013


Quoting Dwight Engen (dwight.engen at oracle.com):
> I goofed and left in a getchar() that I was using to pause the test program
> in a case that was failing for me. Remove it.
> 
> Signed-off-by: Dwight Engen <dwight.engen at oracle.com>

hah - i did see the warning and was wondering :)  thanks.

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

> ---
>  src/tests/cgpath.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/tests/cgpath.c b/src/tests/cgpath.c
> index 13986cf..acf3c2d 100644
> --- a/src/tests/cgpath.c
> +++ b/src/tests/cgpath.c
> @@ -86,7 +86,6 @@ static int test_running_container(const char *lxcpath,
>  	ret = lxc_cgroup_set("memory.soft_limit_in_bytes", "512M", c->name, c->config_path);
>  	if (ret < 0) {
>  		TSTERR("lxc_cgroup_set failed %d %d", ret, errno);
> -		getchar();
>  		goto err3;
>  	}
>  	ret = lxc_cgroup_get("memory.soft_limit_in_bytes", value, sizeof(value),
> -- 
> 1.8.3.1
> 
> 
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel




More information about the lxc-devel mailing list