diff options
Diffstat (limited to 'scripts/testing/lib/validation.sh')
| -rw-r--r-- | scripts/testing/lib/validation.sh | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/scripts/testing/lib/validation.sh b/scripts/testing/lib/validation.sh index c0a5d43..3191c64 100644 --- a/scripts/testing/lib/validation.sh +++ b/scripts/testing/lib/validation.sh @@ -20,7 +20,7 @@ declare -a UNKNOWN_ISSUES # SSH helper (uses globals: VM_IP, ROOT_PASSWORD) ssh_cmd() { sshpass -p "$ROOT_PASSWORD" ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \ - -o ConnectTimeout=10 "root@$VM_IP" "$@" 2>/dev/null + -o ConnectTimeout=10 -p "${SSH_PORT:-22}" "root@$VM_IP" "$@" 2>/dev/null } # Validation result helpers @@ -370,7 +370,7 @@ validate_dotfiles() { # 2. Check symlink points to correct location local target=$(ssh_cmd "readlink /home/cjennings/.zshrc") - local expected_pattern="code/archsetup/dotfiles/system/.zshrc" + local expected_pattern="code/archsetup/dotfiles/common/.zshrc" if ! echo "$target" | grep -q "$expected_pattern"; then validation_fail "Dotfiles symlink points to wrong location: $target" @@ -458,17 +458,12 @@ validate_hyprland_tools() { local missing="" # Check core Hyprland packages - for pkg in hyprland hypridle hyprlock waybar wofi swww grim slurp gammastep; do + for pkg in hyprland hypridle hyprlock waybar fuzzel swww grim slurp gammastep foot; do if ! ssh_cmd "pacman -Q $pkg &>/dev/null"; then missing="$missing $pkg" fi done - # st should still be installed (via XWayland) - if ! ssh_cmd "test -f /usr/local/bin/st"; then - missing="$missing st" - fi - if [ -z "$missing" ]; then validation_pass "All Hyprland tools installed" else @@ -483,7 +478,7 @@ validate_hyprland_config() { for config in ".config/hypr/hyprland.conf" ".config/hypr/hypridle.conf" \ ".config/hypr/hyprlock.conf" ".config/waybar/config" \ - ".config/wofi/config" ".config/gammastep/config.ini"; do + ".config/fuzzel/fuzzel.ini" ".config/gammastep/config.ini"; do if ! ssh_cmd "test -f /home/cjennings/$config"; then missing="$missing $config" fi |
