[PATCHv2 blktests 0/9] Testsuite for nvme in-band authentication

Hannes Reinecke hare at suse.de
Sun Nov 21 23:55:15 PST 2021


Hi all,

some people (Hi Sagi!) have complained that nvme in-band authentication
provide far too many configuration options to test it with some easy
commands. So here's a test suite for testing (most of) the various
configuration options and features.

As usual, comments and reviews are welcome.

Changes to v1:
  - Move tests to the 'nvme' directory
  - Check for authentication failure on invalid keys

Hannes Reinecke (9):
  nvme/rc: do not print error message when no nvme device is found
  nvme/rc: clear allowed_hosts subdirectory
  nvme/rc: add functions for in-band authentication
  nvme/039: simple test for nvmeof-tcp connection
  nvme/040: create an authenticated nvmeof-tcp connection
  nvme/041: test different key types
  nvme/042: test hash and dhgroup variations
  nvme/043: test bi-directional authentication
  nvme/044: test re-authentication

 tests/nvme/039     |  56 ++++++++++++++++++++++
 tests/nvme/039.out |   6 +++
 tests/nvme/040     |  64 +++++++++++++++++++++++++
 tests/nvme/040.out |   6 +++
 tests/nvme/041     | 102 +++++++++++++++++++++++++++++++++++++++
 tests/nvme/041.out |  36 ++++++++++++++
 tests/nvme/042     |  88 ++++++++++++++++++++++++++++++++++
 tests/nvme/042.out |  37 +++++++++++++++
 tests/nvme/043     | 104 ++++++++++++++++++++++++++++++++++++++++
 tests/nvme/043.out |  14 ++++++
 tests/nvme/044     | 116 +++++++++++++++++++++++++++++++++++++++++++++
 tests/nvme/044.out |  22 +++++++++
 tests/nvme/rc      |  56 ++++++++++++++++++++++
 13 files changed, 707 insertions(+)
 create mode 100644 tests/nvme/039
 create mode 100644 tests/nvme/039.out
 create mode 100644 tests/nvme/040
 create mode 100644 tests/nvme/040.out
 create mode 100644 tests/nvme/041
 create mode 100644 tests/nvme/041.out
 create mode 100644 tests/nvme/042
 create mode 100644 tests/nvme/042.out
 create mode 100644 tests/nvme/043
 create mode 100644 tests/nvme/043.out
 create mode 100644 tests/nvme/044
 create mode 100644 tests/nvme/044.out

-- 
2.26.2




More information about the Linux-nvme mailing list