mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
tests: zfs_unshare_001_pos: print which filesystem failed
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:
parent
bf228f3de0
commit
261f10b717
@ -149,7 +149,7 @@ while (( i < ${#mntp_fs[*]} )); do
|
||||
else
|
||||
log_must zfs set sharenfs=on ${mntp_fs[((i+1))]}
|
||||
is_shared ${mntp_fs[i]} || \
|
||||
log_fail "'zfs set sharenfs=on' fails to share filesystem."
|
||||
log_fail "'zfs set sharenfs=on' fails to share filesystem: ${mntp_fs[i]} not shared."
|
||||
fi
|
||||
|
||||
((i = i + 2))
|
||||
@ -166,7 +166,7 @@ log_must zfs unshare -a
|
||||
i=0
|
||||
while (( i < ${#mntp_fs[*]} )); do
|
||||
not_shared ${mntp_fs[i]} || \
|
||||
log_fail "'zfs unshare -a' fails to unshare all shared zfs filesystems."
|
||||
log_fail "'zfs unshare -a' fails to unshare all shared zfs filesystems: ${mntp_fs[i]} still shared."
|
||||
|
||||
((i = i + 2))
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user