]> git.proxmox.com Git - mirror_zfs.git/commit
ZTS: Misc fixes for FreeBSD
authorRyan Moeller <ryan@iXsystems.com>
Mon, 24 Feb 2020 18:17:55 +0000 (13:17 -0500)
committerGitHub <noreply@github.com>
Mon, 24 Feb 2020 18:17:55 +0000 (10:17 -0800)
commit92bd4cabd615684d1fa476f56e73e0d9edf9a902
treefabb9255b784247afec59e209abc64fece494db6
parent31a69fbccb06bd1b3b1aaaf59e07a9016cea735d
ZTS: Misc fixes for FreeBSD

* Force UFS sync before snap in vol rollback tests
* rw is not a valid share option on FreeBSD, use ro instead
* zfs_unmount_nested: mountpoint is in the pool, rmdir *before* export
* Fix some more platform checks
* Fix disappearing group in delegate tests
* Don't try delegating for jailed, only root can set it

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10038
tests/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_common.kshlib
tests/zfs-tests/tests/functional/cli_root/zfs_set/canmount_004_pos.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_nested.ksh
tests/zfs-tests/tests/functional/delegate/delegate_common.kshlib
tests/zfs-tests/tests/functional/delegate/setup.ksh
tests/zfs-tests/tests/functional/delegate/zfs_allow_002_pos.ksh
tests/zfs-tests/tests/functional/delegate/zfs_allow_010_pos.ksh
tests/zfs-tests/tests/functional/xattr/setup.ksh