[PATCH blktests v1 0/3] add blkdev type environment variable
Daniel Wagner
dwagner at suse.de
Tue Apr 2 03:03:19 PDT 2024
During the last batch of refactoring I noticed that we could reduce the number
of tests a bit. There are tests which are almost identically except how the
target is configured, file vs block device backend.
By introducing a configure knob, we can drop the duplicates and even make some
of the tests a bit more versatile. Not all tests exists in file and block device
backend version. Thus we increase the test coverage with this series. And not
really surprising, there is a fallout. The nvme/028 test with file backend is
failing in my setup but I was not able to figure out where things go wrong yet.
I'll provide some logs later.
Daniel Wagner (3):
nvme/rc: add blkdev type environment variable
nvme/{007,009,011,013,015,020,024}: drop duplicate nvmet blkdev type
tests
nvme/{021,022,025,026,027,028}: do not hard code target blkdev type
Documentation/running-tests.md | 2 ++
tests/nvme/006 | 5 ++--
tests/nvme/007 | 28 --------------------
tests/nvme/007.out | 2 --
tests/nvme/008 | 4 +--
tests/nvme/009 | 36 -------------------------
tests/nvme/009.out | 3 ---
tests/nvme/010 | 4 +--
tests/nvme/011 | 39 ---------------------------
tests/nvme/011.out | 3 ---
tests/nvme/012 | 4 +--
tests/nvme/013 | 43 ------------------------------
tests/nvme/013.out | 3 ---
tests/nvme/014 | 4 +--
tests/nvme/015 | 48 ----------------------------------
tests/nvme/015.out | 4 ---
tests/nvme/019 | 4 +--
tests/nvme/020 | 40 ----------------------------
tests/nvme/020.out | 4 ---
tests/nvme/021 | 6 ++---
tests/nvme/022 | 6 ++---
tests/nvme/023 | 4 +--
tests/nvme/024 | 40 ----------------------------
tests/nvme/024.out | 2 --
tests/nvme/025 | 6 ++---
tests/nvme/026 | 6 ++---
tests/nvme/027 | 6 ++---
tests/nvme/028 | 6 ++---
tests/nvme/rc | 3 ++-
29 files changed, 36 insertions(+), 329 deletions(-)
delete mode 100755 tests/nvme/007
delete mode 100644 tests/nvme/007.out
delete mode 100755 tests/nvme/009
delete mode 100644 tests/nvme/009.out
delete mode 100755 tests/nvme/011
delete mode 100644 tests/nvme/011.out
delete mode 100755 tests/nvme/013
delete mode 100644 tests/nvme/013.out
delete mode 100755 tests/nvme/015
delete mode 100644 tests/nvme/015.out
delete mode 100755 tests/nvme/020
delete mode 100644 tests/nvme/020.out
delete mode 100755 tests/nvme/024
delete mode 100644 tests/nvme/024.out
--
2.44.0
More information about the Linux-nvme
mailing list