tests: split host/password literals the history scanner would otherwise be exempted for
Same class as the disks/docker/nvtop/sysmon/ntfy credential fix: a scanner table names what it hunts, and writing the real string there publishes it. Split-literal spelling keeps the assembled regex byte-identical while the file stops containing the string.
AuthorPico <picobot@scorpioplayer.com>
Date2026-11-14 13:27:20
Commit340791d4
Parents06e8ea17
Changed files
tests/run.sh+1−1■■
1 file+1−1
Diff
tests/run.sh+1−1■■
index 92d0cc8..7a086f5 100644
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -525,7 +525,7 @@ if git rev-parse --git-dir >/dev/null 2>&1; then
525525 audit "run token assignment" 'RUNNER_'"PASS="
526526 audit "fleet default pass" 'xbo''xone'
527527 audit "nas password" 'Xbo''xone0909'
528- audit "internal hostname" 'intel-ultra2|macmini|lazarus'
528+ audit "internal hostname" 'intel-ultra''2|mac''mini|laza''rus'
529529 else
530530 echo " skip history audit (not a git checkout)"
531531 fi
532532
tests/run.sh+1−1■■
index 92d0cc8..7a086f5 100644index 92d0cc8..7a086f5 100644
--- a/tests/run.sh--- a/tests/run.sh
+++ b/tests/run.sh+++ b/tests/run.sh
@@ -525,7 +525,7 @@ if git rev-parse --git-dir >/dev/null 2>&1; then@@ -525,7 +525,7 @@ if git rev-parse --git-dir >/dev/null 2>&1; then
525 audit "run token assignment" 'RUNNER_'"PASS="525 audit "run token assignment" 'RUNNER_'"PASS="
526 audit "fleet default pass" 'xbo''xone'526 audit "fleet default pass" 'xbo''xone'
527 audit "nas password" 'Xbo''xone0909'527 audit "nas password" 'Xbo''xone0909'
528- audit "internal hostname" 'intel-ultra2|macmini|lazarus'528+ audit "internal hostname" 'intel-ultra''2|mac''mini|laza''rus'
529 else529 else
530 echo " skip history audit (not a git checkout)"530 echo " skip history audit (not a git checkout)"
531 fi531 fi
532532