[PATCH v2 2/2] tests: Add mesh path test

Masashi Honma masashi.honma at gmail.com
Sun Feb 26 17:37:16 PST 2017


On 2017/02/25 17:15, Jouni Malinen wrote:
> On Wed, Feb 22, 2017 at 12:04:06PM +0900, Masashi Honma wrote:
>> diff --git a/tests/hwsim/test_wmediumd.py b/tests/hwsim/test_wmediumd.py
>
>> +def test_wmediumd_path(dev, apdev, params):
>> +    """test a mesh path"""
>
>> +            p = subprocess.Popen(['wmediumd', '-l', '6', '-c', fn],
>> +                                 stdout=open(os.path.abspath(os.path.join(params['logdir'], 'wmediumd.log')), 'a'),
>> +                                 stderr=subprocess.STDOUT)
>
> This has the same issue as the previous test case, i.e., it does not
> work with older wmediumd versions and claims PASS even when wmediumd
> could not actually be started.

I see. I will fix both.

Masashi Honma.



More information about the Hostap mailing list