From: David Bremner Date: Wed, 12 Jan 2022 17:25:29 +0000 (-0400) Subject: Merge remote-tracking branch 'origin/release' X-Git-Tag: 0.35_rc0~50 X-Git-Url: https://git.cworth.org/git?p=notmuch;a=commitdiff_plain;h=f9d8f9c6bae1a9ea60b41755008b71381464e208;hp=-c Merge remote-tracking branch 'origin/release' --- f9d8f9c6bae1a9ea60b41755008b71381464e208 diff --combined test/test-lib.sh index 6bc0b723,2ba224c3..f1275b85 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@@ -145,7 -145,7 +145,7 @@@ add_gpgsm_home () mkdir -p -m 0700 "$GNUPGHOME" gpgsm --batch --no-tty --no-common-certs-import --pinentry-mode=loopback --passphrase-fd 3 \ --disable-dirmngr --import >"$GNUPGHOME"/import.log 2>&1 3<<<'' <$NOTMUCH_SRCDIR/test/smime/0xE0972A47.p12 - fpr=$(gpgsm --batch --list-key test_suite@notmuchmail.org | sed -n 's/.*fingerprint: //p') + fpr=$(gpgsm --batch --with-colons --list-key test_suite@notmuchmail.org | awk -F: '/^fpr/ {print $10}') echo "$fpr S relax" >> "$GNUPGHOME/trustlist.txt" gpgsm --quiet --batch --no-tty --no-common-certs-import --disable-dirmngr --import < $NOTMUCH_SRCDIR/test/smime/ca.crt echo "4D:E0:FF:63:C0:E9:EC:01:29:11:C8:7A:EE:DA:3A:9A:7F:6E:C1:0D S" >> "$GNUPGHOME/trustlist.txt" @@@ -529,7 -529,7 +529,7 @@@ notmuch_debug_sanitize () } notmuch_exception_sanitize () { - perl -pe 's/(A Xapian exception occurred at .*[.]cc?):([0-9]*)/\1:XXX/' + perl -pe 's,(A Xapian exception occurred at) .*?([^/]*[.]cc?):([0-9]*),\1 \2:XXX,' } notmuch_search_sanitize () {