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

Jouni Malinen j at w1.fi
Sat Feb 25 00:15:16 PST 2017


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.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list