eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 19bb93a622b1e307c5c2306ce373f2e923093ddb
parent 07115e56a19eda646e0ee8ce443145ea3ab8bac6
Author: James Prestwood <james.prestwood@linux.intel.com>
Date:   Tue, 23 Apr 2019 11:18:26 -0700

auto-t: require "needs_hwsim" on hwsim tests

Running autotests with native hardware will not work on tests which
depend on the hwsim python API (since hwsim will not be running).
For these tests, it will now be required that they specify:

needs_hwsim=1

This allows the test to be skipped when running with native hardware
rather than the test failing with a python exception.

Diffstat:
Mautotests/testAPRoam/hw.conf | 1+
Mautotests/testFT-8021x-roam/hw.conf | 2++
Mautotests/testFT-PSK-roam/hw.conf | 1+
Mautotests/testFT-SAE-roam/hw.conf | 1+
Mautotests/testPreauth-roam/hw.conf | 1+
Mautotests/testRSSIAgent/hw.conf | 1+
Mautotests/testSAQuery-spoofing/hw.conf | 1+
7 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/autotests/testAPRoam/hw.conf b/autotests/testAPRoam/hw.conf @@ -1,5 +1,6 @@ [SETUP] num_radios=4 +needs_hwsim=1 [HOSTAPD] rad0=ssid1.conf diff --git a/autotests/testFT-8021x-roam/hw.conf b/autotests/testFT-8021x-roam/hw.conf @@ -3,6 +3,8 @@ num_radios=3 max_test_exec_interval_sec=45 tmpfs_extra_stuff=../misc/certs:main.conf iwd_config_dir=/tmp +tmpfs_extra_stuff=../misc/certs +needs_hwsim=1 [HOSTAPD] rad0=ft-eap-ccmp-1.conf diff --git a/autotests/testFT-PSK-roam/hw.conf b/autotests/testFT-PSK-roam/hw.conf @@ -3,6 +3,7 @@ num_radios=3 max_test_exec_interval_sec=45 iwd_config_dir=/tmp tmpfs_extra_stuff=main.conf +needs_hwsim=1 [HOSTAPD] rad0=ft-psk-ccmp-1.conf diff --git a/autotests/testFT-SAE-roam/hw.conf b/autotests/testFT-SAE-roam/hw.conf @@ -3,6 +3,7 @@ num_radios=4 max_test_exec_interval_sec=120 iwd_config_dir=/tmp tmpfs_extra_stuff=main.conf +needs_hwsim=1 [HOSTAPD] rad0=ft-sae-1.conf diff --git a/autotests/testPreauth-roam/hw.conf b/autotests/testPreauth-roam/hw.conf @@ -2,6 +2,7 @@ num_radios=3 max_test_exec_interval_sec=30 tmpfs_extra_stuff=../misc/certs +needs_hwsim=1 [HOSTAPD] rad0=eaptls-preauth-1.conf diff --git a/autotests/testRSSIAgent/hw.conf b/autotests/testRSSIAgent/hw.conf @@ -3,6 +3,7 @@ num_radios=2 max_test_exec_interval_sec=60 iwd_config_dir=/tmp tmpfs_extra_stuff=main.conf +needs_hwsim=1 [HOSTAPD] rad0=open.conf diff --git a/autotests/testSAQuery-spoofing/hw.conf b/autotests/testSAQuery-spoofing/hw.conf @@ -1,5 +1,6 @@ [SETUP] num_radios=2 +needs_hwsim=1 [HOSTAPD] rad0=ssidCCMP.conf