pgsql: Fix SSL tests on 32-bit Perl

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема pgsql: Fix SSL tests on 32-bit Perl
Дата
Msg-id E1mdTdw-0007kx-7o@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix SSL tests on 32-bit Perl

The certificate serial number generation was changed in b4c4a00ea to
use the current timestamp. The testharness must thus interrogate the
cert for the serialnumber using "openssl x509" which emits the serial
in hex format. Converting the serial to integer format to match whats
in pg_stat_ssl requires a 64-bit capable Perl. This adds a fallback
to checking for an integer when the tests with a 32-bit Perl.

Per failure on buildfarm member prairiedog.

Discussion: https://postgr.es/m/0D295F43-806D-4B3F-AB98-F941A19E0271@yesql.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0c04342b1d3dd5b24f795f94874163be8e21710e

Modified Files
--------------
src/test/ssl/t/001_ssltests.pl | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)


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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: pgsql: Back-patch "Add parent table name in an error in reorderbuffer.c
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl.