diff options
author | Olaf Faaland <[email protected]> | 2017-09-23 09:28:18 -0700 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2017-12-18 10:14:39 -0800 |
commit | 53a8cbd70eb2273274d26269638f0ea238943357 (patch) | |
tree | 454558fa3b308b45b49b7866feef7586466c213f /zfs-script-config.sh.in | |
parent | 505b97ae20a7d270f1f9406e6e795d10f9fcdbe6 (diff) |
Fix ZTS MMP tests and ztest -M behavior
Quote "$MMP_IMPORT_MSG" when it is passed as an argument, as it is a
multi-word string. Some tests were passing when they should not have,
because the grep was only testing for the first word.
Correct the message expected when no hostid is set and the test attempts
to enable multihost. It did not match the actual output in that
situation.
Disable ztest_reguid() when ztest is invoked with the -M option. If
ztest performs a reguid, a concurrent import attempt may fail with the
error "one or more devices is currently unavailable" if the guid sum is
calculated on the original device guids but compared against the guid
sum ztest wrote based on the new device guids.
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Olaf Faaland <[email protected]>
Closes #6666
Diffstat (limited to 'zfs-script-config.sh.in')
0 files changed, 0 insertions, 0 deletions