From c928f41fc0e79a24e4c43a80fb26b3c46997d91a Mon Sep 17 00:00:00 2001 From: Serge Hallyn Date: Sun, 14 Apr 2013 21:18:53 -0500 Subject: [PATCH] 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 --- src/tests/startone.c | 2 ++ 1 file changed, 2 insertions(+) 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;