From 9049bd16ca12f7d1cf886b43f02fab4af99073c7 Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Wed, 4 Aug 2021 10:36:24 -0400 Subject: [PATCH] ZTS: Set $tmpdir before use in redacted_panic test 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 --- .../zfs-tests/tests/functional/redacted_send/redacted_panic.ksh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/zfs-tests/tests/functional/redacted_send/redacted_panic.ksh b/tests/zfs-tests/tests/functional/redacted_send/redacted_panic.ksh index bf3b17f35804..04e49609e945 100755 --- a/tests/zfs-tests/tests/functional/redacted_send/redacted_panic.ksh +++ b/tests/zfs-tests/tests/functional/redacted_send/redacted_panic.ksh @@ -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