pgsql: Remove unportable test

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unportable test
Date: 2022-06-24 11:10:49
Message-ID: E1o4hD7-001a6z-70@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unportable test

The ssl test "IPv4 host with CIDR mask does not match" apparently has
a portability problem. Some operating systems don't reject the host
name specification "192.0.2.1/32" as an IP address, and that is then
later rejected when the SNI is set, which results in a different error
message that the test is supposed to verify.

The value of the test has been questioned in the discussion, and it
was suggested that removing it would be an acceptable fix, so that's
what this is doing.

Reported-by: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Bug: #17522
Discussion: https://www.postgresql.org/message-id/flat/17522-bfcd5c603b5f4daa%40postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/901a9d53011573e45cd7b87682f0520ef3b0fd2d

Modified Files
--------------
src/test/ssl/t/001_ssltests.pl | 7 -------
1 file changed, 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2022-06-25 16:10:22 pgsql: For PostgreSQL::Test compatibility, alias entire package symbol
Previous Message Amit Kapila 2022-06-24 03:53:33 pgsql: Fix intermetent test failure in 028_row_filter.pl.