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