mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-06-12 15:50:58 +00:00
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:
parent
4167078838
commit
c928f41fc0
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user