HomeFreeBSD

ZTS: pool_state test check for pool existence in cleanup

Description

ZTS: pool_state test check for pool existence in cleanup

If there is no scsi_debug module, then this test
must be skipped, in this case cleanup routine should
be prepared for absent pool.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Melikov <mail@gmelikov.ru>
Closes #11534

Details

Provenance
George Melikov <mail@gmelikov.ru>Authored on Jan 28 2021, 1:33 AM
GitHub <noreply@github.com>Committed on Jan 28 2021, 1:33 AM
Parents
rG6b2e7203ae5c: Fix a resource leak in uu_avl_pool_destroy
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGb8e6401b794b: ZTS: pool_state test check for pool existence in cleanup (authored by George Melikov <mail@gmelikov.ru>).Jan 28 2021, 1:33 AM