From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 2F2D26DE1030 for ; Sun, 10 Mar 2019 13:32:49 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.458 X-Spam-Level: X-Spam-Status: No, score=0.458 tagged_above=-999 required=5 tests=[AWL=-0.194, 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 YQCbGqIg3sJP for ; Sun, 10 Mar 2019 13:32:46 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by arlo.cworth.org (Postfix) with ESMTP id 617AA6DE0EA6 for ; Sun, 10 Mar 2019 13:32:46 -0700 (PDT) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id CF75C10008E; Sun, 10 Mar 2019 22:32:39 +0200 (EET) From: Tomi Ollila To: Luis Ressel , notmuch@notmuchmail.org Subject: Re: [PATCH] test: Ignore subtly different behaviour of the musl libc In-Reply-To: <20190226020629.5273-1-aranea@aixah.de> References: <20190226020629.5273-1-aranea@aixah.de> User-Agent: Notmuch/0.28.3+42~g7b16377 (https://notmuchmail.org) Emacs/25.2.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.29 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: Sun, 10 Mar 2019 20:32:49 -0000 On Tue, Feb 26 2019, Luis Ressel wrote: ... > --- a/test/T650-regexp-query.sh > +++ b/test/T650-regexp-query.sh > @@ -137,10 +137,10 @@ EOF > test_expect_equal_file EXPECTED OUTPUT > > test_begin_subtest "regexp error reporting" > -notmuch search 'from:/unbalanced[/' 1>OUTPUT 2>&1 > +notmuch search 'from:/unbalanced[/' 2>&1 | sed -e 's/^\(A Xapian[^:]*:\).*/\1/' > OUTPUT Simpler sed: sed '/A Xapian/ s/:.*/:/' > cat < EXPECTED > notmuch search: A Xapian exception occurred > -A Xapian exception occurred parsing query: Invalid regular expression > +A Xapian exception occurred parsing query: > Query string was: from:/unbalanced[/ > EOF > test_expect_equal_file EXPECTED OUTPUT