diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-20 00:04:25 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-20 00:04:25 -0600 |
| commit | 5f690e158438bdb99607d4cc10e9b983251b0fe9 (patch) | |
| tree | 84467d2ac9b12f4adb0f59259846e008d75b0f2d /scripts/test-install.sh | |
| parent | 18bfa996bde05868f4ede183bea7c423758a81b1 (diff) | |
| download | archangel-5f690e158438bdb99607d4cc10e9b983251b0fe9.tar.gz archangel-5f690e158438bdb99607d4cc10e9b983251b0fe9.zip | |
Add Avahi mDNS validation to test scripts
sanity-test.sh (live ISO):
- Check avahi-daemon is enabled
- Check avahi-daemon is running
test-install.sh (installed system):
- Check avahi and nss-mdns packages installed
- Check avahi-daemon service enabled
Diffstat (limited to 'scripts/test-install.sh')
| -rwxr-xr-x | scripts/test-install.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/test-install.sh b/scripts/test-install.sh index f9b574e..de308f2 100755 --- a/scripts/test-install.sh +++ b/scripts/test-install.sh @@ -268,6 +268,20 @@ verify_install() { else warn "Genesis snapshot not found (may not have completed)" fi + + # Check Avahi mDNS packages installed on target system + if ssh_cmd "arch-chroot /mnt pacman -Q avahi nss-mdns >/dev/null 2>&1"; then + info "Avahi packages installed" + else + warn "Avahi packages not found on installed system" + fi + + # Check avahi-daemon enabled on target system + if ssh_cmd "arch-chroot /mnt systemctl is-enabled avahi-daemon >/dev/null 2>&1"; then + info "Avahi daemon enabled" + else + warn "Avahi daemon not enabled on installed system" + fi else # For no-SSH tests, check serial console output if grep -q "Installation complete" "$SERIAL_LOG" 2>/dev/null; then |
