test: skip TEST-84-STORAGETM if running with bugged libnvme
authorLuca Boccassi <luca.boccassi@gmail.com>
Thu, 14 Nov 2024 16:19:25 +0000 (16:19 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 14 Nov 2024 18:00:35 +0000 (18:00 +0000)
commit893aa45886ef84b1827445dc438e410ad89fbbbf
tree702106f597809fc5b76ab238f2fe526707b4b4d7
parent32a14422ece7f720736b03604a2890a61ab2868a
test: skip TEST-84-STORAGETM if running with bugged libnvme

libnvme 1.11 appears to require a kernel built with NVME TLS
kconfigs, and fails hard if it is not, as the expected
privileged keyring '.nvme' is not present. We cannot just
create it from userspace, as privileged keyrings can only
be created by the kernel itself (those starting with '.').

Skip the test if the library exactly matches this version.

https://github.com/linux-nvme/nvme-cli/issues/2573

Fixes https://github.com/systemd/systemd/issues/35130
test/units/TEST-84-STORAGETM.sh