ifdef out skipped startone test code

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>
This commit is contained in:
Serge Hallyn 2013-04-14 21:18:53 -05:00
parent 4167078838
commit c928f41fc0

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