]> www.infradead.org Git - users/hch/blktests.git/commit
nvme: consolidate nvme requirements based on transport type
authorSagi Grimberg <sagi@grimberg.me>
Thu, 3 Sep 2020 23:53:31 +0000 (16:53 -0700)
committerOmar Sandoval <osandov@fb.com>
Fri, 25 Sep 2020 17:19:55 +0000 (10:19 -0700)
commit0cc6cf57628cccd0141723fb14283cdc3f3f4549
tree7bcdaf6ad1bf8a685c7ec1d2f5f4e3794bae9830
parent33af9b551217e2350b81bb01388dcfb197fbcf52
nvme: consolidate nvme requirements based on transport type

Right now, only pci and loop have tests, hence these are
the only ones that are allowed. The user can pass an env
variable nvme_trtype and check for the necessary modules.

This allows prepares us to support other transport types.

Note that test 031 is designed to run only with nvme, hence
it overrides the environment variable to nvme_trtype=pci.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
32 files changed:
tests/nvme/002
tests/nvme/003
tests/nvme/004
tests/nvme/005
tests/nvme/006
tests/nvme/007
tests/nvme/008
tests/nvme/009
tests/nvme/010
tests/nvme/011
tests/nvme/012
tests/nvme/013
tests/nvme/014
tests/nvme/015
tests/nvme/016
tests/nvme/017
tests/nvme/018
tests/nvme/019
tests/nvme/020
tests/nvme/021
tests/nvme/022
tests/nvme/023
tests/nvme/024
tests/nvme/025
tests/nvme/026
tests/nvme/027
tests/nvme/028
tests/nvme/029
tests/nvme/030
tests/nvme/031
tests/nvme/032
tests/nvme/rc