mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
tests/remote: Fix style and typos
Signed-off-by: Jonathan Afek <jonathanx.afek@intel.com>
This commit is contained in:
parent
a73cdd69c7
commit
5b45f478c2
@ -48,7 +48,8 @@ def run_hwsim_test(devices, setup_params, refs, duts, monitors, hwsim_test):
|
||||
# run hostapd/wpa_supplicant
|
||||
for ref_host in ref_hosts:
|
||||
rutils.run_wpasupplicant(ref_host, setup_params)
|
||||
wpas = WpaSupplicant(hostname = ref_host.host, global_iface="udp", global_port = ref_host.port)
|
||||
wpas = WpaSupplicant(hostname=ref_host.host, global_iface="udp",
|
||||
global_port=ref_host.port)
|
||||
wpas.interface_add(ref_host.ifname)
|
||||
dev.append(wpas)
|
||||
for dut_host in dut_hosts:
|
||||
|
@ -121,11 +121,11 @@ def check_device(devices, setup_params, dev_name, monitor=False):
|
||||
|
||||
status, buf = host.execute(["which", setup_params['iperf']])
|
||||
if status != 0:
|
||||
raise Exception(dev_name + " - hostapd: " + buf)
|
||||
raise Exception(dev_name + " - iperf: " + buf)
|
||||
|
||||
status, buf = host.execute(["which", "tshark"])
|
||||
if status != 0:
|
||||
logger.debug(dev_name + " - hostapd: " + buf)
|
||||
logger.debug(dev_name + " - tshark: " + buf)
|
||||
|
||||
def check_devices(devices, setup_params, refs, duts, monitors):
|
||||
"""Check duts/refs/monitors devices"""
|
||||
|
Loading…
Reference in New Issue
Block a user