mirror_zfs/tests/zfs-tests/tests/functional/projectquota
Brian Behlendorf af9aa4a216 ZTS: Standardize use of destroy_dataset in cleanup
When cleaning up a test case standardize on using the convention:

    datasetexists $ds && destroy_dataset $ds <flags>

By using 'destroy_dataset' instead of 'log_must zfs destroy' we ensure
that the destroy is retried in the event that a ZFS volume is busy.
This helps ensures ensure tests are fully cleaned up and prevents false
positive test failures on Linux.

Note that all of the tests which used 'zfs destroy' in cleanup have
been updated even if they don't use volumes.  This was done to
clearly establish the expected convention.

Reviewed-by: Rich Ercolani <rincebrain@gmail.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #12663
2021-11-02 09:51:32 -07:00
..
cleanup.ksh Project Quota on ZFS 2018-02-13 14:54:54 -08:00
Makefile.am Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
projectid_001_pos.ksh Fix typos in tests/ 2019-09-02 18:08:56 -07:00
projectid_002_pos.ksh Fix typos in tests/ 2019-09-02 18:08:56 -07:00
projectid_003_pos.ksh Project Quota on ZFS 2018-02-13 14:54:54 -08:00
projectquota_001_pos.ksh Project Quota on ZFS 2018-02-13 14:54:54 -08:00
projectquota_002_pos.ksh ZTS: projectquota_002 path cleanup 2018-08-13 08:15:53 -07:00
projectquota_003_pos.ksh Project Quota on ZFS 2018-02-13 14:54:54 -08:00
projectquota_004_neg.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
projectquota_005_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
projectquota_006_pos.ksh Project Quota on ZFS 2018-02-13 14:54:54 -08:00
projectquota_007_pos.ksh Project Quota on ZFS 2018-02-13 14:54:54 -08:00
projectquota_008_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
projectquota_009_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
projectquota_common.kshlib Project Quota on ZFS 2018-02-13 14:54:54 -08:00
projectquota.cfg Project Quota on ZFS 2018-02-13 14:54:54 -08:00
projectspace_001_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
projectspace_002_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
projectspace_003_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
projectspace_004_pos.ksh ZTS: Standardize use of destroy_dataset in cleanup 2021-11-02 09:51:32 -07:00
projecttree_001_pos.ksh ZTS: Detect e2fsprogs verity issue 2019-03-26 13:57:40 -07:00
projecttree_002_pos.ksh Fix typos in tests/ 2019-09-02 18:08:56 -07:00
projecttree_003_neg.ksh Fix typos in tests/ 2019-09-02 18:08:56 -07:00
setup.ksh Project Quota on ZFS 2018-02-13 14:54:54 -08:00