TAP tests aren't using the magic words for Windows file access

Поиск
Список
Период
Сортировка
От Tom Lane
Тема TAP tests aren't using the magic words for Windows file access
Дата
Msg-id 13900.1572839580@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: TAP tests aren't using the magic words for Windows file access
Список pgsql-hackers
Buildfarm member drongo has been failing the pg_ctl regression test
pretty often.  I happened to look closer at what's happening, and
it's this:

could not read
"C:/prog/bf/root/HEAD/pgsql.build/src/bin/pg_ctl/tmp_check/t_004_logrotate_primary_data/pgdata/current_logfiles":
Permissiondenied at C:/prog/bf/root/HEAD/pgsql.build/src/test/perl/TestLib.pm line 397. 

That is, TestLib::slurp_file is failing to read a file.  Almost
certainly, "permission denied" doesn't really mean a permissions
problem, but failure to specify the file-opening flags needed to
allow concurrent access on Windows.  We fixed this in pg_ctl
itself in commit 0ba06e0bf ... but we didn't fix the TAP
infrastructure.  Is there an easy way to get Perl on board
with that?

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: Binary support for pgoutput plugin
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Collation versioning