Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 57F976DE0127 for ; Tue, 12 Apr 2016 11:46:55 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.619 X-Spam-Level: X-Spam-Status: No, score=0.619 tagged_above=-999 required=5 tests=[AWL=-0.033, SPF_NEUTRAL=0.652] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2kbD_w9l3cuV for ; Tue, 12 Apr 2016 11:46:47 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by arlo.cworth.org (Postfix) with ESMTP id E5F036DE00F1 for ; Tue, 12 Apr 2016 11:46:46 -0700 (PDT) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id D8429100090; Tue, 12 Apr 2016 21:46:42 +0300 (EEST) From: Tomi Ollila To: David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH 4/4] test: cope with glass backend file naming variations In-Reply-To: References: <1460166590-6526-1-git-send-email-david@tethera.net> <1460166590-6526-5-git-send-email-david@tethera.net> User-Agent: Notmuch/0.21+99~g7cbc880 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2016 18:46:55 -0000 On Sun, Apr 10 2016, Tomi Ollila wrote: > On Sat, Apr 09 2016, David Bremner wrote: > >> ... > >> diff --git a/test/T150-tagging.sh b/test/T150-tagging.sh >> index 8adcabc..6fd6a18 100755 >> --- a/test/T150-tagging.sh >> +++ b/test/T150-tagging.sh >> @@ -287,9 +287,9 @@ test_expect_code 1 "Empty tag names" 'notmuch tag + One' >> test_expect_code 1 "Tag name beginning with -" 'notmuch tag +- One' >> >> test_begin_subtest "Xapian exception: read only files" >> -chmod u-w ${MAIL_DIR}/.notmuch/xapian/*.DB >> +chmod u-w ${MAIL_DIR}/.notmuch/xapian/*.${db_ending} >> output=$(notmuch tag +something '*' 2>&1 | sed 's/: .*$//' ) >> -chmod u+w ${MAIL_DIR}/.notmuch/xapian/*.DB >> +chmod u+w ${MAIL_DIR}/.notmuch/xapian/{*.DB,*.glass} > > wat? Otherwise looks good and tests pass. Tomi