[PATCH 5/8] tests: setup the wlantest only once in check_qos_map()

Jonathan Afek jonathan at wizery.com
Wed Jul 13 10:00:21 PDT 2016


On Mon, Jun 27, 2016 at 12:46 PM, Jouni Malinen <j at w1.fi> wrote:
> Is this really the correct thing to do? Isn't that Wlantest.setup_done
> shared through all test cases?
It is not shared. The wlantest state is reset between tests.
> If this
> commit is trying to optimize test execution (the commit message should
> really provide the reason for doing this change..), that would likely
> need to be done by maintaining a local variable for the test case(s) in
> question rather than relying on Wlantest.setup_done.
Sending another version.



More information about the Hostap mailing list