ZTS: zvol_swap_003 path cleanup

Removing hardcoded paths in zvol_swap_003

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: bunder2015 <omfgbunder@gmail.com>
Closes #7839
This commit is contained in:
bunder2015 2018-08-30 16:53:06 -04:00 committed by Brian Behlendorf
parent 0fe7c953b3
commit de61daa597
1 changed files with 2 additions and 2 deletions

View File

@ -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