HomeFreeBSD

ZTS: Re-enable MMP tests

Description

ZTS: Re-enable MMP tests

Commit 7fab6361 inadvertently disabled the MMP test cases by creating
and not removing an /etc/hostid file in the new zpool_split_props test
case. When the file exists the ZTS skips the entire MMP test group
rather than modify what may be a system which is already configured.
Update the test case to remove the file.

Additionally, because the MMP tests were disabled a regression slipped
in as part of commit 9eb7b46ed0. Fix it.

Reviewed-by: Tim Chase <tim@chase2k.com>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7514

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on May 8 2018, 4:08 AM
GitHub <noreply@github.com>Committed on May 8 2018, 4:08 AM
Parents
rGa82a4a15be95: ZTS: remove dead cleanup code from snapshot tests
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGc02c1becce96: ZTS: Re-enable MMP tests (authored by Brian Behlendorf <behlendorf1@llnl.gov>).May 8 2018, 4:08 AM