diff options
author | Brian Behlendorf <[email protected]> | 2017-05-18 20:22:04 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-05-22 12:34:42 -0400 |
commit | 5a6d6cf839fe547f2007912f60eac23827b4a8de (patch) | |
tree | 34d43ca143942efee917018fa2290b173dabc997 /tests/runfiles/linux.run | |
parent | 95401cb6f7aa9ec3dd2d61335d2dcc9459c2661c (diff) |
Enable xattr tests
Updated the xattr_common.ksh helper functions to use the attr
command on Linux to manipulate xattrs. Added an xattr.cfg file
and reworked the user/group functionality to be consist with
the existing delegate test cases. The intent of each test
case was preserved.
* xattr_001_pos, xattr_002_neg - Updated to verity xattr=on
and xattr=sa sytle xattrs.
* xattr_003_neg - Use user_run helper instead of su.
* xattr_004_pos - Updated to work with ext2 xattrs.
* xattr_007_neg - Updated to use attr instead of runat.
* xattr_008_pos, xattr_009_neg8_pos, xattr_010_neg -
Test cases disables since they aren't applicable to Linux.
* xattr_011_pos - Updated to expected behavior from GNU
versions of the tested utilities.
* xattr_012_pos - Updated to use xattrtest to create many
small xattrs instead of a single large one.
* xattr_013_pos - Updated to use attr instead of runat.
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #6128
Diffstat (limited to 'tests/runfiles/linux.run')
-rw-r--r-- | tests/runfiles/linux.run | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run index 55fdd5dbe..e83a9ed0f 100644 --- a/tests/runfiles/linux.run +++ b/tests/runfiles/linux.run @@ -547,11 +547,11 @@ tests = ['vdev_zaps_001_pos', 'vdev_zaps_002_pos', 'vdev_zaps_003_pos', [tests/functional/write_dirs] tests = ['write_dirs_001_pos', 'write_dirs_002_pos'] -#[tests/functional/xattr] -#tests = ['xattr_001_pos', 'xattr_002_neg', 'xattr_003_neg', 'xattr_004_pos', -# 'xattr_005_pos', 'xattr_006_pos', 'xattr_007_neg', 'xattr_008_pos', -# 'xattr_009_neg', 'xattr_010_neg', 'xattr_011_pos', 'xattr_012_pos', -# 'xattr_013_pos'] +[tests/functional/xattr] +tests = ['xattr_001_pos', 'xattr_002_neg', 'xattr_003_neg', 'xattr_004_pos', + 'xattr_005_pos', 'xattr_006_pos', 'xattr_007_neg', 'xattr_008_pos', + 'xattr_009_neg', 'xattr_010_neg', 'xattr_011_pos', 'xattr_012_pos', + 'xattr_013_pos'] [tests/functional/zvol/zvol_ENOSPC] tests = ['zvol_ENOSPC_001_pos'] |