]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Explicitly close hostapd global control socket on RELOG
authorJouni Malinen <j@w1.fi>
Sun, 26 Jul 2015 10:34:54 +0000 (13:34 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 26 Jul 2015 15:12:09 +0000 (18:12 +0300)
commit1f9427c9cd2d7d9b2c8f392d99a54c3db4750a98
tree7404255721a4f33db1b5d694dfd02060bffcfccb
parent55cd405a44f69335e424ee248d1c4ac107b4ca74
tests: Explicitly close hostapd global control socket on RELOG

Without this, the run-tests.py socket could have been left in attached
to receive all hostapd global events during a test case. This could hit
the limit of pending messages on the socket since there is nothing
clearing this socket during the execution of a test case. Fix this by
explicitly closing the socket after having completed the RELOG command.

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