mirror_zfs/tests/test-runner
Brian Behlendorf bb91178e60
ZTS: Fix EBUSY volume destroy failures
It's possible for an unrelated process, like blkid, to have the
volume open when 'zfs destroy' is run.  Switch the cleanup functions
to the destroy_dataset() helper which handles this case by retrying
the destroy when the dataset is busy.  This was done not only for
volumes but also for file systems for consistency.

Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7854
2018-08-31 15:30:44 -07:00
..
bin ZTS: Fix EBUSY volume destroy failures 2018-08-31 15:30:44 -07:00
include Clean up (k)shlib and cfg file shebangs 2018-04-08 19:37:22 -07:00
man Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
Makefile.am Retire legacy test infrastructure 2017-08-15 17:26:38 -07:00