]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Try to work around bogus errors in wpas_ctrl_country
authorJouni Malinen <j@w1.fi>
Sun, 13 Apr 2014 21:45:25 +0000 (00:45 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 13 Apr 2014 21:45:25 +0000 (00:45 +0300)
commit2b46e698116443b2962fa0654cc3420bcbc6c3a0
treebeebf4cbc467c3685ad01bf657a75ad2b216b0ac
parentce5d69ac416a143e08a974413e7c0b749c5030b2
tests: Try to work around bogus errors in wpas_ctrl_country

It seems like it is possible for a CTRL-EVENT-REGDOM-CHANGE event from a
previous test case to "leak" through to the execution of this test case.
That can result in the validation steps here failing, so wait a bit and clear the pending events before starting the test.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_wpas_ctrl.py