mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
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.
This commit is contained in:
parent
c457951344
commit
8a65353b4f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue