From 72eedb69fd8a15ea2b6ac3ef2fa322210dd42f6c Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Sat, 22 Aug 2020 14:05:59 -0400 Subject: [PATCH] ZTS: Remove leftover variable names These were overlooked when use of `local` was removed to satisfy checkbashisms. Reviewed-by: Richard Laager Reviewed-by: Brian Behlendorf Signed-off-by: Ryan Moeller Closes #10762 --- scripts/zfs-tests.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/zfs-tests.sh b/scripts/zfs-tests.sh index 004d0cbf3e..ae92769113 100755 --- a/scripts/zfs-tests.sh +++ b/scripts/zfs-tests.sh @@ -142,15 +142,12 @@ trap cleanup EXIT # be dangerous and should only be used in a dedicated test environment. # cleanup_all() { - TEST_POOLS TEST_POOLS=$(sudo "$ZPOOL" list -H -o name | grep testpool) - TEST_LOOPBACKS if [ "$UNAME" = "FreeBSD" ] ; then TEST_LOOPBACKS=$(sudo "${LOSETUP}" -l) else TEST_LOOPBACKS=$(sudo "${LOSETUP}" -a|grep file-vdev|cut -f1 -d:) fi - TEST_FILES TEST_FILES=$(ls /var/tmp/file-vdev* 2>/dev/null) msg