mirror_zfs/tests/zfs-tests/include
LOLi 2f71caf2d9 Allow zfs unshare <protocol> -a
Allow `zfs unshare <protocol> -a` command to share or unshare all datasets
of a given protocol, nfs or smb.

Additionally, enable most of ZFS Test Suite zfs_share/zfs_unshare test cases.
To work around some Illumos-specific functionalities ($SHARE/$UNSHARE) some
function wrappers were added around them.

Finally, fix and issue in smb_is_share_active() that would leave SMB shares
exported when invoking 'zfs unshare -a'

Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #3238 
Closes #5367
2016-11-29 12:22:38 -07:00
..
.gitignore Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
commands.cfg.in Allow zfs unshare <protocol> -a 2016-11-29 12:22:38 -07:00
default.cfg.in Introduce tests for python scripts 2016-10-06 13:11:57 -07:00
libtest.shlib Allow zfs unshare <protocol> -a 2016-11-29 12:22:38 -07:00
Makefile.am Remove script zfs_commands.cfg 2016-09-20 18:36:24 -07:00
math.shlib Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
properties.shlib OpenZFS 4185 - add new cryptographic checksums to ZFS: SHA-512, Skein, Edon-R 2016-10-03 14:51:15 -07:00