Fix two issues preventing installer tests from passing: 1. Arch Linux: Sync package database before installing packages - Fresh Arch containers have no package database (core, extra) - Added pacman -Sy before pacman -S in both basic prereqs and system deps - Error was: "warning: database file for 'core' does not exist" - Applied to both root and non-root installation paths 2. Debian/Ubuntu: Fix package check pattern for architecture suffixes - dpkg shows packages as "python3-cairo:amd64" not "python3-cairo " - Changed grep pattern from "^ii $pkg " to "^ii $pkg" - Now matches packages with or without :amd64/:arm64 suffixes - Error was: "FAIL: python3-cairo not installed" (even though it was) Changes: - install.sh lines 132-134, 233-234: Add pacman -Sy sync before install - tests/test_installer.sh line 41: Fix dpkg grep pattern This allows all 5 OS versions to pass: - Debian 12 (Bookworm) - Debian Trixie (testing) - Ubuntu 22.04 LTS - Ubuntu 24.04 LTS - Arch Linux (rolling) [NEW] 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| test_ble_peer_interface.py | ||
| test_bleak_threading_hang.py | ||
| test_bleak_with_exec_loading.py | ||
| test_config_directory.py | ||
| test_error_recovery.py | ||
| test_fragmentation.py | ||
| test_gatt_server.py | ||
| test_installer.sh | ||
| test_integration.py | ||
| test_multi_device_simulation.py | ||
| test_prioritization.py | ||