Re: [PATCH 1/2] test: be consistent about spelling `nonexistent'
authorTomi Ollila <tomi.ollila@iki.fi>
Wed, 8 Apr 2015 15:04:18 +0000 (18:04 +0300)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:48:47 +0000 (14:48 -0700)
01/29f66b3ddcef4eb1a2ad0851aedc2c92e607e3 [new file with mode: 0644]

diff --git a/01/29f66b3ddcef4eb1a2ad0851aedc2c92e607e3 b/01/29f66b3ddcef4eb1a2ad0851aedc2c92e607e3
new file mode 100644 (file)
index 0000000..219619c
--- /dev/null
@@ -0,0 +1,108 @@
+Return-Path: <tomi.ollila@iki.fi>\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 9FC826DE1767\r
+ for <notmuch@notmuchmail.org>; Wed,  8 Apr 2015 08:04:50 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.167\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.167 tagged_above=-999 required=5 tests=[AWL=0.515, \r
+ SPF_NEUTRAL=0.652] 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 k58ec8c0KcWU for <notmuch@notmuchmail.org>;\r
+ Wed,  8 Apr 2015 08:04:44 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+ by arlo.cworth.org (Postfix) with ESMTP id EB5526DE1607\r
+ for <notmuch@notmuchmail.org>; Wed,  8 Apr 2015 08:04:43 -0700 (PDT)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+ by guru.guru-group.fi (Postfix) with ESMTP id 0543F10019F;\r
+ Wed,  8 Apr 2015 18:04:19 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: David Bremner <david@tethera.net>, David Bremner <david@tethera.net>,\r
+ notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 1/2] test: be consistent about spelling `nonexistent'\r
+In-Reply-To: <1428504337-18362-1-git-send-email-david@tethera.net>\r
+References: <m2h9sst92b.fsf@guru.guru-group.fi>\r
+ <1428504337-18362-1-git-send-email-david@tethera.net>\r
+User-Agent: Notmuch/0.19+107~gab55bdb (http://notmuchmail.org) Emacs/24.3.1\r
+ (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+ $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+ !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Wed, 08 Apr 2015 18:04:18 +0300\r
+Message-ID: <m2a8yiwtjh.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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 15:04:50 -0000\r
+\r
+On Wed, Apr 08 2015, David Bremner <david@tethera.net> wrote:\r
+\r
+> Apparently most of the misspellings are my fault.\r
+\r
+Series LGTM. Tests pass.\r
+\r
+Tomi\r
+\r
+\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