From fa23c5be88e79d2da3d3482221e2e24d0d72de68 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 4 Mar 2020 15:10:45 -0800 Subject: [PATCH] ZTS: Add missing quotes `default_setup` takes a disk list as the first argument and has optional additional arguments that control secondary functionality. A couple of test setups mistakenly call `default_setup $DISKS`. Add quotes so the second and subsequent disks are correctly included in the pool as vdevs rather than triggering unwanted behavior from `default_setup`. Reviewed-by: Brian Behlendorf Reviewed-by: John Kennedy Signed-off-by: Ryan Moeller Closes #10097 --- tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/setup.ksh | 2 +- tests/zfs-tests/tests/functional/write_dirs/setup.ksh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/setup.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/setup.ksh index 4c1348a19..c9f36017d 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/setup.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/setup.ksh @@ -39,4 +39,4 @@ else log_note "This machine is running ZFS Filesystem version $ZFS_VERSION" fi -default_setup $DISKS +default_setup "$DISKS" diff --git a/tests/zfs-tests/tests/functional/write_dirs/setup.ksh b/tests/zfs-tests/tests/functional/write_dirs/setup.ksh index 3aafdbdb3..9e70fc47b 100755 --- a/tests/zfs-tests/tests/functional/write_dirs/setup.ksh +++ b/tests/zfs-tests/tests/functional/write_dirs/setup.ksh @@ -33,4 +33,4 @@ verify_runnable "global" -default_setup $DISKS +default_setup "$DISKS"