]> granicus.if.org Git - zfs/commit
Verify 'zfs destroy' will unshare the dataset
authorPrakash Surya <prakash.surya@delphix.com>
Fri, 21 Sep 2018 17:54:49 +0000 (10:54 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 3 Oct 2018 17:17:58 +0000 (10:17 -0700)
commit54eb2c410ec8ef9f75c62e3d0e8f53ac8bdb5eea
tree46079a0f3b6bb968501419a2961bc340e2729201
parent1bf490ba930e7f46a82689fda2618d0f30365fec
Verify 'zfs destroy' will unshare the dataset

This change adds a new test case to the zfs-test suite to verify that
when 'zfs destroy' is used on a shared dataset, the dataset will be
unshared after the destroy operation completes.

Reviewed by: loli10K <ezomori.nozomu@gmail.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Prakash Surya <prakash.surya@delphix.com>
Closes #7941
tests/runfiles/linux.run
tests/zfs-tests/include/libtest.shlib
tests/zfs-tests/tests/functional/cli_root/zfs_unshare/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_007_pos.ksh [new file with mode: 0755]