From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id xtyJJjlXJF+UMQAA0tVLHw (envelope-from ) for ; Fri, 31 Jul 2020 17:39:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sOQRIjlXJF98JAAAbx9fmQ (envelope-from ) for ; Fri, 31 Jul 2020 17:39:05 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 12F9994053D for ; Fri, 31 Jul 2020 17:39:03 +0000 (UTC) Received: from [144.217.243.247] (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 3E756200A5; Fri, 31 Jul 2020 13:38:54 -0400 (EDT) Received: from lahtoruutu.iki.fi (unknown [IPv6:2a0b:5c81:1c1::37]) by mail.notmuchmail.org (Postfix) with ESMTPS id D099C1F9C9 for ; Fri, 31 Jul 2020 13:38:51 -0400 (EDT) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 027171B00594; Fri, 31 Jul 2020 20:38:38 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1596217119; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IkrB+eI8U0LCaeina6a1yUTzGbXF+hXW6WXiwbjwN04=; b=dru+IQxab0b35ptShepV4r8n7eQLNdQA3SBjv+nhXdlLDrz4sOMS3JuRU4RCzgkpAAxLvG jza4BKcA3Wy53wh/De4abedjuM4oDxlNxeYLV951cVZHytyOrLz/mVaAhb0JnTjwOFNteg t4MvAPX6Xw9eH+wdS1IhOCk4lvtYeLZBs8Z+v+Io2Dhw3dAAcCalXnOM5TJdQ9FpROPXBC LBOoyJZxt4n4+mnIojzMfSWIA1G5NzQkZsc525ggvXEizVM13X+HAHa80dmTY0Nc6Uirv9 ZgDSNOH6/cvyaEmLGCvxIcLHXJZx7AhNkr650C6O/JyNJ+0ef8udtegeEtfjfg== From: Tomi Ollila To: David Bremner , notmuch@notmuchmail.org Cc: David Bremner Subject: Re: [PATCH 1/2] test: drop NOTMUCH_DEFAULT_XAPIAN_BACKEND from T360-symbol-test In-Reply-To: <20200730000130.989410-1-david@tethera.net> References: <20200730000130.989410-1-david@tethera.net> User-Agent: Notmuch/0.30+12~g9f4381f (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1596217119; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IkrB+eI8U0LCaeina6a1yUTzGbXF+hXW6WXiwbjwN04=; b=MmmgNQ0d0BydxA5yYglTZiBDPjSgthgu2pfrlT9NYGvEDZQsXmS4UwXw++/JV5e7uOVP16 xxFijR78K2TwMpi7lYEfgwer2YdAiN2T7EKQuxmO9nF0x9I9q/lp+CWYcLV2/Ytt7KbP8+ dgLyL7VMhQUyEb4HyLzu+A0ZBUX4wexF7NvFF6y+2a2Qt3gPXolQz4YX104bPPnUgQtz9e nV3di3CAMSZD9PipVwgCQy7UEk3Nl1LH3DB3SMHIRuj+VgZED0GnmekcTxvfaqGaclTARI gzEYnXz1jipy5hIwacD47WojxudDwysbqnhQe52L7BRvF06Yxdq1OEd4qO9yBw== ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1596217119; a=rsa-sha256; cv=none; b=ukAUm6WeD+i6mL0U69q3kWrFbUE/qUTeXtHuayf7+4Nmir30x6ysBwVc3PRLZ7UHtQVfVS o4LgokUub0YPp9uq/JCuj9Bnn/JJYnDxd0vLrDFVyLdbw02kCR5gtwxdGu/mp6Q+62HBGE xPQuTOR+9r1SJmQsAP+ZMLHxRFoLLLOWEDr35j70aMELmMwvEdO9aiPYjL9gkixLsPfvlA 2KmKE7yDj2sjAvDuevnplHpRkagg+9tUANEeevqaNTVopQKLb5+CfwBEJ91pXeu5KnApsO I8OyLQdW92Ilh6G+tD2kK164jBKtxd6wH+jv86w9AaKt9+C18dTqH9tCN4DBOQ== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi Message-ID-Hash: OCH2W7DJHMJILN7PV7CQJIQLQDTHBQFF X-Message-ID-Hash: OCH2W7DJHMJILN7PV7CQJIQLQDTHBQFF X-MailFrom: tomi.ollila@iki.fi X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=iki.fi header.s=lahtoruutu header.b=dru+IQxa; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: 2.03 X-TUID: Yo2uY+j8m2qj On Wed, Jul 29 2020, David Bremner wrote: > Inspired by the suggestion of > > id:20200727154108.16269-3-congdanhqx@gmail.com > > to drop the configuration test for the default backend. This version > is hopefully robust against backend changes. > --- > test/T360-symbol-hiding.sh | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/test/T360-symbol-hiding.sh b/test/T360-symbol-hiding.sh > index 43921cb4..4f1eb605 100755 > --- a/test/T360-symbol-hiding.sh > +++ b/test/T360-symbol-hiding.sh > @@ -14,11 +14,11 @@ test_description='exception symbol hiding' > test_begin_subtest 'running test' run_test > mkdir -p ${PWD}/fakedb/.notmuch > $TEST_DIRECTORY/symbol-test ${PWD}/fakedb ${PWD}/nonexistent 2>&1 \ > - | notmuch_dir_sanitize | sed -e "s,\`,\',g" -e "s,${NOTMUCH_DEFAULT_XAPIAN_BACKEND},backend,g" > OUTPUT > + | notmuch_dir_sanitize | sed -e "s,\`,\',g" -e "s,No [^ \t]* database,No XXXXXX database,g" > OUTPUT Restore lost tab in the beginning of line, use [^[:space:]] for portability Tomi > > cat < EXPECTED > A Xapian exception occurred opening database: Couldn't stat 'CWD/fakedb/.notmuch/xapian' > -caught No backend database found at path 'CWD/nonexistent' > +caught No XXXXXX database found at path 'CWD/nonexistent' > EOF > test_expect_equal_file EXPECTED OUTPUT > > -- > 2.27.0 > _______________________________________________ > notmuch mailing list -- notmuch@notmuchmail.org > To unsubscribe send an email to notmuch-leave@notmuchmail.org