aboutsummaryrefslogtreecommitdiffstats
path: root/tests/zfs-tests
diff options
context:
space:
mode:
authorbunder2015 <[email protected]>2018-05-09 00:42:58 -0400
committerBrian Behlendorf <[email protected]>2018-05-08 21:42:58 -0700
commit670d74b9cee4dd185a620510bffd4797a2e1066a (patch)
tree2bfe74c8863b3baba87f9bb00047f77d4591aba9 /tests/zfs-tests
parentf3d28f0a59825a88840d84927b05af0cf9e8447a (diff)
ZTS: enospc_002 path cleanup
Removing hard-coded path used in enospc_002 Reviewed-by: Giuseppe Di Natale <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Melikov <[email protected]> Signed-off-by: bunder2015 <[email protected]> Closes #7515
Diffstat (limited to 'tests/zfs-tests')
-rwxr-xr-xtests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh b/tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh
index 472d80ee0..ab7473458 100755
--- a/tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh
+++ b/tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh
@@ -47,9 +47,9 @@ log_mustnot_expect space zfs snapshot $TESTPOOL/$TESTFS@snap2
log_mustnot_expect space zfs bookmark \
$TESTPOOL/$TESTFS@snap $TESTPOOL/$TESTFS#bookmark
-log_must zfs send $TESTPOOL/$TESTFS@snap >/tmp/stream.$$
-log_mustnot_expect space zfs receive $TESTPOOL/$TESTFS/recvd </tmp/stream.$$
-log_must rm /tmp/stream.$$
+log_must zfs send $TESTPOOL/$TESTFS@snap > $TEST_BASE_DIR/stream.$$
+log_mustnot_expect space zfs receive $TESTPOOL/$TESTFS/recvd < $TEST_BASE_DIR/stream.$$
+log_must rm $TEST_BASE_DIR/stream.$$
log_must zfs rename $TESTPOOL/$TESTFS@snap $TESTPOOL/$TESTFS@snap_newname
log_must zfs rename $TESTPOOL/$TESTFS@snap_newname $TESTPOOL/$TESTFS@snap