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:
parent
0fe7c953b3
commit
de61daa597
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue