[PATCH 1/2] test: be consistent about spelling `nonexistent'
authorDavid Bremner <david@tethera.net>
Wed, 8 Apr 2015 14:45:36 +0000 (23:45 +0900)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:48:47 +0000 (14:48 -0700)
a4/3e2af83d9d032695ce35724107c5142ad423d9 [new file with mode: 0644]

diff --git a/a4/3e2af83d9d032695ce35724107c5142ad423d9 b/a4/3e2af83d9d032695ce35724107c5142ad423d9
new file mode 100644 (file)
index 0000000..c132323
--- /dev/null
@@ -0,0 +1,97 @@
+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 arlo.cworth.org (Postfix) with ESMTP id 065ED6DE1997\r
+ for <notmuch@notmuchmail.org>; Wed,  8 Apr 2015 07:47:15 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.404\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.404 tagged_above=-999 required=5 tests=[AWL=0.394, \r
+ T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id l6-rg8sj9l2t for <notmuch@notmuchmail.org>;\r
+ Wed,  8 Apr 2015 07:47:13 -0700 (PDT)\r
+Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net\r
+ [87.98.215.224])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 3AD2A6DE025E\r
+ for <notmuch@notmuchmail.org>; Wed,  8 Apr 2015 07:47:13 -0700 (PDT)\r
+Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim\r
+ 4.80) (envelope-from <bremner@tesseract.cs.unb.ca>)\r
+ id 1YfrEv-0005Fx-T8; Wed, 08 Apr 2015 14:46:01 +0000\r
+Received: (nullmailer pid 18404 invoked by uid 1000); Wed, 08 Apr 2015\r
+ 14:45:44 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, David Bremner <david@tethera.net>,\r
+ notmuch@notmuchmail.org\r
+Subject: [PATCH 1/2] test: be consistent about spelling `nonexistent'\r
+Date: Wed,  8 Apr 2015 23:45:36 +0900\r
+Message-Id: <1428504337-18362-1-git-send-email-david@tethera.net>\r
+X-Mailer: git-send-email 2.1.4\r
+In-Reply-To: <m2h9sst92b.fsf@guru.guru-group.fi>\r
+References: <m2h9sst92b.fsf@guru.guru-group.fi>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\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: Wed, 08 Apr 2015 14:47:15 -0000\r
+\r
+Apparently most of the misspellings are my fault.\r
+---\r
+ test/T360-symbol-hiding.sh | 2 +-\r
+ test/T560-lib-error.sh     | 2 +-\r
+ test/symbol-test.cc        | 2 +-\r
+ 3 files changed, 3 insertions(+), 3 deletions(-)\r
+\r
+diff --git a/test/T360-symbol-hiding.sh b/test/T360-symbol-hiding.sh\r
+index 8fc4bdf..d2b5d1f 100755\r
+--- a/test/T360-symbol-hiding.sh\r
++++ b/test/T360-symbol-hiding.sh\r
+@@ -16,7 +16,7 @@ run_test(){\r
+ }\r
\r
+ output="A Xapian exception occurred opening database: Couldn't stat 'fakedb/.notmuch/xapian'\r
+-caught No chert database found at path \`./nonexistant'"\r
++caught No chert database found at path \`./nonexistent'"\r
\r
+ mkdir -p fakedb/.notmuch\r
\r
+diff --git a/test/T560-lib-error.sh b/test/T560-lib-error.sh\r
+index 828a44b..6947aa8 100755\r
+--- a/test/T560-lib-error.sh\r
++++ b/test/T560-lib-error.sh\r
+@@ -202,7 +202,7 @@ test_begin_subtest "Xapian exception finding message"\r
+ cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR}\r
+    {\r
+        notmuch_message_t *message = NULL;\r
+-       stat = notmuch_database_find_message (db, "id:nonexistant", &message);\r
++       stat = notmuch_database_find_message (db, "id:nonexistent", &message);\r
+    }\r
+ EOF\r
+ sed 's/^\(A Xapian exception [^:]*\):.*$/\1/' < OUTPUT > OUTPUT.clean\r
+diff --git a/test/symbol-test.cc b/test/symbol-test.cc\r
+index d979f83..f17ddc8 100644\r
+--- a/test/symbol-test.cc\r
++++ b/test/symbol-test.cc\r
+@@ -15,7 +15,7 @@ int main() {\r
+       }\r
\r
+   try {\r
+-    (void) new Xapian::WritableDatabase("./nonexistant", Xapian::DB_OPEN);\r
++    (void) new Xapian::WritableDatabase("./nonexistent", Xapian::DB_OPEN);\r
+   } catch (const Xapian::Error &error) {\r
+     printf("caught %s\n", error.get_msg().c_str());\r
+     return 0;\r
+-- \r
+2.1.4\r
+\r