aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jani Nikula <jani@nikula.org>2012-12-04 23:26:33 +0200
committerGravatar David Bremner <bremner@debian.org>2012-12-08 09:19:34 -0400
commit540a34d096035ebf0c79990f030210b3fb65fa4f (patch)
treed701d508d5028a3fd83261bbb4cb3eb20f724bd1
parent60e79e3a9f1c8f054bd3f064714a9e92e8fe13b8 (diff)
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.
-rw-r--r--test/test-lib.sh2
1 files changed, 1 insertions, 1 deletions
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,'