aboutsummaryrefslogtreecommitdiff
path: root/lib/thread.cc
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2021-05-22 16:39:57 +0300
committerDavid Bremner <david@tethera.net>2021-05-22 11:51:29 -0300
commit8675be1d307bc2df882107744641f6a7858e65ad (patch)
treed7838780517218f73c4a9a6e831316e2d1077195 /lib/thread.cc
parent3baa61e0e58402bc50c5df529fcf669bf4b2facb (diff)
test: replace notmuch_passwd_sanitize() with _libconfig_sanitize()
notmuch_passwd_sanitize() in test-lib.sh is too generic, it cannot work in many cases... The more specific version _libconfig_sanitize() replaces it in T590-libconfig.sh and the code that uses it is modified to output the keys (ascending numbers printed in hex) so the sanitizer knows what to sanitize in which lines... "@" + fqdn -> "@FQDN" replacement is used as fqdn could -- in theory -- be substring of 'USERNAME'. 'user -> 'USER_FULL_NAME replacement to work in cases where user is empty -- as only first ' is replaced that works as expected. In addition to ".(none)" now also ".localdomain" is filtered from USERNAME@FQDN. /dev/fd/{n} is not defined in posix, but it is portable enough (if it weren't it is easy to fix -- now code looks clearer).
Diffstat (limited to 'lib/thread.cc')
0 files changed, 0 insertions, 0 deletions