[PATCH 1/3] tests: remotehost: remove wait_execute_complete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Today we have thread_wait()

Fixes: 11b3af3da tests: remotehost: Use correct name

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@xxxxxxxxx>
---
 tests/hwsim/remotehost.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/hwsim/remotehost.py b/tests/hwsim/remotehost.py
index a5b85ac7d..60ad9792f 100644
--- a/tests/hwsim/remotehost.py
+++ b/tests/hwsim/remotehost.py
@@ -130,18 +130,18 @@ class Host():
             self.execute(cmd)
 
         # try again
-        self.wait_execute_complete(t, 5)
+        self.thread_wait(t, 5)
         if t.isAlive():
             cmd = ["kill `cat " + pid_file + "`"]
             self.execute(cmd)
 
         # try with -9
-        self.wait_execute_complete(t, 5)
+        self.thread_wait(t, 5)
         if t.isAlive():
             cmd = ["kill -9 `cat " + pid_file + "`"]
             self.execute(cmd)
 
-        self.wait_execute_complete(t, 5)
+        self.thread_wait(t, 5)
         if t.isAlive():
             raise Exception("thread still alive")
 
-- 
2.25.1


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux