[PATCH 0/6] tests: hostapd.py prepare for remote hosts

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

 



Hello,

This is preparetion for using remote hosts with current hwsim
test cases. Mainly this patches are for hostapd.

Main idea is to pass apdev dictionary instead of ifname, while
in apdev we already have apdev['ifname'] and could easy add
apdev['hostname'] and apdev['port'] and next handle this
correctly in HostapdGlobal(), Hostapd().

I wasn't sure about fst tests - not sure yet if/how they will
work with remote hosts. But anyway works correctly with hwsim.

Still don't know how to handle hardcoded
wpas = WpaSupplicant(global_iface='/tmp/wpas-wlan5')
for remote hosts cases ... - anyway will think more about it.

This patchest didn't introduce new issues for hwsim test cases.

Please review.

Janusz Dziedzic (6):
  tests: pass apdev to add_ap() function
  tests: pass apdev to add_bss() remove_bss()
  tests: pass apdev to add_iface()
  tests: pass apdev to HostapdGlobal()
  tests: pass apdev param to Hostapd()
  tests: Cleanup usage of HostapdGlobal()/add_bss/add_iface

 tests/hwsim/fst_module_aux.py         |   6 +-
 tests/hwsim/fst_test_common.py        |   3 +-
 tests/hwsim/hostapd.py                |  87 +++++--
 tests/hwsim/test_ap_acs.py            |  29 ++-
 tests/hwsim/test_ap_ciphers.py        |  10 +-
 tests/hwsim/test_ap_config.py         |  34 ++-
 tests/hwsim/test_ap_csa.py            |   2 +-
 tests/hwsim/test_ap_dynamic.py        | 318 ++++++++++++--------------
 tests/hwsim/test_ap_eap.py            | 417 +++++++++++++++++-----------------
 tests/hwsim/test_ap_ft.py             | 114 +++++-----
 tests/hwsim/test_ap_hs20.py           | 232 ++++++++++---------
 tests/hwsim/test_ap_ht.py             | 123 +++++-----
 tests/hwsim/test_ap_mixed.py          |   2 +-
 tests/hwsim/test_ap_open.py           |  50 ++--
 tests/hwsim/test_ap_params.py         |  38 ++--
 tests/hwsim/test_ap_pmf.py            |  24 +-
 tests/hwsim/test_ap_psk.py            |  87 ++++---
 tests/hwsim/test_ap_qosmap.py         |   8 +-
 tests/hwsim/test_ap_roam.py           |  18 +-
 tests/hwsim/test_ap_tdls.py           |  58 ++---
 tests/hwsim/test_ap_track.py          |  24 +-
 tests/hwsim/test_ap_vht.py            |  38 ++--
 tests/hwsim/test_ap_vlan.py           |  38 ++--
 tests/hwsim/test_ap_wps.py            | 308 +++++++++++++------------
 tests/hwsim/test_autoscan.py          |   4 +-
 tests/hwsim/test_bgscan.py            |   8 +-
 tests/hwsim/test_cfg80211.py          |   6 +-
 tests/hwsim/test_connect_cmd.py       |  20 +-
 tests/hwsim/test_dbus.py              |  30 +--
 tests/hwsim/test_dbus_old.py          |  10 +-
 tests/hwsim/test_dfs.py               |  49 ++--
 tests/hwsim/test_eap_proto.py         | 104 ++++-----
 tests/hwsim/test_erp.py               |  22 +-
 tests/hwsim/test_ext_password.py      |   8 +-
 tests/hwsim/test_fst_module.py        |  43 ++--
 tests/hwsim/test_gas.py               |  16 +-
 tests/hwsim/test_hapd_ctrl.py         |  50 ++--
 tests/hwsim/test_hostapd_oom.py       |  11 +-
 tests/hwsim/test_hs20_filter.py       |   8 +-
 tests/hwsim/test_ieee8021x.py         |  24 +-
 tests/hwsim/test_mbo.py               |  12 +-
 tests/hwsim/test_module_tests.py      |   4 +-
 tests/hwsim/test_monitor_interface.py |   6 +-
 tests/hwsim/test_nfc_wps.py           |  60 ++---
 tests/hwsim/test_p2p_channel.py       |  34 +--
 tests/hwsim/test_p2p_concurrency.py   |  24 +-
 tests/hwsim/test_p2p_device.py        |   2 +-
 tests/hwsim/test_p2p_grpform.py       |  13 +-
 tests/hwsim/test_p2p_messages.py      |   2 +-
 tests/hwsim/test_p2ps.py              |  22 +-
 tests/hwsim/test_peerkey.py           |   6 +-
 tests/hwsim/test_pmksa_cache.py       |  62 ++---
 tests/hwsim/test_radio_work.py        |   2 +-
 tests/hwsim/test_radius.py            | 105 +++++----
 tests/hwsim/test_rfkill.py            |  10 +-
 tests/hwsim/test_sae.py               |  40 ++--
 tests/hwsim/test_scan.py              |  56 ++---
 tests/hwsim/test_ssid.py              |  22 +-
 tests/hwsim/test_sta_dynamic.py       |  20 +-
 tests/hwsim/test_suite_b.py           |  20 +-
 tests/hwsim/test_tnc.py               |  12 +-
 tests/hwsim/test_wep.py               |   8 +-
 tests/hwsim/test_wext.py              |  26 +--
 tests/hwsim/test_wnm.py               |  68 +++---
 tests/hwsim/test_wpas_ctrl.py         |  30 +--
 tests/hwsim/test_wpas_wmm_ac.py       |   4 +-
 66 files changed, 1574 insertions(+), 1577 deletions(-)

-- 
1.9.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