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.
This commit is contained in:
Jani Nikula 2012-12-04 23:26:33 +02:00 committed by David Bremner
parent 60e79e3a9f
commit 540a34d096

View file

@ -581,7 +581,7 @@ NOTMUCH_NEW ()
notmuch_search_sanitize () 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,' NOTMUCH_SHOW_FILENAME_SQUELCH='s,filename:.*/mail,filename:/XXX/mail,'