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
Commit8b201894
Parentsaea8d44b
Changed files
tests/run.sh+1−1■■
1 file+1−1
Diff
tests/run.sh+1−1■■
index 2fd1edf..6b2c4be 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -424,7 +424,7 @@ if git rev-parse --git-dir >/dev/null 2>&1; then
424424 audit "embedded git creds" 'scorpioxinc:[A-Za-z0-9]{20,}'
425425 PK2="pico""bot"; WT=".work""trees"
426426 audit "fleet path" "/codebases/${PK2}|${WT}/"
427- audit "internal hostname" 'intel-ultra2|macmini2018i5|lazarus'
427+ audit "internal hostname" 'intel-ultra''2|macmini''2018i5|laza''rus'
428428 else
429429 echo " skip history audit (not a git checkout)"
430430 fi
431431
tests/run.sh+1−1■■
index 2fd1edf..6b2c4be 100755index 2fd1edf..6b2c4be 100755
--- a/tests/run.sh--- a/tests/run.sh
+++ b/tests/run.sh+++ b/tests/run.sh
@@ -424,7 +424,7 @@ if git rev-parse --git-dir >/dev/null 2>&1; then@@ -424,7 +424,7 @@ if git rev-parse --git-dir >/dev/null 2>&1; then
424 audit "embedded git creds" 'scorpioxinc:[A-Za-z0-9]{20,}'424 audit "embedded git creds" 'scorpioxinc:[A-Za-z0-9]{20,}'
425 PK2="pico""bot"; WT=".work""trees"425 PK2="pico""bot"; WT=".work""trees"
426 audit "fleet path" "/codebases/${PK2}|${WT}/"426 audit "fleet path" "/codebases/${PK2}|${WT}/"
427- audit "internal hostname" 'intel-ultra2|macmini2018i5|lazarus'427+ audit "internal hostname" 'intel-ultra''2|macmini''2018i5|laza''rus'
428 else428 else
429 echo " skip history audit (not a git checkout)"429 echo " skip history audit (not a git checkout)"
430 fi430 fi
431431