26 lines
752 B
Diff
26 lines
752 B
Diff
|
|
From 1691faae5ed946ca6058bb9afaeb98b6b2e25f51 Mon Sep 17 00:00:00 2001
|
||
|
|
From: shangyibin <shangyibin@huawei.com>
|
||
|
|
Date: Mon, 10 Jan 2022 15:05:34 +0800
|
||
|
|
Subject: [PATCH] unshare: SKIPPED (no root permissions)
|
||
|
|
|
||
|
|
---
|
||
|
|
tests/ts/lsns/ioctl_ns | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/tests/ts/lsns/ioctl_ns b/tests/ts/lsns/ioctl_ns
|
||
|
|
index ef63606..a979893 100755
|
||
|
|
--- a/tests/ts/lsns/ioctl_ns
|
||
|
|
+++ b/tests/ts/lsns/ioctl_ns
|
||
|
|
@@ -21,7 +21,7 @@ TS_DESC="ownership and hierarchy"
|
||
|
|
. $TS_TOPDIR/functions.sh
|
||
|
|
ts_init "$*"
|
||
|
|
|
||
|
|
-# ts_skip_nonroot
|
||
|
|
+ts_skip_nonroot
|
||
|
|
grep -q '#define HAVE_LINUX_NSFS_H' ${top_builddir}/config.h || ts_skip "no ioctl_ns support"
|
||
|
|
|
||
|
|
[ -r /proc/self/ns/user ] || ts_skip "no USER namespace kernel support"
|
||
|
|
--
|
||
|
|
2.27.0
|
||
|
|
|