From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wEkVBPMVHF8NfAAA0tVLHw (envelope-from ) for ; Sat, 25 Jul 2020 11:22:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cNdyO/IVHF/lawAA1q6Kng (envelope-from ) for ; Sat, 25 Jul 2020 11:22:26 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (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 6FDC79400EF for ; Sat, 25 Jul 2020 11:22:26 +0000 (UTC) Received: from [144.217.243.247] (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 44B4727B3A; Sat, 25 Jul 2020 07:22:21 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id C2CB51FA20 for ; Sat, 25 Jul 2020 07:22:18 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id AB57D60AB8; Sat, 25 Jul 2020 07:22:18 -0400 (EDT) Received: (nullmailer pid 1348518 invoked by uid 1000); Sat, 25 Jul 2020 11:22:04 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: Re: notmuch_database_index_file with relative paths. In-Reply-To: <87sgdqo0rz.fsf@tethera.net> References: <87sgdqo0rz.fsf@tethera.net> Date: Sat, 25 Jul 2020 08:22:04 -0300 Message-ID: <87lfj7g7qb.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: ZX4GKIY6GTOLUGX6ZBLBVRKBMQ5AIZ52 X-Message-ID-Hash: ZX4GKIY6GTOLUGX6ZBLBVRKBMQ5AIZ52 X-MailFrom: david@tethera.net 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=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: 0.53 X-TUID: GxH/Ib/cukmn David Bremner writes: > This is a sanity check on a bug I stumbled upon while writing unit tests > for error handling in the library. > > The attached test script (meant to be run from within the test subdir of > a built source tree) demonstrates trying (and failing) to index a > relative path. > this is fixed in commit c477d7ce311335fda16a15e624ca3931d79144cf d