31e81c88d0
Same class of test gap as the net-namespace test just fixed: this test filtered which of pid/uts/ipc/cgroup to check by kernel support alone, never by the config's own policy, so running the full suite as root with every unshare-* flag forced off (via -c/--config-file) correctly made bwrap skip requesting all four -- production code working as configured, not a bug -- while the test still asserted each was isolated and failed. Reuses namespace_type_would_isolate() (introduced in the previous commit) to filter to_check by both gates instead of kernel support alone. Full suite as root with everything disabled: 78 test cases, 76 passed, 2 skipped (this one and the net-namespace test), 0 failed -- the complete picture requested.