From 0898897a3acd67943b1e539ac91a9a9d5285e8b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Thu, 23 Jan 2014 23:20:48 -0500 Subject: [PATCH] tests: Remove containers after running clonetest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn --- src/tests/clonetest.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tests/clonetest.c b/src/tests/clonetest.c index b04ab3c6b..efd673eb1 100644 --- a/src/tests/clonetest.c +++ b/src/tests/clonetest.c @@ -80,9 +80,9 @@ int main(int argc, char *argv[]) // now test with lvm // Only do this if clonetestlvm1 exists - user has to set this up // in advance - //c2->destroy(c2); + c2->destroy(c2); lxc_container_put(c2); - //c->destroy(c); + c->destroy(c); lxc_container_put(c); c = NULL; @@ -167,11 +167,11 @@ out: lxc_container_put(c3); } if (c2) { - //c2->destroy(c2); // keep around to verify manuall + c2->destroy(c2); lxc_container_put(c2); } if (c) { - //c->destroy(c); + c->destroy(c); lxc_container_put(c); } exit(ret);