[PATCH] tests: Fix parse process memory

陈荣 chenr.fnst at cn.fujitsu.com
Tue Jul 18 18:07:32 PDT 2017

I use "sudo ./run-tests.py sae_key_lifetime_in_memory" to test the case.

It tells me that "Skip test case: Password not found while associated".

I found that find_wpas_process() return the process which contains 
"sudo", I think it's

not the right process. so I skip "sudo" and ignore the exception(exist 
in my environment),

then I can get the password from memory.

在 2017年07月18日 18:46, Jouni Malinen 写道:
> On Tue, Jul 18, 2017 at 02:44:35PM +0800, Chen Rong wrote:
>> Ingore processes with name that contains 'sudo',
>> Don't throw the exception when read memory failed.
> Could you please provide more details on why these changes are needed?
> What kind of test environment are you using? I have not seen either of
> these changes being needed in anything I've tested with so far.

More information about the Hostap mailing list