From e5774e1888c810fef2a03f80691360211be49b74 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 9 Mar 2013 19:00:57 +0200 Subject: [PATCH] tests: Reset devices based on each test Make sure the devices are in known state before starting each test case. Signed-hostap: Jouni Malinen --- tests/hwsim/run-p2p-tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/hwsim/run-p2p-tests.py b/tests/hwsim/run-p2p-tests.py index 4f97b69ec..e8060b946 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__)