]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Reset device state at the end of full test run
authorJouni Malinen <j@w1.fi>
Sat, 9 Mar 2013 14:32:09 +0000 (16:32 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 9 Mar 2013 14:34:20 +0000 (16:34 +0200)
Signed-hostap: Jouni Malinen <j@w1.fi>

tests/hwsim/run-p2p-tests.py

index 4c252454e61a6481c13561da48f8db655f20114f..4f97b69ecca63a181949b050df9ce3bbb6147950 100755 (executable)
@@ -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):