--- /dev/null
+Return-Path: <bremner@tesseract.cs.unb.ca>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id E37D9431FC9\r
+ for <notmuch@notmuchmail.org>; Tue, 14 Aug 2012 02:02:39 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+ autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 0nL9ypz9drQ4 for <notmuch@notmuchmail.org>;\r
+ Tue, 14 Aug 2012 02:02:39 -0700 (PDT)\r
+Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238])\r
+ (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 3C2D9431FB6\r
+ for <notmuch@notmuchmail.org>; Tue, 14 Aug 2012 02:02:39 -0700 (PDT)\r
+Received: from remotemail by tesseract.cs.unb.ca with local (Exim 4.72)\r
+ (envelope-from <bremner@tesseract.cs.unb.ca>) id 1T1D1K-00061d-NK\r
+ for notmuch@notmuchmail.org; Tue, 14 Aug 2012 06:02:38 -0300\r
+Received: (nullmailer pid 5238 invoked by uid 1000);\r
+ Mon, 13 Aug 2012 20:14:00 -0000\r
+From: David Bremner <bremner@debian.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: Random message corpus, v2\r
+Date: Mon, 13 Aug 2012 22:13:45 +0200\r
+Message-Id: <1344888831-4301-1-git-send-email-bremner@debian.org>\r
+X-Mailer: git-send-email 1.7.10.4\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 14 Aug 2012 09:02:40 -0000\r
+\r
+This obsoletes the series\r
+\r
+ id:"1344190393-22497-1-git-send-email-david@tethera.net"\r
+\r
+[Patch v2 1/6] hex-escape: (en|de)code strings to/from restricted\r
+[Patch v2 2/6] test/hex-xcode: new test binary\r
+[Patch v2 3/6] test/hex-escaping: new test for hex escaping routines\r
+\r
+In order to avoid the problem of trashing people's terminals, the new\r
+version hex escapes the files being compared. This brings in another\r
+three patches from the previous dump-restore series, but we need them\r
+anyway for the eventual new dump-restore format.\r
+\r
+[Patch v2 4/6] test: add database routines for testing.\r
+\r
+No changes since v1.\r
+\r
+[Patch v2 5/6] test: add generator for random "stub" messages\r
+\r
+- Simplified to have only two character classes.\r
+- Fix bug with "stop - start" as opposed to "start - stop"\r
+\r
+See id:"87393x3jz1.fsf@qmul.ac.uk"\r
+\r
+[Patch v2 6/6] test: add broken roundtrip test\r
+\r
+- use hexdump to encode non-ascii octets.\r
+\r
+ See id:"87zk6524f0.fsf@qmul.ac.uk"\r
+\r
+- Both Mark and Jamie remarked on the use of 'test_expect_success'\r
+ Basically there are two styles of running tests, "git style" as\r
+ written here, or "notmuch style" using "test_begin_subtest". The\r
+ git style seems to be more robust against failure of intermediate\r
+ commands: for example, if the hex-xcode binary is missing, the\r
+ corresponding notmuch style test shows (wrongly) as fixed (see\r
+ also id:"1317317811-29540-1-git-send-email-thomas@schwinge.name" for\r
+ Thomas converting some notmuch style tests to git style).\r
+\r
+ Obviously the notmuch style is more pleasant to edit. Maybe there\r
+ is a way to make them more robust; something like "set -e".\r
+\r
+ Note that some failures still do not abort the test, because of a\r
+ missing "set -o pipefile". Setting this locally in a test seems\r
+ definitely wrong, but maybe it should be set globally in test-lib.sh\r