zfs/tests/zfs-tests/tests/functional/cli_root/zfs_rollback
Antonio Russo 8752f7e320
ZTS: avoid race to unmount in zfs_rollback_001
The zfs_rollback_001 test modifies files in a temporary, test dataset
repeatedly.  Before each iteration, any preexisting dataset is removed,
after unmounted with umount -f, if necessary.

Add a short delay after the forced unmount, avoiding a race that can
prevent zfs destroy from succeeding, leading to a test failure.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Antonio Russo <aerusso@aerusso.net>
Closes #11451
2021-01-12 17:20:02 -08:00
..
Makefile.am Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
cleanup.ksh Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
setup.ksh Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
zfs_rollback.cfg Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
zfs_rollback_001_pos.ksh ZTS: avoid race to unmount in zfs_rollback_001 2021-01-12 17:20:02 -08:00
zfs_rollback_002_pos.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zfs_rollback_003_neg.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zfs_rollback_004_neg.ksh OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
zfs_rollback_common.kshlib ZTS: Misc fixes for FreeBSD 2020-02-24 10:17:55 -08:00