summaryrefslogtreecommitdiff
path: root/tests/misc/chcon
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/chcon')
-rwxr-xr-xtests/misc/chcon2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/misc/chcon b/tests/misc/chcon
index 46aaf87e3..3307bc970 100755
--- a/tests/misc/chcon
+++ b/tests/misc/chcon
@@ -9,6 +9,8 @@ fi
. $srcdir/../lang-default
PRIV_CHECK_ARG=require-root . $srcdir/../priv-check
. $srcdir/../test-lib.sh
+require_selinux_
+
mkdir -p d/sub/s2 || framework_failure
touch f g d/sub/1 d/sub/2 || framework_failure