3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00
iwd/autotests
James Prestwood 5519faecba auto-t: iwd.py: make scan_if_needed True by default
There is a common block of code in nearly every test which is incorrect,
most likely a copy-paste from long ago. It goes something like:

wd.wait_for_object_condition(device, 'not obj.scanning')
device.scan()
wd.wait_for_object_condition(device, 'not obj.scanning')

network = device.get_ordered_network("ssid")

The problem here is that sometimes the scanning property does not get
updated fast enough before device.scan() returns, meaning get_ordered_network
comes up with nothing. Some tests pass scan_if_needed=True which 'fixes'
this but ends up re-scanning after the original scan finishes.

To put this to rest scan_if_needed is now defaulted to True, and no
explicit scan should be needed.
2021-08-12 16:58:39 -05:00
..
misc autotests: Test loading binary key formats in testEAP-TLS 2021-01-25 14:01:58 -06:00
shell auto-t: add shell test 2019-08-07 16:37:51 -05:00
testAddressRandomization auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testAdHoc auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testAgent auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testAP autotests: Update APRanges usage in testAP 2021-06-01 10:20:36 -05:00
testAP-no-support auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testAPRoam auto-t: use connect_bssid in APRoam 2021-08-12 15:14:07 -05:00
testBSSBlacklist auto-t: update deprecated option 2021-07-30 15:45:57 -05:00
testClientNonInteractive auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testConnectAutoconnect auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testDisconnectByAP auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testDisconnectOnConnect auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAD auto-t: testEAD: stop ead when test finishes 2021-02-26 10:07:07 -06:00
testEAP-AKA-ofono auto-t: add more cleanup to ofono based tests (again) 2021-04-22 13:25:23 -05:00
testEAP-AKA-prime-ofono auto-t: add more cleanup to ofono based tests (again) 2021-04-22 13:25:23 -05:00
testEAP-MSCHAPV2 auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-PEAP auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-PEAP-GTC auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-PEAP-MSCHAPv2 auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-PEAP-SIM auto-t: add more cleanup to ofono based tests (again) 2021-04-22 13:25:23 -05:00
testEAP-PEAPv0-CryptoBinding auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-PWD auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-SIM-ofono auto-t: add more cleanup to ofono based tests (again) 2021-04-22 13:25:23 -05:00
testEAP-TLS auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TLS-embedded-pems auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TLS-Frag auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TLSwithMFPC auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TLSwithMFPR auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TTLS auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TTLS-CHAP auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TTLS-EAP-MSCHAPV2 auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TTLS-Frag auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TTLS-MSCHAP auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TTLS-MSCHAPv2 auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-TTLS-PAP auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testEAP-WPS auto-t: release radio/hostapd instances from cls 2021-02-26 10:08:10 -06:00
testEAP-WPS-Frag auto-t: release radio/hostapd instances from cls 2021-02-26 10:08:10 -06:00
testFILS auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testFT-8021x-roam auto-t: update testFT-8021x-roam to use roam() API 2021-08-12 15:14:07 -05:00
testFT-FILS auto-t: rename testFT-FILS-SHA256 to testFT-FILS 2021-08-12 15:14:07 -05:00
testHiddenNetworks auto-t: use hwsim_medium=no (testSAE/HiddenNetworks) 2020-11-17 13:30:29 -06:00
testHotspot auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testHT-VHT auto-t: Drop RSSI even lower 2021-06-04 15:33:55 -05:00
testKnownNetworks auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testMFP-Options auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testNetconfig auto-t: include ssidTKIP.psk in Netconfig test 2021-04-21 10:44:12 -05:00
testOpen auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testOWE auto-t: add reassociation test for OWE 2021-08-12 15:14:07 -05:00
testP2P autotest: Improve cleanup in testP2P 2021-06-14 09:02:34 -05:00
testPreauth-roam auto-t: update testPreauth-roam to use connect_bssid/roam() 2021-08-12 15:14:07 -05:00
testPSK-roam auto-t: remove FT-over-DS test, and rename testFT-PSK-roam 2021-08-12 15:14:07 -05:00
testRoamRetry auto-t: update roaming tests with wait_for_object_change 2021-02-05 14:44:00 -06:00
testRRM auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testRSSIAgent auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testSAE auto-t: SAE: Rework SAE tests 2021-07-14 19:02:06 -05:00
testSAE-AntiClogging auto-t: SAE: Rework SAE tests 2021-07-14 19:02:06 -05:00
testSAE-roam auto-t: rename testFT-SAE-roam to testSAE-roam 2021-08-12 15:14:07 -05:00
testSAQuery auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testSAQuery-spoofing auto-t: fix SAQuery-spoofing test 2021-02-05 14:43:17 -06:00
testScan auto-t: remove unneeded hidden networks 2021-07-29 17:51:25 -05:00
testScanKnownFreqs auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testWPA auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testWPA2 auto-t: fix testWPA2 to wait for device object 2020-09-10 17:59:49 -05:00
testWPA2-no-CCMP auto-t: add test for CCMP with no support 2019-05-13 16:38:23 -05:00
testWPA2-SHA256 auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testWPA2withMFP auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
util auto-t: iwd.py: make scan_if_needed True by default 2021-08-12 16:58:39 -05:00