From: Jani Nikula Date: Tue, 4 Dec 2012 21:26:33 +0000 (+0200) Subject: test: use perl instead of sed -r for portability X-Git-Tag: 0.15_rc1~120 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=540a34d096035ebf0c79990f030210b3fb65fa4f test: use perl instead of sed -r for portability Our OS X users report -r is not a supported option for sed. Use perl instead. --- diff --git a/test/test-lib.sh b/test/test-lib.sh index 94875261..fd64736b 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -581,7 +581,7 @@ NOTMUCH_NEW () notmuch_search_sanitize () { - sed -r -e 's/("?thread"?: ?)("?)................("?)/\1\2XXX\3/' + perl -pe 's/("?thread"?: ?)("?)................("?)/\1\2XXX\3/' } NOTMUCH_SHOW_FILENAME_SQUELCH='s,filename:.*/mail,filename:/XXX/mail,'