diff options
| -rw-r--r-- | scripts/testing/lib/validation.sh | 6 |
1 files changed, 4 insertions, 2 deletions
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" |
