From: Serge Hallyn Date: Mon, 15 Apr 2013 02:18:53 +0000 (-0500) Subject: ifdef out skipped startone test code X-Git-Tag: lxc-1.0.0.alpha1~1^2~309 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c928f41fc0e79a24e4c43a80fb26b3c46997d91a;p=thirdparty%2Flxc.git 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 --- diff --git a/src/tests/startone.c b/src/tests/startone.c index 1eb3e9915..591399d9d 100644 --- a/src/tests/startone.c +++ b/src/tests/startone.c @@ -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;