Re: tap tests remove working directories

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: tap tests remove working directories
Date: 2015-08-08 13:31:34
Message-ID: CA+TgmoaJUKpj3XpxEuB=Yk26SFGb=+z4vu1X+EMubFYaepY4GA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Aug 7, 2015 at 7:17 PM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
> That certainly isn't what happens, and given the way this is done in
> TestLib.pm, using the CLEANUP parameter of File::Temp's tempdir() function,
> it's not clear how we could do that easily.

<shot-in-the-dark>

Set cleanup to false and manually remove the directory later in the
code, so that stuff runs only if we haven't died sooner?

</shot-in-the-dark>

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-08-08 13:57:58 Re: statement_timeout affects query results fetching?
Previous Message Robert Haas 2015-08-08 13:27:04 Re: WIP: SCRAM authentication