tests: zfs_share_005: don't fail open

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13259
This commit is contained in:
наб 2022-03-23 20:28:57 +01:00 committed by Brian Behlendorf
parent 7b875ee601
commit 61f1502246

View File

@ -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