]> granicus.if.org Git - zfs/commit
ZTS: Re-enable MMP tests
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 8 May 2018 04:08:33 +0000 (21:08 -0700)
committerGitHub <noreply@github.com>
Tue, 8 May 2018 04:08:33 +0000 (21:08 -0700)
commitc02c1becce96969ea20a2e142dd451cc37d2a9a0
treea4eeacb9d8e5b1e09bd1c8be122198e3e6387ef4
parenta82a4a15be9559b20ec8e8df1430fc4c901d0b69
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
module/zfs/spa.c
tests/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_props.ksh