diff options
Diffstat (limited to 'init.cfg')
-rw-r--r-- | init.cfg | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -119,6 +119,15 @@ require_selinux_enforcing_() || skip_ "This test is useful only with SELinux in Enforcing mode." } +require_smack_() +{ + grep 'smackfs$' /proc/filesystems > /dev/null \ + || skip_ "this system lacks SMACK support" + + test "$(ls -Zd .)" != '? .' \ + || skip_ "this file system lacks SMACK support" +} + require_openat_support_() { # Skip this test if your system has neither the openat-style functions |