From: Ryan Moeller Date: Wed, 25 Sep 2019 18:42:04 +0000 (-0400) Subject: ZTS: Fix typos in zfs_destroy tests cleanup X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=479d7d3ca6c61dce789e54eb02c04b90f9ce0c8f;p=zfs ZTS: Fix typos in zfs_destroy tests cleanup lot_must -> log_must Reviewed-by: Brian Behlendorf Reviewed-by: Igor Kozhukhov Reviewed by: Sara Hartse Reviewed-by: John Kennedy Signed-off-by: Ryan Moeller Closes #9362 --- diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal.ksh index 0425322ae..784bd328e 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal.ksh @@ -32,7 +32,7 @@ function cleanup { poolexists $TESTPOOL2 && zpool destroy $TESTPOOL2 [[ -f $VIRTUAL_DISK1 ]] && log_must rm $VIRTUAL_DISK1 - [[ -f $VIRTUAL_DISK2 ]] && lot_must rm $VIRTUAL_DISK2 + [[ -f $VIRTUAL_DISK2 ]] && log_must rm $VIRTUAL_DISK2 } log_onexit cleanup diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal_condense.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal_condense.ksh index b6442de40..e11a43f62 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal_condense.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal_condense.ksh @@ -39,7 +39,7 @@ function cleanup # reset livelist max size set_tunable64 zfs_livelist_max_entries $ORIGINAL_MAX [[ -f $VIRTUAL_DISK1 ]] && log_must rm $VIRTUAL_DISK1 - [[ -f $VIRTUAL_DISK2 ]] && lot_must rm $VIRTUAL_DISK2 + [[ -f $VIRTUAL_DISK2 ]] && log_must rm $VIRTUAL_DISK2 } log_onexit cleanup