From: Jouni Malinen Date: Sat, 9 Mar 2013 17:00:57 +0000 (+0200) Subject: tests: Reset devices based on each test X-Git-Tag: aosp-kk-from-upstream~495 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=e5774e1888c810fef2a03f80691360211be49b74;p=mech_eap.git tests: Reset devices based on each test Make sure the devices are in known state before starting each test case. Signed-hostap: Jouni Malinen --- diff --git a/tests/hwsim/run-p2p-tests.py b/tests/hwsim/run-p2p-tests.py index 4f97b69..e8060b9 100755 --- a/tests/hwsim/run-p2p-tests.py +++ b/tests/hwsim/run-p2p-tests.py @@ -56,6 +56,8 @@ def main(): if test_filter: if test_filter not in t.__name__: continue + for d in dev: + d.reset() print "START " + t.__name__ for d in dev: d.request("NOTE TEST-START " + t.__name__)