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 1exuSE-0002kU-QR for pgsql-committers@arkaria.postgresql.org; Mon, 19 Mar 2018 13:03:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1exuSD-0005l6-SW for pgsql-committers@arkaria.postgresql.org; Mon, 19 Mar 2018 13:03:57 +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 1exuSD-0005kw-N9 for pgsql-committers@lists.postgresql.org; Mon, 19 Mar 2018 13:03:57 +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 1exuSA-0005hm-SJ for pgsql-committers@postgresql.org; Mon, 19 Mar 2018 13:03:57 +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 2662954661; Mon, 19 Mar 2018 13:03:51 +0000 (UTC) Subject: Re: pgsql: Add tests for reinit.c Cc: Tom Lane , Michael Paquier , pgsql-committers References: <10418.1521157292@sss.pgh.pa.us> <24564.1521172287@sss.pgh.pa.us> To: Andrew Dunstan , Peter Eisentraut From: David Steele Message-ID: <998b0442-d17c-47bf-0e92-5956d3f45448@pgmasters.net> Date: Mon, 19 Mar 2018 09:03:50 -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 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. Thanks, -- -David david@pgmasters.net