]> git.notmuchmail.org Git - notmuch/commit
test: add broken roundtrip test
authorDavid Bremner <bremner@debian.org>
Sun, 5 Aug 2012 18:13:13 +0000 (15:13 -0300)
committerDavid Bremner <bremner@debian.org>
Sun, 2 Dec 2012 23:09:01 +0000 (19:09 -0400)
commit953c3fa853749bd647611c1258b282fb09fb1fdf
treecbba237b4a77d6d144843820b576bf7a781ef606
parent76fa93e2a2002940335c941e76e94d69abd71fe9
test: add broken roundtrip test

We demonstrate the current notmuch restore parser being confused by
message-id's and tags containing non alpha numeric characters
(particularly space and parentheses are problematic because they are
not escaped by notmuch dump).

We save the files as hex escaped on disk so that terminal emulators
will not get confused if the test fails (as we mostly expect it to do).
test/dump-restore