[PATCH 4/9] nvme/039: simple test for nvmeof-tcp connection

Hannes Reinecke hare at suse.de
Mon Nov 22 01:18:22 PST 2021


On 11/22/21 9:52 AM, Sagi Grimberg wrote:
> 
> 
> On 11/22/21 9:55 AM, Hannes Reinecke wrote:
>> Signed-off-by: Hannes Reinecke <hare at suse.de>
>> ---
>>   tests/nvme/039     | 56 ++++++++++++++++++++++++++++++++++++++++++++++
>>   tests/nvme/039.out |  6 +++++
>>   2 files changed, 62 insertions(+)
>>   create mode 100644 tests/nvme/039
>>   create mode 100644 tests/nvme/039.out
>>
>> diff --git a/tests/nvme/039 b/tests/nvme/039
>> new file mode 100644
>> index 0000000..eb015be
>> --- /dev/null
>> +++ b/tests/nvme/039
>> @@ -0,0 +1,56 @@
>> +#!/bin/bash
>> +# SPDX-License-Identifier: GPL-3.0+
>> +# Copyright (C) 2021 Hannes Reinecke, SUSE Labs
>> +#
>> +# Test nvme over tcp connection
>> +
>> +. tests/nvme/rc
>> +
>> +DESCRIPTION="Create single TCP connection via localhost"
> 
> Why is this test needed?

To establish a baseline that I didn't mess up _normal_ connections when
adding the authentication stuff.
But yeah, I can fold it in with the next test.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		        Kernel Storage Architect
hare at suse.de			               +49 911 74053 688
SUSE Software Solutions Germany GmbH, 90409 Nürnberg
GF: F. Imendörffer, HRB 36809 (AG Nürnberg)



More information about the Linux-nvme mailing list