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 972816DE0127 for ; Tue, 12 Apr 2016 16:34:33 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.017 X-Spam-Level: X-Spam-Status: No, score=-0.017 tagged_above=-999 required=5 tests=[AWL=-0.006, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 sAA34MyB0rYj for ; Tue, 12 Apr 2016 16:34:24 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 36CA06DE00F1 for ; Tue, 12 Apr 2016 16:34:24 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.84) (envelope-from ) id 1aq7pF-0003BB-2D; Tue, 12 Apr 2016 19:34:29 -0400 Received: (nullmailer pid 19831 invoked by uid 1000); Tue, 12 Apr 2016 23:34:18 -0000 From: David Bremner To: Tomi Ollila , 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~gd93d377 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Tue, 12 Apr 2016 20:34:18 -0300 Message-ID: <87shyq5rlx.fsf@zancas.localnet> 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 23:34:33 -0000 Tomi Ollila writes: > 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} Pushed with Tomi's fix, and a similar one in T050-new.sh