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

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

flat view

From: Logan Gunthorpe <logang@deltatee.com>
Date: 2021-05-31 15:46:53


On 2021-05-30 10:46 p.m., Yi Zhang wrote:
Signed-off-by: Yi Zhang <redacted>
Yup, thanks!

Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
quoted hunk ↗ jump to hunk
---
 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"
 }
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help