ZTS: Improve cleanup in removal_with_export

Kill the removal operation on every platform, not just Linux.
The test has been fixed and is now stable on FreeBSD.

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #11856
This commit is contained in:
Ryan Moeller 2021-04-09 00:10:28 -04:00 committed by Brian Behlendorf
parent 1eee2c7b27
commit ad34215364
2 changed files with 1 additions and 2 deletions

View File

@ -263,7 +263,6 @@ if sys.platform.startswith('freebsd'):
'inheritance/inherit_001_pos': ['FAIL', '11829'],
'pool_checkpoint/checkpoint_zhack_feat': ['FAIL', '11854'],
'removal/removal_condense_export': ['FAIL', known_reason],
'removal/removal_with_export': ['FAIL', known_reason],
'resilver/resilver_restart_001': ['FAIL', known_reason],
'zvol/zvol_misc/zvol_misc_volmode': ['FAIL', known_reason],
})

View File

@ -26,7 +26,7 @@ log_onexit default_cleanup_noexit
function callback
{
is_linux && test_removal_with_operation_kill
test_removal_with_operation_kill
log_must zpool export $TESTPOOL
#