aboutsummaryrefslogtreecommitdiff
path: root/automated/linux/wlan-download
AgeCommit message (Collapse)Author
2022-03-09automated: linux: mask wpa_supplicant in wlan-downloadMilosz Wasilewski
When wpa_supplicant service is stopped it gets automatically started when "ip link <wireless> up" is issued. This patch prevents wpa_supplicant from being started unintentionally as wlan-download-test starts it's own instance. When 2 instances of wpa_supplicant are running the test may fail in unpredictable way by disconnecting wlan interface from it's AP. Signed-off-by: Milosz Wasilewski <milosz.wasilewski@foundries.io>
2022-03-09automated: linux: add more checks to wlan-downloadMilosz Wasilewski
Wlan-download test will misbehave in case the requested wireless interface doesn't exist. This patch fixes the issue and prevents unexpected ETH interface down time. In addition skiplists are added to provide full list of expected tests in all circumstances Signed-off-by: Milosz Wasilewski <milosz.wasilewski@foundries.io>
2021-12-08automated: add support for udhcpc in wlan-download testMilosz Wasilewski
This patch fixes the issue with wlan-download test when it's used on busybox like environment. When dhclient is not available there is a chance it can be replaced with udhcpc. Signed-off-by: Milosz Wasilewski <milosz.wasilewski@foundries.io>
2020-10-05linux: wlan-download: Always ping google.comManivannan Sadhasivam
Currently the test case extracts hostname from FILE_URL and tries to ping it. But due to the server configuration, "testdata.validation.linaro.org" is not accepting ping requests now. So, let's use google.com statically to ping. This will rule out possible ping issues in future also. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2020-03-02fixed sanity-check warningsMilosz Wasilewski
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2018-06-19automated/linux: Add wlan download testAníbal Limón
The test will connect to the specified SSID and then make a download of file with checksum validation if FILE_URL is specified. The test uses wpa_supplicant and dhclient to get the connection, if you specify an ETHERNET_DEVICE it will down the iface previous to start the connection/download test with Wireless LAN. Change-Id: I79fd2ea6582997790a72f6d7e0ae157e6ee817d6 Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>