diff mbox series

[blktests,2/2] block/002: fix TMPDIR path

Message ID 20231012021152.832553-3-shinichiro.kawasaki@wdc.com (mailing list archive)
State New, archived
Headers show
Series TMPDIR fixes | expand

Commit Message

Shin'ichiro Kawasaki Oct. 12, 2023, 2:11 a.m. UTC
There has been a typo of TMPDIR variable. This resulted in blktrace
files created at unexpected place. Fix the typo.

Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
---
 tests/block/002 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Daniel Wagner Oct. 12, 2023, 5:58 a.m. UTC | #1
On Thu, Oct 12, 2023 at 11:11:52AM +0900, Shin'ichiro Kawasaki wrote:
> There has been a typo of TMPDIR variable. This resulted in blktrace
> files created at unexpected place. Fix the typo.
> 
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>

Reviewed-by: Daniel Wagner <dwagner@suse.de>
diff mbox series

Patch

diff --git a/tests/block/002 b/tests/block/002
index ee8b0bc..65b0fbd 100755
--- a/tests/block/002
+++ b/tests/block/002
@@ -23,7 +23,7 @@  test() {
 		return 1
 	fi
 
-	blktrace -D "$TMP_DIR" "/dev/${SCSI_DEBUG_DEVICES[0]}" >"$FULL" 2>&1 &
+	blktrace -D "$TMPDIR" "/dev/${SCSI_DEBUG_DEVICES[0]}" >"$FULL" 2>&1 &
 	sleep 0.5
 	echo 1 > "/sys/block/${SCSI_DEBUG_DEVICES[0]}/device/delete"
 	{ kill $!; wait; } >/dev/null 2>/dev/null