ZTS: Remove leftover variable names
These were overlooked when use of `local` was removed to satisfy checkbashisms. Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ryan Moeller <ryan@iXsystems.com> Closes #10762
This commit is contained in:
parent
a5b1b60e9b
commit
72eedb69fd
|
@ -142,15 +142,12 @@ trap cleanup EXIT
|
||||||
# be dangerous and should only be used in a dedicated test environment.
|
# be dangerous and should only be used in a dedicated test environment.
|
||||||
#
|
#
|
||||||
cleanup_all() {
|
cleanup_all() {
|
||||||
TEST_POOLS
|
|
||||||
TEST_POOLS=$(sudo "$ZPOOL" list -H -o name | grep testpool)
|
TEST_POOLS=$(sudo "$ZPOOL" list -H -o name | grep testpool)
|
||||||
TEST_LOOPBACKS
|
|
||||||
if [ "$UNAME" = "FreeBSD" ] ; then
|
if [ "$UNAME" = "FreeBSD" ] ; then
|
||||||
TEST_LOOPBACKS=$(sudo "${LOSETUP}" -l)
|
TEST_LOOPBACKS=$(sudo "${LOSETUP}" -l)
|
||||||
else
|
else
|
||||||
TEST_LOOPBACKS=$(sudo "${LOSETUP}" -a|grep file-vdev|cut -f1 -d:)
|
TEST_LOOPBACKS=$(sudo "${LOSETUP}" -a|grep file-vdev|cut -f1 -d:)
|
||||||
fi
|
fi
|
||||||
TEST_FILES
|
|
||||||
TEST_FILES=$(ls /var/tmp/file-vdev* 2>/dev/null)
|
TEST_FILES=$(ls /var/tmp/file-vdev* 2>/dev/null)
|
||||||
|
|
||||||
msg
|
msg
|
||||||
|
|
Loading…
Reference in New Issue