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:
parent
6a60841631
commit
f5f438194d
@ -668,10 +668,6 @@ tags = ['functional', 'pool_names']
|
||||
tests = ['poolversion_001_pos', 'poolversion_002_pos']
|
||||
tags = ['functional', 'poolversion']
|
||||
|
||||
[tests/functional/privilege]
|
||||
tests = ['privilege_001_pos', 'privilege_002_pos']
|
||||
tags = ['functional', 'privilege']
|
||||
|
||||
[tests/functional/pyzfs]
|
||||
tests = ['pyzfs_unittest']
|
||||
pre =
|
||||
|
@ -33,6 +33,10 @@ tags = ['functional', 'cli_root', 'zpool_add']
|
||||
tests = ['zpool_create_016_pos']
|
||||
tags = ['functional', 'cli_root', 'zpool_create']
|
||||
|
||||
[tests/functional/privilege]
|
||||
tests = ['privilege_001_pos', 'privilege_002_pos']
|
||||
tags = ['functional', 'privilege']
|
||||
|
||||
[tests/functional/xattr:illumos]
|
||||
tests = ['xattr_008_pos', 'xattr_009_neg', 'xattr_010_neg']
|
||||
tags = ['functional', 'xattr']
|
||||
|
@ -31,10 +31,6 @@
|
||||
|
||||
. $STF_SUITE/include/libtest.shlib
|
||||
|
||||
if is_linux || is_freebsd; then
|
||||
log_unsupported "Requires pfexec command"
|
||||
fi
|
||||
|
||||
ZFS_USER=zfsrbac
|
||||
USES_NIS=false
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user