Re: [PATCH 4/4] test: cope with glass backend file naming variations
authorTomi Ollila <tomi.ollila@iki.fi>
Tue, 12 Apr 2016 18:46:42 +0000 (21:46 +0300)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:21:36 +0000 (16:21 -0700)
03/8b393a7e16e5ac42073c2fe9c9c42ee877eaea [new file with mode: 0644]

diff --git a/03/8b393a7e16e5ac42073c2fe9c9c42ee877eaea b/03/8b393a7e16e5ac42073c2fe9c9c42ee877eaea
new file mode 100644 (file)
index 0000000..a85dd92
--- /dev/null
@@ -0,0 +1,77 @@
+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 57F976DE0127\r
+ for <notmuch@notmuchmail.org>; Tue, 12 Apr 2016 11:46:55 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.619\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.619 tagged_above=-999 required=5 tests=[AWL=-0.033,\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 2kbD_w9l3cuV for <notmuch@notmuchmail.org>;\r
+ Tue, 12 Apr 2016 11:46:47 -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 E5F036DE00F1\r
+ for <notmuch@notmuchmail.org>; Tue, 12 Apr 2016 11:46:46 -0700 (PDT)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+ by guru.guru-group.fi (Postfix) with ESMTP id D8429100090;\r
+ Tue, 12 Apr 2016 21:46:42 +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: <m21t6exzts.fsf@guru.guru-group.fi>\r
+References: <1460166590-6526-1-git-send-email-david@tethera.net>\r
+ <1460166590-6526-5-git-send-email-david@tethera.net>\r
+ <m21t6exzts.fsf@guru.guru-group.fi>\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: Tue, 12 Apr 2016 21:46:42 +0300\r
+Message-ID: <m2inzmsm0d.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: Tue, 12 Apr 2016 18:46:55 -0000\r
+\r
+On Sun, Apr 10 2016, Tomi Ollila <tomi.ollila@iki.fi> wrote:\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
+Otherwise looks good and tests pass.\r
+\r
+Tomi\r