Skip to contentSkip to conversation

nvme/011: fix filename path

PATCH Applied Yi Zhang 3 participants 3 messages Apr 7, 2024 – Apr 8, 2024 Block layer

lore
Share & tools
lore

Yi Zhang

author
#0 lore raw

PATCH 1/2 nvme/011: fix filename path

Fixes e55c4e0 ("nvme: don't assume namespace id")
---
 tests/nvme/011 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/nvme/011 +1 -1
index eee044c..4810459 100755
@@ -29,7 +29,7 @@ test() {
 	ns=$(_find_nvme_ns "${def_subsys_uuid}")
 
 	_run_fio_verify_io --size="${nvme_img_size}" \
-		--filename="$/dev/{ns}"
+		--filename="/dev/${ns}"
 
 	_nvme_disconnect_subsys
 
Signature · 1 line
2.34.3
#1 lore raw
Quoted 2 lines · Yi Zhang
Fixes e55c4e0 ("nvme: don't assume namespace id")

Applied. Thank you for catching this.

I found same mistake in nvme/013 and 014 also. Fixed them as another commit.

#2 lore raw
Quoted 7 lines · Shinichiro Kawasaki
Quoted 2 lines · Yi Zhang
Fixes e55c4e0 ("nvme: don't assume namespace id")

Applied. Thank you for catching this.

I found same mistake in nvme/013 and 014 also. Fixed them as another commit.

Sorry about that. Hmm, but why did these test pass at all? I'll look into it, hopefully we can make them a bit more robust.