From: David Bremner Date: Fri, 21 Oct 2011 00:14:30 +0000 (-0300) Subject: test/dump-restore: Fix quoting on grep X-Git-Tag: 0.10_rc1~72 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=8a65353b4f38a062ef225623f49ffd585e693f4c;p=notmuch test/dump-restore: Fix quoting on grep Thanks to Thomas Schwinge for noticing yet another place where quoting matters. Since the shell translates \. to ., the regex passed to grep is too generous without the quotes. The use of [.] is the suggestion of Tomi Ollila. --- diff --git a/test/dump-restore b/test/dump-restore index 502fb821..b66db997 100755 --- a/test/dump-restore +++ b/test/dump-restore @@ -45,7 +45,7 @@ test_expect_equal_file dump.expected dump-1-arg-dash.actual # Note, we assume all messages from cworth have a message-id # containing cworth.org -grep cworth\.org dump.expected > dump-cworth.expected +grep 'cworth[.]org' dump.expected > dump-cworth.expected test_begin_subtest "dump -- from:cworth" notmuch dump -- from:cworth > dump-dash-cworth.actual