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 E04576DE02BF for ; Sat, 9 Apr 2016 15:36:22 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.019 X-Spam-Level: X-Spam-Status: No, score=-0.019 tagged_above=-999 required=5 tests=[AWL=-0.008, 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 fNU2kMCvQihh for ; Sat, 9 Apr 2016 15:36:14 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id A61196DE00BD for ; Sat, 9 Apr 2016 15:36:14 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.84) (envelope-from ) id 1ap1UL-0008Qp-HU; Sat, 09 Apr 2016 18:36:21 -0400 Received: (nullmailer pid 15556 invoked by uid 1000); Sat, 09 Apr 2016 22:36:09 -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+109~g9d467d4 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Sat, 09 Apr 2016 19:36:09 -0300 Message-ID: <87d1pyfm06.fsf@maritornes.cs.unb.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: Sat, 09 Apr 2016 22:36:23 -0000 Tomi Ollila writes: > 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? oops. I guess that should have the *.${db_ending} in both cases