From: Michael Paquier <michael@paquier.xyz>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Don't try to test files named with a trailing dot on Windows
Date: Sun, 21 Oct 2018 22:51:52 +0900
Message-ID: <20181021135152.GB14282@paquier.xyz> (raw)
In-Reply-To: <E1gEDOJ-0000dz-JH@gemulon.postgresql.org>
References: <E1gEDOJ-0000dz-JH@gemulon.postgresql.org>
On Sun, Oct 21, 2018 at 01:03:35PM +0000, Andrew Dunstan wrote:
> Don't try to test files named with a trailing dot on Windows
>
> The pg_verify_checksums test tries to create files with corrupt data
> named "123." and "123_." But on Windows a file name with a trailing dot
> is the same as a file without the trailing dot. In the first case this
> will create a file with a "valid" name, which causes the test to fail in
> an unexpected way, and in the secongd case this will be redandant as the
> test already creates a file named "123_".
>
> Bug discovered by buildfarm animal bowerbird.
Thanks Andrew! That property of Windows is actually... Interesting.
Please feel free to ping me on the involved message if I don't see a
buildfarm failure, and I'll investigate.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) 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: michael@paquier.xyz, andrew@dunslane.net
Subject: Re: pgsql: Don't try to test files named with a trailing dot on Windows
In-Reply-To: <20181021135152.GB14282@paquier.xyz>
References: <E1gEDOJ-0000dz-JH@gemulon.postgresql.org> <20181021135152.GB14282@paquier.xyz>
* 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