From 648801730f889bbd0c628150c6000e738210e7cd Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 11 Jul 2024 20:02:27 +0200 Subject: [PATCH] add Wi-Fi iwctl to testsuite --- CHANGELOG | 1 + usr/bin/archboot-testsuite.sh | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index b23618426..08b174451 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,6 +7,7 @@ On the road to 2024.07: - launch bandwhich on VC5 nad bottom on VC6 - updated MOTD - restart iwd on ESSID rescan +- added filesystems and Wi-Fi to testsuite setup: - abort on pacman package installation error --- diff --git a/usr/bin/archboot-testsuite.sh b/usr/bin/archboot-testsuite.sh index bcf3d6cae..0121305cc 100755 --- a/usr/bin/archboot-testsuite.sh +++ b/usr/bin/archboot-testsuite.sh @@ -102,6 +102,14 @@ for i in bcachefs btrfs ext4 swap vfat xfs; do fi done _result filesytems-error.log +_run_test "Wi-Fi iwctl..." +archboot-hwsim.sh test +iwctl station wlan1 scan +sleep 5 +iwctl station wlan1 get-networks | rg -q test || echo "Wi-Fi iwctl get-networks error" >> iwd-error.log +iwctl --passphrase=12345678 station wlan1 connect test || echo "Wi-Fi iwctl connect error" >> iwd-error.log +iwctl station wlan1 disconnect || echo "Wi-Fi iwctl disconnect error" >> iwd-error.log +_result iwd-error.log echo -e "Starting none tracked files in \e[1m10\e[m seconds... \e[1;92mCTRL-C\e[m to stop now." sleep 10 _run_test "none tracked files in /usr/lib... this takes a while"