From: Stephen Frost <sfrost@snowman.net>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Disable BLOB test in pg_dump TAP tests
Date: Sun, 8 May 2016 13:02:11 -0400
Message-ID: <20160508170211.GC10850@tamriel.snowman.net> (raw)
In-Reply-To: <572F4B21.1080806@dunslane.net>
References: <E1ayqyz-0007Xo-Cr@gemulon.postgresql.org>
<15724.1462680651@sss.pgh.pa.us>
<20160508045247.GW10850@tamriel.snowman.net>
<572F4B21.1080806@dunslane.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
* Andrew Dunstan (andrew@dunslane.net) wrote:
> TL;DR version: Msys provides a virtualized Unix-like file system
> that is visible to its programs that you use to build, but invisible
> to the programs you build since they are going to run without any
> knowledge of the build environment. So you can't just put $tmpdir
> from an Msys-aware program into a psql script and expect it to work.
> It won't. Maybe we need to provide a function in our test library to
> convert virtual paths to real paths. (For Unix it would be a NOOP).
I'm pretty confident that I can work around this for the specific test
that was having trouble, but it seems like it'd be nice to have a way to
refer to the actual data and temp directories from psql and friends when
they're run under the TAP test system.
Ideally, there'd be a way to make it transparent, so we don't have to
write the tests to handle this case explicitly, though I'm not sure if
there's an easy way to do that.
Thanks!
Stephen
Attachments:
signature.asc (application/pgp-signature, 818B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: sfrost@snowman.net, andrew@dunslane.net, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Disable BLOB test in pg_dump TAP tests
In-Reply-To: <20160508170211.GC10850@tamriel.snowman.net>
References: <E1ayqyz-0007Xo-Cr@gemulon.postgresql.org> <15724.1462680651@sss.pgh.pa.us> <20160508045247.GW10850@tamriel.snowman.net> <572F4B21.1080806@dunslane.net> <20160508170211.GC10850@tamriel.snowman.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox