projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60e79e3
)
test: use perl instead of sed -r for portability
author
Jani Nikula
<jani@nikula.org>
Tue, 4 Dec 2012 21:26:33 +0000
(23:26 +0200)
committer
David Bremner
<bremner@debian.org>
Sat, 8 Dec 2012 13:19:34 +0000
(09:19 -0400)
Our OS X users report -r is not a supported option for sed. Use perl
instead.
test/test-lib.sh
patch
|
blob
|
history
diff --git
a/test/test-lib.sh
b/test/test-lib.sh
index 948752613dda3e2cf5711b0b477176651c592d60..fd64736bec562ede98be40ecda5ed3eab5e021f0 100644
(file)
--- 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 -p
e 's/("?thread"?: ?)("?)................("?)/\1\2XXX\3/'
}
NOTMUCH_SHOW_FILENAME_SQUELCH='s,filename:.*/mail,filename:/XXX/mail,'