pg_upgrade test writes to source directory - Mailing list pgsql-hackers

From Peter Eisentraut
Subject pg_upgrade test writes to source directory
Date
Msg-id f80ace33-11fb-1cd3-20f8-98f51d151088@enterprisedb.com
Whole thread Raw
Responses Re: pg_upgrade test writes to source directory
List pgsql-hackers
The 002_pg_upgrade.pl test leaves a file delete_old_cluster.sh in the 
source directory.  In vpath builds, there shouldn't be any files written 
to the source directory.

Note that the TAP tests run with the source directory as the current 
directory, so this is the result of pg_upgrade leaving its output files 
in the current directory.

It looks like an addition of

     chdir $ENV{TESTOUTDIR};

could fix it.  Please check the patch.
Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Assert name/short_desc to prevent SHOW ALL segfault
Next
From: Amit Kapila
Date:
Subject: Re: Multi-Master Logical Replication