3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00
iwd/autotests
James Prestwood 1ecadc3952 test-runner: fix UML blocking on wait_for_socket/service
In UML if any process dies while test-runner is waiting for the DBus
service or some socket to be available it will block forever. This
is due to the way the non_block_wait works.

Its not optimal but it essentially polls over some input function
until the conditions are met. And, depending on the input function,
this can cause UML to hang since it never has a chance to go idle
and advance the time clock.

This can be fixed, at least for services/sockets, by sleeping in
the input function allowing time to pass. This will then allow
test-runner to bail out with an exception.

This patch adds a new wait_for_service function which handles this
automatically, and wait_for_socket was refactored to behave
similarly.
2022-06-24 18:11:10 -05:00
..
misc auto-t: allow wildcard phase1 for EAP tests 2022-06-01 11:02:01 -05:00
shell auto-t: add shell test 2019-08-07 16:37:51 -05:00
testAddressRandomization auto-t: use copy_to_storage in address randomization test 2022-05-25 15:00:06 -05:00
testAdHoc auto-t: remove stale hw.conf options 2021-01-27 13:42:58 -06:00
testAgent auto-t: fix testAgent use of Process 2021-08-13 15:18:40 -05:00
testAP auto-t: remove direct scan() call when possible 2022-03-30 15:25:55 -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: test-wide replacement of assertTrue(list_sta()) 2022-03-30 15:26:44 -05:00
testBSSBlacklist auto-t: fix testBSSBlacklist typo 2022-03-31 18:12:49 -05:00
testChannelSwitch auto-t: add missing ocv option and wait to testChannelSwitch 2021-10-19 15:29:26 -05:00
testClientNonInteractive auto-t: remove direct scan() call when possible 2022-03-30 15:25:55 -05:00
testConnectAutoconnect auto-t: fix testConnectAutoconnect 2021-10-20 16:51:58 -05:00
testDisconnectByAP auto-t: remove direct scan() call when possible 2022-03-30 15:25:55 -05:00
testDisconnectOnConnect auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testDPP auto-t: allow skipping tests is wpa_supplicant is not found 2022-06-02 16:47:02 -05:00
testEAD auto-t: remove duplicate EAP tests 2021-08-17 11:44:36 -05:00
testEAP auto-t: add EAP reauth to testEAP 2022-05-26 11:24:56 -05:00
testEAP-PEAPv0-CryptoBinding auto-t: fix eapol_reauth utility 2022-05-26 11:24:52 -05:00
testEAP-TLS-Frag auto-t: remove duplicate EAP tests 2021-08-17 11:44:36 -05:00
testEAP-TLSwithMFPC auto-t: remove duplicate EAP tests 2021-08-17 11:44:36 -05:00
testEAP-TLSwithMFPR auto-t: remove duplicate EAP tests 2021-08-17 11:44:36 -05:00
testEAP-TTLS-Frag auto-t: remove duplicate EAP tests 2021-08-17 11:44:36 -05: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
testEAPoL-spoofing auto-t: Add EAPoL spoofing test 2022-05-11 17:23:54 -05:00
testEncryptedProfiles auto-t: fix timing issue in testEncryptedProfiles 2022-06-22 18:42:40 -05:00
testFILS auto-t: replace ifconfig with ip commands 2021-11-11 14:29:54 -06:00
testFT-8021x-roam auto-t: test-wide replacement of assertTrue(list_sta()) 2022-03-30 15:26:44 -05:00
testFT-FILS auto-t: test-wide replacement of assertTrue(list_sta()) 2022-03-30 15:26:44 -05:00
testHiddenNetworks auto-t: rename testHiddenNetwork's test class 2022-06-22 18:37:15 -05:00
testHotspot auto-t: Drop !used hostapd instances in testHotspot 2021-12-24 14:28:55 -06:00
testHT-VHT auto-t: remove direct scan() call when possible 2022-03-30 15:25:55 -05:00
testKnownNetworks auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testMFP-Options auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testNetconfig auto-t: fix hardcoded 'wlan1' in testNetconfig 2022-06-22 18:37:15 -05:00
testOpen auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testOWE auto-t: test-wide replacement of assertTrue(list_sta()) 2022-03-30 15:26:44 -05:00
testOWE-transition auto-t: remove direct scan() call when possible 2022-03-30 15:25:55 -05:00
testP2P auto-t: Work around wpa_s config issue in testP2P 2022-06-06 10:39:00 -05:00
testPreauth-roam auto-t: test-wide replacement of assertTrue(list_sta()) 2022-03-30 15:26:44 -05:00
testPSK-roam auto-t: wait for roam events in proper order 2022-03-31 18:12:53 -05:00
testRoamRetry auto-t: fixup testRoamRetry for better timing reliability 2022-03-28 12:38:15 -05:00
testRRM auto-t: cleanup testRRM 2022-03-31 18:12:56 -05:00
testRSSIAgent auto-t: fix testRSSIAgent after signal agent changes 2022-05-25 15:00:06 -05:00
testSAE auto-t: do full scan for testSAE 2022-03-28 12:38:15 -05:00
testSAE-AntiClogging auto-t: remove direct scan() call when possible 2022-03-30 15:25:55 -05:00
testSAE-roam auto-t: testSAE-roam: wait for ip link down 2022-03-30 15:26:39 -05:00
testSAQuery auto-t: testSAQuery remove ungraceful restart 2021-08-25 08:51:45 -05:00
testSAQuery-spoofing auto-t: add OCV to testSAQuery-spoofing 2021-10-19 13:28:03 -05:00
testScan auto-t: remove ifconfig call from testScan 2022-06-03 11:59:07 -05:00
testScanKnownFreqs auto-t: set autoconnect=True for tests that need it 2021-08-12 16:59:05 -05:00
testWPA auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testWPA2 auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testWPA2-ext-key-id auto-t: delay rekeys in extended key ID test 2022-04-04 11:14:26 -05:00
testWPA2-no-CCMP auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testWPA2-SHA256 auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
testWPA2withMFP auto-t: update all tests to remove bad scanning logic 2021-08-12 16:59:03 -05:00
util test-runner: fix UML blocking on wait_for_socket/service 2022-06-24 18:11:10 -05:00