Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jiYgg-00020c-Kw for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Jun 2020 07:28:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jiYgA-0005sq-0f for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Jun 2020 07:28:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jiYg9-0005si-Pg for pgsql-hackers@lists.postgresql.org; Tue, 09 Jun 2020 07:28:13 +0000 Received: from forward4-smtp.messagingengine.com ([66.111.4.238]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jiYg6-0000Fq-Gz for pgsql-hackers@postgresql.org; Tue, 09 Jun 2020 07:28:13 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailforward.nyi.internal (Postfix) with ESMTP id 3C0481940944; Tue, 9 Jun 2020 03:28:07 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 09 Jun 2020 03:28:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=xFugRwEexds6AbqN9iTSpfkrHZ7L7vuK+XYdRNNJn hA=; b=DJh0mz1ZCYx0HQ8Dkv95Bzuwf/P0sz4a+yZz9ZklI2O/dalry50MyYKt0 h8BZVqFwVe7FROJ1DxXkeEPgZ7BrAnSYHPnbm7zZGdWB84IAT9+oDihFebGdcaPk CNG5AOLdHPvonzDbbiu8bvKhYRIAEXPJtonl3gtg3Oac42MvhNK6yWeaBVpBqL7a ghyNsBzEALocyXqoyXioCbgm3PlKe6ZUK2JzOuxyDVKCaU43aqWqM1QU1xzKQ0PJ tb2IzxHk2I+Oe+fRK0yWk6omK447BOwTAmCcn36zbSsmacPZc4s4HNS/vJhYOkOd 2mEXgIKOUNpHNjiG8t1UNFYMqVU2Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudehfedguddvfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhfhokffffgggjggtgfesthejredttdefheenucfhrhhomheprfgv thgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsedvnh guqhhurggurhgrnhhtrdgtohhmqeenucggtffrrghtthgvrhhnpeevueetledvuedugffg vedugeduhfdvkeegueefhfdtgeeuudeghfehueegfefhieenucffohhmrghinhepvdhnug hquhgrughrrghnthdrtghomhenucfkphepleefrddvgeefrdekvddrvdegieenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvih hsvghnthhrrghuthesvdhnughquhgrughrrghnthdrtghomh X-ME-Proxy: Received: from april.pezone.net (p5df352f6.dip0.t-ipconnect.de [93.243.82.246]) by mail.messagingengine.com (Postfix) with ESMTPA id CF5CA30624F3; Tue, 9 Jun 2020 03:28:05 -0400 (EDT) Subject: Re: TAP tests and symlinks on Windows To: Michael Paquier References: <20200609071931.GE38342@paquier.xyz> Cc: pgsql-hackers From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <89a38304-8900-2e6b-de26-19a0312f3a87@2ndquadrant.com> Date: Tue, 9 Jun 2020 09:28:04 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200609071931.GE38342@paquier.xyz> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-06-09 09:19, Michael Paquier wrote: > On Mon, Jun 08, 2020 at 02:44:31PM +0200, Peter Eisentraut wrote: >> both contain a TAP skip notice "symlinks not supported on Windows". >> >> This is untrue. Symlinks certainly work on Windows, and we have other TAP >> tests using them, for example for tablespaces. > >> pg_rewind/t/004_pg_xlog_symlink.pl passes for me on Windows if I just remove >> the skip stuff. My attached patch does that. > > What's the version of your perl installation on Windows? With 5.22, I > am still seeing that symlink() is not implemented, causing the tests > of pg_rewind to blow in flight with your patch (MSVC 2015 here). I was using MSYS2 and the Perl version appears to have been 5.30.2. Note sure which one of these two factors makes the difference. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services