]> git.proxmox.com Git - mirror_zfs.git/commitdiff
ZTS: inuse_004 path cleanup
authorbunder2015 <omfgbunder@gmail.com>
Mon, 13 Aug 2018 15:16:55 +0000 (11:16 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 13 Aug 2018 15:16:55 +0000 (08:16 -0700)
Removing hardcoded path in inuse_004

Reviewed-by: Giuseppe Di Natale <guss80@gmail.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: bunder2015 <omfgbunder@gmail.com>
Closes #7775

tests/zfs-tests/tests/functional/inuse/inuse_004_pos.ksh

index 0c61ba075b5f588b37607a761ff0d99f7232ee6d..95d505f35bf88cfbffb47e2ef28b317a3db7bfd4 100755 (executable)
@@ -73,7 +73,7 @@ function mini_format
                parted $disk -s -- mklabel gpt
                typeset -i retval=$?
        else
-               typeset format_file=/var/tmp/format_in.$$.1
+               typeset format_file=$TEST_BASE_DIR/format_in.$$.1
                echo "partition" > $format_file
                echo "modify" >> $format_file