From 479d7d3ca6c61dce789e54eb02c04b90f9ce0c8f Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Wed, 25 Sep 2019 14:42:04 -0400 Subject: [PATCH] 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 --- .../functional/cli_root/zfs_destroy/zfs_destroy_dev_removal.ksh | 2 +- .../cli_root/zfs_destroy/zfs_destroy_dev_removal_condense.ksh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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