mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +01:00
auto-t: Disable MAC rand. for tests with hidden networks
This commit is contained in:
parent
b41729d608
commit
f8fedb0ec8
@ -2,6 +2,7 @@
|
||||
num_radios=6
|
||||
start_iwd=0
|
||||
max_test_exec_interval_sec=160
|
||||
tmpfs_extra_stuff=main.conf
|
||||
|
||||
[HOSTAPD]
|
||||
rad0=ssidHiddenOpen.conf
|
||||
|
6
autotests/testHiddenNetworks/main.conf
Normal file
6
autotests/testHiddenNetworks/main.conf
Normal file
@ -0,0 +1,6 @@
|
||||
[Scan]
|
||||
#
|
||||
# Discovery of the hidden networks with randomization flag set works with real
|
||||
# hardware, but fails when used in simulated environment with mac80211_hwsim.
|
||||
# Disable MAC randomization for the tests with hidden networks.
|
||||
disable_mac_address_randomization=true
|
@ -71,7 +71,7 @@ class TestConnectAutoconnect(unittest.TestCase):
|
||||
|
||||
def validate(self, ssid, autoconnect, throws = None, use_agent = False,
|
||||
wait_periodic_scan = False):
|
||||
wd = IWD(True)
|
||||
wd = IWD(True, '/tmp')
|
||||
|
||||
try:
|
||||
self.validate_connection(wd, ssid, autoconnect, throws, use_agent,
|
||||
|
@ -2,7 +2,7 @@
|
||||
num_radios=5
|
||||
start_iwd=0
|
||||
max_test_exec_interval_sec=60
|
||||
tmpfs_extra_stuff=../misc/certs:../misc/secrets
|
||||
tmpfs_extra_stuff=../misc/certs:../misc/secrets:main.conf
|
||||
|
||||
[HOSTAPD]
|
||||
rad0=ssid_hidden.conf
|
||||
|
6
autotests/testScan/main.conf
Normal file
6
autotests/testScan/main.conf
Normal file
@ -0,0 +1,6 @@
|
||||
[Scan]
|
||||
#
|
||||
# Discovery of the hidden networks with randomization flag set works with real
|
||||
# hardware, but fails when used in simulated environment with mac80211_hwsim.
|
||||
# Disable MAC randomization for the tests with hidden networks.
|
||||
disable_mac_address_randomization=true
|
@ -52,7 +52,7 @@ class Test(unittest.TestCase):
|
||||
self.set_network(network.name)
|
||||
|
||||
def test_scan(self):
|
||||
wd = IWD(True)
|
||||
wd = IWD(True, '/tmp')
|
||||
|
||||
try:
|
||||
self.validate_scan(wd)
|
||||
|
@ -53,7 +53,7 @@ class Test(unittest.TestCase):
|
||||
self.set_network(network.name)
|
||||
|
||||
def test_scan(self):
|
||||
wd = IWD(True)
|
||||
wd = IWD(True, '/tmp')
|
||||
|
||||
try:
|
||||
self.validate_scan(wd)
|
||||
|
Loading…
Reference in New Issue
Block a user