tests: Handle hostapd dying more gracefully
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 5 Nov 2013 11:21:58 +0000 (13:21 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 5 Nov 2013 11:21:58 +0000 (13:21 +0200)
commit66f0bdb4659eac7341a98433efa4c03c62b65a56
tree46ad6d4e85fbe09ae5f697ba212b10e81b48074d
parent217cf4991d8c434aa2f6881c3837979a2ed13893
tests: Handle hostapd dying more gracefully

Catch exceptions from operations that try to remove hostapd interface
and rename the log file. If these operations fail due to socket
connection issues, hostapd has likely died or gotten stuck somewhere.
Report the test case as a failure and stop test run cleanly.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/run-tests.py