From 0654c632200dab12ed78c7409850fdd5efe346e1 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Sun, 10 Apr 2016 00:00:15 +0300 Subject: [PATCH] Re: [PATCH 4/4] test: cope with glass backend file naming variations --- 50/3fd410345d18eff4f8170664cfc2981936f207 | 71 +++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 50/3fd410345d18eff4f8170664cfc2981936f207 diff --git a/50/3fd410345d18eff4f8170664cfc2981936f207 b/50/3fd410345d18eff4f8170664cfc2981936f207 new file mode 100644 index 000000000..58d3c9428 --- /dev/null +++ b/50/3fd410345d18eff4f8170664cfc2981936f207 @@ -0,0 +1,71 @@ +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 54ABF6DE02C2 + for ; Sat, 9 Apr 2016 14:00:17 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.623 +X-Spam-Level: +X-Spam-Status: No, score=0.623 tagged_above=-999 required=5 tests=[AWL=-0.029, + 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 0TmHd7GP_Viw for ; + Sat, 9 Apr 2016 14:00:09 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by arlo.cworth.org (Postfix) with ESMTP id EDD6F6DE00BD + for ; Sat, 9 Apr 2016 14:00:08 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 8A1471000E0; + Sun, 10 Apr 2016 00:00:15 +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: <1460166590-6526-5-git-send-email-david@tethera.net> +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: Sat, 09 Apr 2016 21:00:17 -0000 + +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? + -- 2.26.2