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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
---
 tests/block/002 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.41.0




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux