]> www.infradead.org Git - users/hch/blktests.git/commitdiff
add checking nvmet module in nvme 002,003,004,015,018 test
authorXiao Liang <xiliang@redhat.com>
Wed, 13 Mar 2019 07:13:17 +0000 (15:13 +0800)
committerOmar Sandoval <osandov@fb.com>
Thu, 21 Mar 2019 22:03:23 +0000 (15:03 -0700)
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Xiao Liang <xiliang@redhat.com>
tests/nvme/002
tests/nvme/003
tests/nvme/004
tests/nvme/015
tests/nvme/018

index 0132ac02b22126233be33c83a48550be5fd5ea6f..106a5a8395f2fc7dad258d2244d4837dc6db0ccf 100755 (executable)
@@ -10,7 +10,7 @@
 DESCRIPTION="create many subsystems and test discovery"
 
 requires() {
-       _have_program nvme && _have_modules loop nvme-loop && _have_configfs
+       _have_program nvme && _have_modules loop nvme-loop nvmet && _have_configfs
 }
 
 test() {
index f304071445196b5927155522215abc44d3c848a1..c6b3d4037aa6c054d1d2696f6a6046accfd0d1d4 100755 (executable)
@@ -11,7 +11,7 @@ DESCRIPTION="test if we're sending keep-alives to a discovery controller"
 QUICK=1
 
 requires() {
-       _have_program nvme && _have_modules loop nvme-loop && _have_configfs
+       _have_program nvme && _have_modules loop nvme-loop nvmet && _have_configfs
 }
 
 test() {
index 346f309a392852725154a12d57ceddcd67d49d09..0506fa220de311b967b74fcdf3225c950f3da2b5 100755 (executable)
@@ -12,7 +12,7 @@ DESCRIPTION="test nvme and nvmet UUID NS descriptors"
 QUICK=1
 
 requires() {
-       _have_program nvme && _have_modules loop nvme-loop && _have_configfs
+       _have_program nvme && _have_modules loop nvme-loop nvmet && _have_configfs
 }
 
 test() {
index 29cf9544bcbe30a13f3eaf3b9793ae527cf8ae14..47e1b048e16d5d4662754c327789f07d0c0944d2 100755 (executable)
@@ -10,7 +10,7 @@ DESCRIPTION="unit test for NVMe flush for file backed ns"
 QUICK=1
 
 requires() {
-       _have_program nvme && _have_modules loop nvme-loop && _have_configfs
+       _have_program nvme && _have_modules loop nvme-loop nvmet && _have_configfs
 }
 
 test() {
index b09c29cb651b476fb3583755c698e484627db945..e29fa92e8153ad49fc600a77b19bdeec059eb85c 100755 (executable)
@@ -11,7 +11,7 @@ DESCRIPTION="unit test NVMe-oF out of range access on a file backend"
 QUICK=1
 
 requires() {
-       _have_program nvme && _have_modules nvme-loop && _have_modules loop && \
+       _have_program nvme && _have_modules loop nvme-loop nvmet && \
                _have_configfs
 }