aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunder2015 <[email protected]>2018-08-30 16:53:06 -0400
committerBrian Behlendorf <[email protected]>2018-08-30 13:53:06 -0700
commitde61daa597129b4bc5cba275cf2ce4aa64069ed5 (patch)
tree68a0097757d1dd11b7ba0e7a9eefddb6d090bdf8
parent0fe7c953b38a39278ea44c5c0782fa295d51fa54 (diff)
ZTS: zvol_swap_003 path cleanup
Removing hardcoded paths in zvol_swap_003 Reviewed-by: George Melikov <[email protected]> Reviewed-by: John Kennedy <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: bunder2015 <[email protected]> Closes #7839
-rwxr-xr-xtests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh
index a6a562cbb..256ca5324 100755
--- a/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh
+++ b/tests/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh
@@ -73,8 +73,8 @@ log_onexit cleanup
voldev=${ZVOL_DEVDIR}/$TESTPOOL/$TESTVOL
VFSTAB_FILE=/etc/vfstab
-NEW_VFSTAB_FILE=/var/tmp/zvol_vfstab.$$
-PREV_VFSTAB_FILE=/var/tmp/zvol_vfstab.PREV.$$
+NEW_VFSTAB_FILE=$TEST_BASE_DIR/zvol_vfstab.$$
+PREV_VFSTAB_FILE=$TEST_BASE_DIR/zvol_vfstab.PREV.$$
[[ -f $NEW_VFSTAB_FILE ]] && cp /dev/null $NEW_VFSTAB_FILE