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 1lNdAH-0007m7-Nw for pgsql-committers@arkaria.postgresql.org; Sat, 20 Mar 2021 15:05:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lNdAG-0002oT-EQ for pgsql-committers@arkaria.postgresql.org; Sat, 20 Mar 2021 15:05:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lNdAG-0002mY-90 for pgsql-committers@lists.postgresql.org; Sat, 20 Mar 2021 15:05:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lNdAE-0003ng-A6 for pgsql-committers@lists.postgresql.org; Sat, 20 Mar 2021 15:05:19 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 12KF5Gbu181060; Sat, 20 Mar 2021 11:05:16 -0400 From: Tom Lane To: Andrew Dunstan cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Blindly try to fix test script's tar invocation for MSYS. In-reply-to: <6a124853-d645-bc2f-1551-6ca61b918423@dunslane.net> References: <6a124853-d645-bc2f-1551-6ca61b918423@dunslane.net> Comments: In-reply-to Andrew Dunstan message dated "Sat, 20 Mar 2021 08:20:59 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <181058.1616252716.1@sss.pgh.pa.us> Date: Sat, 20 Mar 2021 11:05:16 -0400 Message-ID: <181059.1616252716@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andrew Dunstan writes: > On 3/18/21 10:43 PM, Tom Lane wrote: >> Buildfarm member fairywren doesn't like the test case I added >> in commit 081876d75. I'm guessing the reason is that I shouldn't >> be using a perl2host-ified path in the tar command line. > No, you shouldn't. The rule is that you need to use perl2host when > passing a path to a non-msys-aware program. This will typically be one > of our own artefacts, or the comand processor (via system(), qx() etc.). > But msys-aware programs such as utility programs like tar should get the > path just as the perl script sees it. Ah. So it seems like the $64 question is how to know that tar, or any particular other program, is msys-aware. regards, tom lane