Skip to content

Commit

Permalink
ZTS: enospc_002 path cleanup
Browse files Browse the repository at this point in the history
Removing hard-coded path used in enospc_002

Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: bunder2015 <omfgbunder@gmail.com>
Closes #7515
  • Loading branch information
bunder2015 authored and behlendorf committed May 9, 2018
1 parent f3d28f0 commit 670d74b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 670d74b

Please sign in to comment.