ZTS: Move privilege tests to sunos.run

These tests are unspported on FreeBSD and Linux for lack of pfexec.

Move the privilege tests to sunos.run and remove the platform checks.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10035
This commit is contained in:
Ryan Moeller 2020-02-21 11:52:44 -05:00 committed by GitHub
parent 6a60841631
commit f5f438194d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 8 deletions

View File

@ -668,10 +668,6 @@ tags = ['functional', 'pool_names']
tests = ['poolversion_001_pos', 'poolversion_002_pos'] tests = ['poolversion_001_pos', 'poolversion_002_pos']
tags = ['functional', 'poolversion'] tags = ['functional', 'poolversion']
[tests/functional/privilege]
tests = ['privilege_001_pos', 'privilege_002_pos']
tags = ['functional', 'privilege']
[tests/functional/pyzfs] [tests/functional/pyzfs]
tests = ['pyzfs_unittest'] tests = ['pyzfs_unittest']
pre = pre =

View File

@ -33,6 +33,10 @@ tags = ['functional', 'cli_root', 'zpool_add']
tests = ['zpool_create_016_pos'] tests = ['zpool_create_016_pos']
tags = ['functional', 'cli_root', 'zpool_create'] tags = ['functional', 'cli_root', 'zpool_create']
[tests/functional/privilege]
tests = ['privilege_001_pos', 'privilege_002_pos']
tags = ['functional', 'privilege']
[tests/functional/xattr:illumos] [tests/functional/xattr:illumos]
tests = ['xattr_008_pos', 'xattr_009_neg', 'xattr_010_neg'] tests = ['xattr_008_pos', 'xattr_009_neg', 'xattr_010_neg']
tags = ['functional', 'xattr'] tags = ['functional', 'xattr']

View File

@ -31,10 +31,6 @@
. $STF_SUITE/include/libtest.shlib . $STF_SUITE/include/libtest.shlib
if is_linux || is_freebsd; then
log_unsupported "Requires pfexec command"
fi
ZFS_USER=zfsrbac ZFS_USER=zfsrbac
USES_NIS=false USES_NIS=false