Re: pgsql: Don't try to test files named with a trailing dot onWindows

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
Re: pgsql: Don't try to test files named with a trailing dot onWindows
Дата
Msg-id
20181021135152.GB14282@paquier.xyz
Ответ на
Список
Дерево обсуждения
pgsql: Don't try to test files named with a trailing dot on Windows Andrew Dunstan <andrew@dunslane.net>
Re: pgsql: Don't try to test files named with a trailing dot onWindows Michael Paquier <michael@paquier.xyz>
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
В списке pgsql-committers по дате отправления
От: Andrew Dunstan
Дата:
От: Alexander Korotkov
Дата:
FAQ