]> git.proxmox.com Git - mirror_lxc.git/commitdiff
tests: Fix shutdown test
authorStéphane Graber <stgraber@ubuntu.com>
Fri, 24 Jan 2014 02:16:48 +0000 (21:16 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 24 Jan 2014 16:33:22 +0000 (11:33 -0500)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/tests/shutdowntest.c

index fc4e8fd44987ffa9efdd8b8d7bb80f7f40fb934a..e8a7126971781f68f32e658b9e6f83dc866f1813 100644 (file)
@@ -61,6 +61,7 @@ int main(int argc, char *argv[])
                goto out;
        }
 
+       c->clear_config(c);
        c->load_config(c, NULL);
        c->want_daemonize(c, true);
        if (!c->startl(c, 0, NULL)) {