]> git.notmuchmail.org Git - notmuch/commit
test: replace notmuch_passwd_sanitize with python version
authorDavid Bremner <david@tethera.net>
Sat, 24 Apr 2021 12:28:15 +0000 (09:28 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 24 Apr 2021 15:11:22 +0000 (12:11 -0300)
commit27a2c2c80d7854f75f8910802880f9a8e6764a45
tree2e39eeba380eccdfd6325a233f4f91a1c296cb01
parentc008176ade7c95f73adaf706a82e99140cad6033
test: replace notmuch_passwd_sanitize with python version

Apparently the -f option to hostname is not portable, and in fact it
does not seem to always behave reasonably in e.g. a chroot.

Python code originally due to Tomi [1], modified by yours truly.

[1]: id:m2lf9fbkug.fsf@guru.guru-group.fi
test/test-lib.sh