zfs_allow_010_pos and zfs_allow_012_neg test cases fail intermittently 
trying to do legacy sharing - that was required because nfs/server 
service wouldn't start without shared FSs, which is already fixed and we 
can drop the workaround simplifying the test cases.

The functions below are modified to do exactly what they are supposed to 
do, without any extra cruft.

verify_fs_share - unconditionally enable nfs/server, share fs as user:
- enable nfs/server (root)
- set sharenfs property (root)
- unshare fs (root)
- share fs (user, point of the test case)
- unshare fs (root)
- unset property (root)

verify_fs_sharenfs - just try changing sharenfs property:
- get current sharenfs property setting
- try setting it to other value (user)
- try setting it to old value (user)
You can view, comment on, or merge this pull request online at:

  https://github.com/openzfs/openzfs/pull/62

-- Commit Summary --

  * 6568 zfs_allow_010_pos and zfs_allow_012_neg fail intermittently

-- File Changes --

    M usr/src/test/zfs-tests/tests/functional/delegate/delegate_common.kshlib 
(107)

-- Patch Links --

https://github.com/openzfs/openzfs/pull/62.patch
https://github.com/openzfs/openzfs/pull/62.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/62
_______________________________________________
developer mailing list
developer@open-zfs.org
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to