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
Commite5bc916d
Parents351719f4
Changed files
tests/run.sh+1−1■■
1 file+1−1
Diff
tests/run.sh+1−1■■
index b277372..87a134e 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -672,7 +672,7 @@ if git rev-parse --git-dir >/dev/null 2>&1; then
672672 audit "fleet default pass" 'xbo''xone'
673673 audit "fleet default pass in messages" 'xbo''xone' "$MSGS"
674674 audit "nas password" 'Xbo''xone0909'
675- audit "internal hostname" 'intel-ultra2|macmini|lazarus'
675+ audit "internal hostname" 'intel-ultra''2|mac''mini|laza''rus'
676676 audit "azure devops PAT" 'CAsH4l2cGeOmcxbnVaAqggJYibBCFREpGBcERAhkBEM4'
677677
678678 # self-tests for the two exclusions above: an IP detector that has been
679679
tests/run.sh+1−1■■
index b277372..87a134e 100755index b277372..87a134e 100755
--- a/tests/run.sh--- a/tests/run.sh
+++ b/tests/run.sh+++ b/tests/run.sh
@@ -672,7 +672,7 @@ if git rev-parse --git-dir >/dev/null 2>&1; then@@ -672,7 +672,7 @@ if git rev-parse --git-dir >/dev/null 2>&1; then
672 audit "fleet default pass" 'xbo''xone'672 audit "fleet default pass" 'xbo''xone'
673 audit "fleet default pass in messages" 'xbo''xone' "$MSGS"673 audit "fleet default pass in messages" 'xbo''xone' "$MSGS"
674 audit "nas password" 'Xbo''xone0909'674 audit "nas password" 'Xbo''xone0909'
675- audit "internal hostname" 'intel-ultra2|macmini|lazarus'675+ audit "internal hostname" 'intel-ultra''2|mac''mini|laza''rus'
676 audit "azure devops PAT" 'CAsH4l2cGeOmcxbnVaAqggJYibBCFREpGBcERAhkBEM4'676 audit "azure devops PAT" 'CAsH4l2cGeOmcxbnVaAqggJYibBCFREpGBcERAhkBEM4'
677 677
678 # self-tests for the two exclusions above: an IP detector that has been678 # self-tests for the two exclusions above: an IP detector that has been
679679