HomeFreeBSD

Fix the zfsd_autoreplace_001_neg test

Description

Fix the zfsd_autoreplace_001_neg test

It only ever worked by accident.

  • Actually set autoreplace=off as stated in the description
  • Wait for the removed device to disappear from the pool before proceeding.
  • In the assertion, verify that the new disk does not get added, as described in the description.

MFC after: 2 weeks
Sponsored by: Axcient

Details

Provenance
asomersAuthored on Jul 5 2023, 10:37 PM
Parents
rG0724cf3862e6: vfs: whack dpunlocked var in vfs_lookup
Branches
Unknown
Tags
Unknown