Re: broken master regress tests
От | Pavel Stehule |
---|---|
Тема | Re: broken master regress tests |
Дата | |
Msg-id | CAFj8pRAM20T_Hf4=xRRORsBWNk2RH8NWYfRC2A1_QWoZeKX1dw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: broken master regress tests (Pavel Stehule <pavel.stehule@gmail.com>) |
Ответы |
Re: broken master regress tests
|
Список | pgsql-hackers |
Hi
pá 25. 8. 2023 v 9:12 odesílatel Pavel Stehule <pavel.stehule@gmail.com> napsal:
pá 25. 8. 2023 v 8:22 odesílatel Matthias van de Meent <boekewurm+postgres@gmail.com> napsal:On Fri, 25 Aug 2023, 05:54 Pavel Stehule, <pavel.stehule@gmail.com> wrote:Hitoday build is broken on my Fedora 39RegardsPavelmake[2]: Opouští se adresář „/home/pavel/src/postgresql.master/src/bin/initdb“
make -C pg_amcheck check
make[2]: Vstupuje se do adresáře „/home/pavel/src/postgresql.master/src/bin/pg_amcheck“
[...]
# ERROR: could not open file "base/16736/16781": Adresář nebo soubor neexistuje
# '
# doesn't match '(?^:could not open file ".*": No such file or directory)'It looks like the error message matcher doesn't account for the localized version of "No such file or directory", might that be the issue?yesLANG=C maje check-world
I tried to fix this issue, but there is some strange
regress tests are initialized with
<-->delete $ENV{LANGUAGE};
<-->delete $ENV{LC_ALL};
<-->$ENV{LC_MESSAGES} = 'C';
<-->delete $ENV{LC_ALL};
<-->$ENV{LC_MESSAGES} = 'C';
so the environment should be correct
I checked this setting before
<-->IPC::Run::run($cmd, '>', \$stdout, '2>', \$stderr);
and it looks correct. But the tests fails
Only when I use `LC_MESSAGES=C make check` the tests are ok
My environment has only `LANG=cs_CZ.UTF-8`
So it looks so IPC::Run::run is ignore parent environment
В списке pgsql-hackers по дате отправления: