]> www.infradead.org Git - users/hch/blktests.git/commit
tests/nvme: restrict tests to specific transports
authorSagi Grimberg <sagi@grimberg.me>
Thu, 3 Sep 2020 23:53:34 +0000 (16:53 -0700)
committerOmar Sandoval <osandov@fb.com>
Fri, 25 Sep 2020 17:19:55 +0000 (10:19 -0700)
commit54c5a0657a1b83dee655858ccb84c28177770afb
tree673b07a61efa069b4544bdb1f8a777c5a31ebb21
parentaf730428955e6616529a4730762e0024180433a9
tests/nvme: restrict tests to specific transports

Protect against running tests with the wrong transport type. Most tests
cannot have nvme_trtype=nvme and discovery tests expect the $trtype to
be written and verified in the .out file. Adding a couple of helpers
to restrict the transport types in tests.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
31 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/rc