[PATCH v2] tests: add a simple wmediumd test
j at w1.fi
Fri Nov 27 13:26:51 PST 2015
On Fri, Nov 27, 2015 at 03:41:37PM +0100, Johannes Berg wrote:
> If wmediumd is available on the path, test that it can forward
> packets between two virtual nodes and that stopping it makes
> the regular in-kernel datapath do the needed work again.
Thanks, applied with a small fix:
> diff --git a/tests/hwsim/test_wmediumd.py b/tests/hwsim/test_wmediumd.py
> @@ -0,0 +1,44 @@
> +from test_ap_open import test_ap_open
This is problematic due to the way the list of test cases is generated.
'ap_open' ends up in that list twice with this and that test case ends
up getting executed twice. I replaced this with a helper function that
does not start with the magic 'test_' prefix.
Jouni Malinen PGP id EFC895FA
More information about the Hostap