Thread (3 messages) 3 messages, 3 authors, 2021-06-01

[PATCH blktests] tests/nvme/031: add the missing steps for loop_dev clean up

STALE1949d

From: Yi Zhang <hidden>
Date: 2021-05-31 04:46:40
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Yi Zhang <redacted>
---
 tests/nvme/031 | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/tests/nvme/031 b/tests/nvme/031
index 36263ca..7c18a64 100755
--- a/tests/nvme/031
+++ b/tests/nvme/031
@@ -49,6 +49,8 @@ test() {
 	done
 
 	_remove_nvmet_port "${port}"
+	losetup -d "$loop_dev"
+	rm "$TMPDIR/img"
 
 	echo "Test complete"
 }
-- 
2.21.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help