From 9e7308be4004d46df59c929b36a4dfbaff011153 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 9 Mar 2013 16:32:09 +0200 Subject: [PATCH] tests: Reset device state at the end of full test run Signed-hostap: Jouni Malinen --- tests/hwsim/run-p2p-tests.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/hwsim/run-p2p-tests.py b/tests/hwsim/run-p2p-tests.py index 4c252454e..4f97b69ec 100755 --- a/tests/hwsim/run-p2p-tests.py +++ b/tests/hwsim/run-p2p-tests.py @@ -70,6 +70,10 @@ def main(): for d in dev: d.request("NOTE TEST-STOP " + t.__name__) + if not test_filter: + for d in dev: + d.reset() + print "passed tests: " + str(passed) print "failed tests: " + str(failed) if len(failed):