From 13c300f6fa8e52c498bf9843f6b8b6f61cab935b Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Fri, 22 May 2026 20:34:03 -0500 Subject: fix(testing): expect ~/.dotfiles symlink target in dotfiles validation --- scripts/testing/lib/validation.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts/testing') diff --git a/scripts/testing/lib/validation.sh b/scripts/testing/lib/validation.sh index 5d9587d..d81332b 100644 --- a/scripts/testing/lib/validation.sh +++ b/scripts/testing/lib/validation.sh @@ -368,9 +368,11 @@ validate_dotfiles() { return 1 fi - # 2. Check symlink points to correct location + # 2. Check symlink points to correct location. archsetup now clones the + # dotfiles repo to ~/.dotfiles and stows from there (DOTFILES_DIR default), + # so the link resolves to .dotfiles/common/.zshrc, not the old in-repo path. local target=$(ssh_cmd "readlink /home/cjennings/.zshrc") - local expected_pattern="code/archsetup/dotfiles/common/.zshrc" + local expected_pattern=".dotfiles/common/.zshrc" if ! echo "$target" | grep -q "$expected_pattern"; then validation_fail "Dotfiles symlink points to wrong location: $target" -- cgit v1.2.3