The namespace subtests use unshare to create isolated namespaces, but
this fails on QEMU and restricted CI containers where namespace
creation is not available. Skip the namespace subtests in this case.
Signed-off-by: Karel Zak <kzak@redhat.com>
fi
ts_finalize_subtest
+$TS_CMD_UNSHARE --ipc true &> /dev/null || ts_skip "no namespace support"
+
ts_init_subtest "ipcns"
ts_ipc_ns=$("$TS_CMD_GETINO" --ipcns $$ 2>>"$TS_ERRLOG")
unshare_ipc_ns=$("$TS_CMD_UNSHARE" --ipc bash -c "$TS_CMD_GETINO --ipcns \$\$" 2>>"$TS_ERRLOG")