]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
ifdef out skipped startone test code
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 15 Apr 2013 02:18:53 +0000 (21:18 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 15 Apr 2013 02:18:53 +0000 (21:18 -0500)
Unfortunately installing a working lxc-init is somewhat hairy and
distro-dependent.  So we skipped it before, but Coverity didn't
like that, so just ifdef it out.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/tests/startone.c

index 1eb3e99150c24b3c5b0ccb47db5cdf591603753c..591399d9de37372155eac98fc59e9ecc8ffdbb07 100644 (file)
@@ -222,6 +222,7 @@ int main(int argc, char *argv[])
        c->stop(c);
 
     /* feh - multilib has moved the lxc-init crap */
+#if 0
     goto ok;
 
        ret = system("mkdir -p " LXCPATH "/lxctest1/rootfs//usr/local/libexec/lxc");
@@ -251,6 +252,7 @@ int main(int argc, char *argv[])
        //  auto-check result?  ('bobo' is printed on stdout)
 
 ok:
+#endif
        fprintf(stderr, "all lxc_container tests passed for %s\n", c->name);
        ret = 0;