hwsim tests: Reset at the end of a test
authorJohannes Berg <johannes.berg@intel.com>
Wed, 30 Oct 2013 21:53:29 +0000 (22:53 +0100)
committerJouni Malinen <j@w1.fi>
Thu, 31 Oct 2013 09:08:16 +0000 (11:08 +0200)
commit8f946511c90dbca5636e709977555e5e48711605
tree394e9b9ba357e3cbd60bde6ac6fbe0f02668cd3d
parent0d5a54048beda28bd182be5e9fba72ecc480e460
hwsim tests: Reset at the end of a test

Resetting at the beginning causes the reset logging/tracing
data to leak from the previous test into the next, and the
last one being missed at all - reset at the end of each run
instead. Also reset before all tests just in case running a
test actually crashed the python script.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
tests/hwsim/run-tests.py