3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-23 06:02:37 +01:00
iwd/autotests
James Prestwood b0e970ae38 test-runner: fix logging, verbose, and process output
There were some major problems related to logging and process
output. Tests which required output from start_process would
break if used with '--log/--verbose'. This is because we relied
on 'communicate' to retrieve the process output, but Popen does
not store process output when stdout/stderr are anything other
than PIPE.

Intead, in the case of logging or outfiles, we can simply read
from the file we just wrote to.

For an explicit --verbose application we must handle things
slightly different. A keyword argument was added to Process,
'need_out' which will ensure the process output is kept
regardless of --log or --verbose.

Now a user should be able to use --log/--verbose without any
tests failing.
2021-01-26 13:41:23 -06: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 more /var/lib/iwd references 2020-11-04 13:35:04 -06:00
testAdHoc auto-t: update AdHoc tests to use AdHocDevice 2020-09-14 16:45:12 -05:00
testAgent auto-t: update testAgent to use TestContext 2020-09-10 17:59:49 -05:00
testAP auto-t: add namespaces to testAP 2020-11-18 11:01:11 -06:00
testAP-no-support auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testAPRoam auto-t: fix testAPRoam 2020-09-10 17:59:49 -05:00
testBSSBlacklist auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testClientNonInteractive auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testConnectAutoconnect auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testDisconnectByAP auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testDisconnectOnConnect auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAD auto-t: remove requirement for /var/lib/{ead,iwd} 2020-10-14 13:03:17 -05:00
testEAP-AKA-ofono auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-AKA-prime-ofono auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-MSCHAPV2 auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-PEAP auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-PEAP-GTC auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-PEAP-MSCHAPv2 auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-PEAP-SIM auto-t: update EAP-PEAP-SIM test to use ofono 2020-09-16 14:31:43 -05:00
testEAP-PEAPv0-CryptoBinding auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-PWD auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-SIM-ofono auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-TLS autotests: Test loading binary key formats in testEAP-TLS 2021-01-25 14:01:58 -06:00
testEAP-TLS-embedded-pems auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-TLS-Frag auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-TLSwithMFPC auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-TLSwithMFPR auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-TTLS auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-TTLS-CHAP auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-TTLS-EAP-MSCHAPV2 auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-TTLS-Frag auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-TTLS-MSCHAP auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-TTLS-MSCHAPv2 auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-TTLS-PAP auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testEAP-WPS auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testEAP-WPS-Frag auto-t: prepare autotests for test-runner re-write 2020-09-10 17:59:49 -05:00
testFILS auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testFT-8021x-roam auto-t: remove beacon loss tests 2020-11-04 13:41:01 -06:00
testFT-FILS-SHA256 auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testFT-FILS-SHA384 auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testFT-PSK-over-DS auto-t: fix FT over DS test to wait for connected 2020-11-24 11:42:00 -06:00
testFT-PSK-roam auto-t: remove beacon loss tests 2020-11-04 13:41:01 -06:00
testFT-SAE-roam auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testHiddenNetworks auto-t: use hwsim_medium=no (testSAE/HiddenNetworks) 2020-11-17 13:30:29 -06:00
testHotspot auto-t: fix hotspot autoconnect test 2020-10-30 13:16:57 -05:00
testHT-VHT auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testKnownNetworks auto-t: remove /var/lib/iwd references in testKnownNetworks 2020-11-03 13:58:23 -06:00
testMFP-Options auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testNetconfig auto-t: add static netconfig test 2020-12-08 16:29:09 -06:00
testOpen auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testOWE auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testP2P autotests: Add testP2P 2020-10-19 17:20:21 -05:00
testPreauth-roam auto-t: fix testPreauth-roam 2020-09-10 17:59:49 -05:00
testRRM auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testRSSIAgent auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testSAE auto-t: use hwsim_medium=no (testSAE/HiddenNetworks) 2020-11-17 13:30:29 -06:00
testSAQuery auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testSAQuery-spoofing auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05:00
testScan auto-t: Increase all test timeouts 2020-09-10 17:59:49 -05:00
testScanKnownFreqs auto-t: updated testScanKnownFreqs 2019-09-12 11:36:00 -05:00
testWPA auto-t: replace waiting for network with device 2020-09-14 16:03:04 -05: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 test-runner: fix logging, verbose, and process output 2021-01-26 13:41:23 -06:00