Re: [PATCH 4/4] test: cope with glass backend file naming variations
authorTomi Ollila <tomi.ollila@iki.fi>
Sat, 9 Apr 2016 21:00:15 +0000 (00:00 +0300)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:34 +0000 (16:21 -0700)
50/3fd410345d18eff4f8170664cfc2981936f207 [new file with mode: 0644]

diff --git a/50/3fd410345d18eff4f8170664cfc2981936f207 b/50/3fd410345d18eff4f8170664cfc2981936f207
new file mode 100644 (file)
index 0000000..58d3c94
--- /dev/null
@@ -0,0 +1,71 @@
+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 54ABF6DE02C2\r
+ for <notmuch@notmuchmail.org>; Sat,  9 Apr 2016 14:00:17 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.623\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.623 tagged_above=-999 required=5 tests=[AWL=-0.029,\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 0TmHd7GP_Viw for <notmuch@notmuchmail.org>;\r
+ Sat,  9 Apr 2016 14:00:09 -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 EDD6F6DE00BD\r
+ for <notmuch@notmuchmail.org>; Sat,  9 Apr 2016 14:00:08 -0700 (PDT)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+ by guru.guru-group.fi (Postfix) with ESMTP id 8A1471000E0;\r
+ Sun, 10 Apr 2016 00:00:15 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 4/4] test: cope with glass backend file naming variations\r
+In-Reply-To: <1460166590-6526-5-git-send-email-david@tethera.net>\r
+References: <1460166590-6526-1-git-send-email-david@tethera.net>\r
+ <1460166590-6526-5-git-send-email-david@tethera.net>\r
+User-Agent: Notmuch/0.21+99~g7cbc880 (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: Sun, 10 Apr 2016 00:00:15 +0300\r
+Message-ID: <m21t6exzts.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.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 09 Apr 2016 21:00:17 -0000\r
+\r
+On Sat, Apr 09 2016, David Bremner <david@tethera.net> wrote:\r
+\r
+> ...\r
+\r
+> diff --git a/test/T150-tagging.sh b/test/T150-tagging.sh\r
+> index 8adcabc..6fd6a18 100755\r
+> --- a/test/T150-tagging.sh\r
+> +++ b/test/T150-tagging.sh\r
+> @@ -287,9 +287,9 @@ test_expect_code 1 "Empty tag names" 'notmuch tag + One'\r
+>  test_expect_code 1 "Tag name beginning with -" 'notmuch tag +- One'\r
+>  \r
+>  test_begin_subtest "Xapian exception: read only files"\r
+> -chmod u-w  ${MAIL_DIR}/.notmuch/xapian/*.DB\r
+> +chmod u-w  ${MAIL_DIR}/.notmuch/xapian/*.${db_ending}\r
+>  output=$(notmuch tag +something '*' 2>&1 | sed 's/: .*$//' )\r
+> -chmod u+w  ${MAIL_DIR}/.notmuch/xapian/*.DB\r
+> +chmod u+w  ${MAIL_DIR}/.notmuch/xapian/{*.DB,*.glass}\r
+\r
+wat?\r
+\r