From 8a65353b4f38a062ef225623f49ffd585e693f4c Mon Sep 17 00:00:00 2001 From: David Bremner Date: Thu, 20 Oct 2011 21:14:30 -0300 Subject: [PATCH] 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. --- test/dump-restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0