HomeFreeBSD

ZTS: Improve cleanup in zpool tests

Description

ZTS: Improve cleanup in zpool tests

  • Restore original kern.corefile value after the test.
  • Don't leave behind a frozen pool.
  • Clean up leftover vdev files.
  • Make zpool_002_pos and zpool_003_pos consistent in their handling of

core files while here.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #11694

Details

Provenance
freqlabsAuthored on Mar 7 2021, 5:41 PM
GitHub <noreply@github.com>Committed on Mar 7 2021, 5:41 PM
Parents
rGecc277cff7a4: Clarify compressed zfs send/recv behavior
Branches
Unknown
Tags
Unknown