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

Dwight Engen dwight.engen at oracle.com
Wed Oct 30 17:50:33 UTC 2013


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>
---
 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





More information about the lxc-devel mailing list