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 8375C6DE0F7A for ; Tue, 10 Mar 2020 09:04:30 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.067 X-Spam-Level: X-Spam-Status: No, score=-0.067 tagged_above=-999 required=5 tests=[AWL=-0.066, SPF_PASS=-0.001] 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 K21WJCwgTYoz for ; Tue, 10 Mar 2020 09:04:29 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 90C496DE0F74 for ; Tue, 10 Mar 2020 09:04:29 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1jBhMp-0004N4-BZ; Tue, 10 Mar 2020 12:04:27 -0400 Received: (nullmailer pid 19448 invoked by uid 1000); Tue, 10 Mar 2020 16:04:26 -0000 From: David Bremner To: Dan =?utf-8?B?xIxlcm3DoWs=?= , notmuch@notmuchmail.org Subject: Re: T050-new and T060-count fail if gdb prints a warning In-Reply-To: <87eeu0jjv4.fsf@cgc-instruments.com> References: <87eeu0jjv4.fsf@cgc-instruments.com> Date: Tue, 10 Mar 2020 13:04:26 -0300 Message-ID: <87v9ncqjqt.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Tue, 10 Mar 2020 16:04:30 -0000 Dan =C4=8Cerm=C3=A1k writes: > > The solution is of course to fix this in gdb (e.g. by updating to gdb > 9), but the more general question is: can notmuch's testsuite do > something to avoid issues like this altogether? I replaced some of the uses of gdb with LD_PRELOAD based shims. I'm not sure how much work that would be to do here, but maybe someone(TM) would like to try it? There is some examples in T070-insert.sh. d