prevent 006_transfer_modes.pl from leaving files behind - Mailing list pgsql-hackers

From Nathan Bossart
Subject prevent 006_transfer_modes.pl from leaving files behind
Date
Msg-id Z_RHkG770w3SE0yU@nathan
Whole thread Raw
Responses Re: prevent 006_transfer_modes.pl from leaving files behind
List pgsql-hackers
The other pg_upgrade tests chdir to tmp_check prior to running pg_upgrade
to avoid leaving behind delete_old_cluster.{sh,bat}.  006_transfer_modes.pl
should, too.  However, this test is a little different because it loops
over all of the available transfer modes and runs pg_upgrade for each one
supported by the platform.  From my testing and code analysis, it seems
sufficient to change the directory once at the beginning of the test, but
we could alternatively save the current directory and change back to it in
each iteration to be safe.

Thoughts?

-- 
nathan

Attachment

pgsql-hackers by date:

Previous
From: Sami Imseih
Date:
Subject: Re: [PATCH] Re: Proposal to Enable/Disable Index using ALTER INDEX
Next
From: Jacob Champion
Date:
Subject: Re: [PoC] Federated Authn/z with OAUTHBEARER