[PATCH 09/10] nvme/042: test bi-directional authentication
Sagi Grimberg
sagi at grimberg.me
Sun Dec 12 01:53:46 PST 2021
>>>> This test case has a weird behavior. Why isn't _nvme_connect_subsys
>>>> failing?
>>>
>>> Oh, but it is.
>>> The line 'nvme controller found' is not part of the .out file, hence
>>> the test will fail.
>>>
>>> Call it an obscure feature of blktests :-)
>>>
>>> But yeah, I can make it more obvious that this is the failure case.
>>
>> Hannes, my question is why isn't nvme connect not failing (i.e.
>> returning a non-zero status code)?
>>
> I guess it does, but we're never actually checking the return value.
> Let me check.
I tested it manually, and the connect does not fail, but rather succeeds
and the controller is removed - which is strange.
More information about the Linux-nvme
mailing list