From d418d0bee421c45d11e5b56ff47a1dde03648bda Mon Sep 17 00:00:00 2001 From: LOLi Date: Mon, 6 Feb 2017 19:08:10 +0100 Subject: [PATCH] Fix ZFS Test Suite failures caused by ksh brace expansion feature Reviewed-by: Brian Behlendorf Reviewed-by: George Melikov Reviewed-by: Giuseppe Di Natale Signed-off-by: loli10K Closes #5669 Closes #5743 --- tests/runfiles/linux.run | 4 +--- tests/zfs-tests/include/libtest.shlib | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run index 117117661574..d9d5d58d63e6 100644 --- a/tests/runfiles/linux.run +++ b/tests/runfiles/linux.run @@ -118,10 +118,8 @@ tests = ['zfs_get_001_pos', 'zfs_get_002_pos', 'zfs_get_003_pos', 'zfs_get_005_neg', 'zfs_get_007_neg', 'zfs_get_008_pos', 'zfs_get_009_pos', 'zfs_get_010_neg'] -# DISABLED: -# zfs_inherit_003_pos - https://github.com/zfsonlinux/zfs/issues/5669 [tests/functional/cli_root/zfs_inherit] -tests = ['zfs_inherit_001_neg', 'zfs_inherit_002_neg'] +tests = ['zfs_inherit_001_neg', 'zfs_inherit_002_neg', 'zfs_inherit_003_pos'] # DISABLED: # zfs_mount_006_pos - https://github.com/zfsonlinux/zfs/issues/4990 diff --git a/tests/zfs-tests/include/libtest.shlib b/tests/zfs-tests/include/libtest.shlib index b5f8b129151b..4127d35a8581 100644 --- a/tests/zfs-tests/include/libtest.shlib +++ b/tests/zfs-tests/include/libtest.shlib @@ -1035,7 +1035,7 @@ function get_prop # property dataset return 1 fi - $ECHO $prop_val + $ECHO "$prop_val" return 0 } @@ -1062,7 +1062,7 @@ function get_pool_prop # property pool return 1 fi - $ECHO $prop_val + $ECHO "$prop_val" return 0 }