diff options
author | Don Brady <[email protected]> | 2019-04-04 20:00:55 -0600 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-04-04 19:00:55 -0700 |
commit | b4ddec7af6cc52afc54797b4bd3a5f7b29eab52e (patch) | |
tree | 984c5349fd3cd02520e40af5cb534d3369decb4f /tests | |
parent | a887d653b32aaba3fe04c7b25ff0091b9ea9c64e (diff) |
features.kernel layout should match features.pool
The features.kernel layout should match features.pool.
Reviewed-by: Sara Hartse <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Don Brady <[email protected]>
Closes #8566
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfs_sysfs_live.ksh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfs_sysfs_live.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfs_sysfs_live.ksh index 17ac8f8a1..4bb5cc2e0 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfs_sysfs_live.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/zfs_sysfs_live.ksh @@ -21,7 +21,7 @@ # # -# Copyright (c) 2018 by Delphix. All rights reserved. +# Copyright (c) 2018, 2019 by Delphix. All rights reserved. # . $STF_SUITE/include/libtest.shlib @@ -39,13 +39,15 @@ fi claim="Expected '/sys/module/zfs/<dir>/<attr>' attributes are present" -feature_attr="/sys/module/zfs/features.pool/org.open-zfs:large_blocks/guid" +kernel_feature_attr="/sys/module/zfs/features.kernel/org.zfsonlinux:vdev_trim/supported" +pool_feature_attr="/sys/module/zfs/features.pool/org.open-zfs:large_blocks/guid" pool_prop__attr="/sys/module/zfs/properties.pool/comment/values" ds_prop__attr="/sys/module/zfs/properties.dataset/recordsize/values" log_assert $claim -log_must cat $feature_attr +log_must cat $kernel_feature_attr +log_must cat $pool_feature_attr log_must cat $pool_prop__attr log_must cat $ds_prop__attr |