Skip to content

Commit

Permalink
ZTS: Set $tmpdir before use in redacted_panic test
Browse files Browse the repository at this point in the history
The redacted_send tests make use of a $tmpdir variable, except in
redacted_send/redacted_panic the variable is never defined.

Set it as is done by the other redacted_panic tests.

Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
  • Loading branch information
Ryan Moeller authored and Ryan Moeller committed Aug 5, 2021
1 parent 4357552 commit 9049bd1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ typeset ds_name="panic"
typeset sendfs="$POOL/$ds_name"
typeset recvfs="$POOL2/$ds_name"
typeset clone="$POOL/${ds_name}_clone"
typeset stream=$(mktemp $tmpdir/stream.XXXX)
typeset stream=$(mktemp $TEST_BASE_DIR/stream.XXXX)

log_onexit redacted_cleanup $sendfs $recvfs

Expand Down

0 comments on commit 9049bd1

Please sign in to comment.