[LTP] [PATCH] commands/keyctl01: Add new regression test

Guangwen Feng fenggw-fnst@cn.fujitsu.com
Tue Mar 28 12:37:30 CEST 2017


Hi!

On 03/28/2017 04:34 PM, Cyril Hrubis wrote:
> Hi!
>> Yes, it is necessary, without the sleep, this test fails to
>> reproduce the bug on RHEL7.2GA(buggy kernel), since I found
>> that it actually takes some time to free the key.
>>
>>
>> With 100ms sleep, the whole test takes about 2s.
> 
> Two seconds is not that bad but can we make it faster? Does the test
> still reproduce the issue when we decrease the sleep a bit?
> 

Sleep 50ms still ensure the reproducible in my system,
and it takes no more than 1 second to test, but 30ms
cannot ensure the reproducible.


Best Regards,
Guangwen Feng




More information about the ltp mailing list