Skip to content

Commit

Permalink
DLPX-83029 ZTS: bad parameter expansion causing test failure (openzfs…
Browse files Browse the repository at this point in the history
  • Loading branch information
jwk404 authored Sep 14, 2022
1 parent 7255843 commit 77ffb04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/zfs-tests/include/libtest.shlib
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,7 @@ function is_shared_smb
datasetexists "$fs" || return

if is_linux; then
net usershare list | grep -xFq "${fs//\//_}"
net usershare list | grep -xFq "${fs//[-\/]/_}"
else
log_note "SMB on $UNAME currently unsupported by the test framework"
return 1
Expand Down

0 comments on commit 77ffb04

Please sign in to comment.