Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ey6d8-0005Lk-4g for pgsql-committers@arkaria.postgresql.org; Tue, 20 Mar 2018 02:04:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ey6d6-0006sC-6N for pgsql-committers@arkaria.postgresql.org; Tue, 20 Mar 2018 02:04:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ey6d6-0006rx-1H for pgsql-committers@lists.postgresql.org; Tue, 20 Mar 2018 02:04:00 +0000 Received: from mail.thelabyrinth.net ([45.56.70.56]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ey6cy-0007U4-Mq for pgsql-committers@postgresql.org; Tue, 20 Mar 2018 02:03:59 +0000 Received: from Davids-iMac.local (unknown [173.169.74.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dsteele) by mail.thelabyrinth.net (Postfix) with ESMTPSA id B747454661; Tue, 20 Mar 2018 02:03:49 +0000 (UTC) Subject: Re: pgsql: Add tests for reinit.c To: Andrew Dunstan Cc: Peter Eisentraut , Tom Lane , Michael Paquier , pgsql-committers References: <10418.1521157292@sss.pgh.pa.us> <24564.1521172287@sss.pgh.pa.us> <998b0442-d17c-47bf-0e92-5956d3f45448@pgmasters.net> From: David Steele Message-ID: <5e50bfa0-411a-2a91-2417-ab31f74cda80@pgmasters.net> Date: Mon, 19 Mar 2018 22:03:48 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/19/18 5:58 PM, Andrew Dunstan wrote: > On Mon, Mar 19, 2018 at 11:33 PM, David Steele wrote: >> On 3/19/18 4:15 AM, Andrew Dunstan wrote: >>> >>> The attached fixes it. We should probably put the function or something >>> like it in TestLib.pm, though. The call to pwd is quite tricky - it >>> needs to be done pretty much exactly like this, not quite sure why, but >>> direct calls to "pwd -W" via system() or backticks don't work, only this >>> indirect call works on jacana. >> >> Thanks for the patch, Andrew! >> >> Peter, would you like me to provide a patch that moves this function to >> TestLib.pm? Happy to do it, just don't want patches crossing in the >> night, as it were. >> > > I've reworked it and pushed the fix. Thanks, Andrew! -- -David david@pgmasters.net