Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] blktests: nvme/00[2 | 3 | 4] add module cleanup
@ 2018-06-03 19:01 Chaitanya Kulkarni
  2018-06-05  0:16 ` Omar Sandoval
  0 siblings, 1 reply; 2+ messages in thread
From: Chaitanya Kulkarni @ 2018-06-03 19:01 UTC (permalink / raw)


Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
---
 tests/nvme/002 | 2 ++
 tests/nvme/003 | 2 ++
 tests/nvme/004 | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/tests/nvme/002 b/tests/nvme/002
index 45e1ab7..786505e 100755
--- a/tests/nvme/002
+++ b/tests/nvme/002
@@ -53,5 +53,7 @@ test() {
 
 	_remove_nvmet_port "${port}"
 
+	modprobe -r nvme-loop
+	modprobe -r nvmet
 	echo "Test complete"
 }
diff --git a/tests/nvme/003 b/tests/nvme/003
index 5639804..9634130 100755
--- a/tests/nvme/003
+++ b/tests/nvme/003
@@ -59,5 +59,7 @@ test() {
 	_remove_nvmet_subsystem "blktests-subsystem-1"
 	_remove_nvmet_port "${port}"
 
+	modprobe -r nvme-loop
+	modprobe -r nvmet
 	echo "Test complete"
 }
diff --git a/tests/nvme/004 b/tests/nvme/004
index 2f970b3..ad268e2 100755
--- a/tests/nvme/004
+++ b/tests/nvme/004
@@ -58,5 +58,7 @@ test() {
 	losetup -d "$loop_dev"
 	rm "$TMPDIR/img"
 
+	modprobe -r nvme-loop
+	modprobe -r nvmet
 	echo "Test complete"
 }
-- 
2.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-05  0:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-03 19:01 [PATCH] blktests: nvme/00[2 | 3 | 4] add module cleanup Chaitanya Kulkarni
2018-06-05  0:16 ` Omar Sandoval

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox