Hi!
On 07/02/2015 04:28 PM, Cyril Hrubis wrote:
> Hi!
>> diff --git a/testcases/network/stress/ssh/ssh-stress 
>> b/testcases/network/stress/ssh/ssh-stress
>> index 7960627..3ff2367 100644
>> --- a/testcases/network/stress/ssh/ssh-stress
>> +++ b/testcases/network/stress/ssh/ssh-stress
>> @@ -126,6 +126,9 @@ test02()
>>   
>>   test03()
>>   {
>> +    tst_kvercmp 3 7 0 && \
>> +            tst_brkm TCONF "Test must be run with kernel 3.7 or newer"
> Hmm, do we need to exit whole test if test03() cannot be executed?
>
> Shouldn't this rather be tst_resm TCONF followed with return?
>
> Alexej, can you look at this please?

tcp_fastopen can run on older kernels as well, it is using here to make 
TCP traffic with request-response-close sequence. I would add the 
following flags if kernel < 3.7:

  -o      Use old TCP API, default is new TCP API
  -O      TFO support is off, default is on

May be we could default tcp_fastopen to the old API automatically if 
kernel < 3.7. There is also '-f' flag to force it run.

Thanks,
Alexey


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to