From 61f1502246f3c0ff8737e519807cbc8f9ffa053b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Wed, 23 Mar 2022 20:28:57 +0100 Subject: [PATCH] tests: zfs_share_005: don't fail open MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Behlendorf Reviewed-by: John Kennedy Reviewed-by: Ryan Moeller Signed-off-by: Ahelenia ZiemiaƄska Closes #13259 --- .../tests/functional/cli_root/zfs_share/zfs_share_005_pos.ksh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_005_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_005_pos.ksh index ea9f348e0e..719dd64502 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_005_pos.ksh @@ -82,7 +82,7 @@ do IFS=',' read -r _ option _ <<<"$option" fi - log_must eval "showshares_nfs | grep -q $option" + log_must eval "showshares_nfs | grep -q \"$option\"" ((i = i + 1)) done