pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Allow tests to pass in OpenSSL FIPS mode (TAP tests)
2+ messages / 1 participants
[nested] [flat]

* pgsql: Allow tests to pass in OpenSSL FIPS mode (TAP tests)
@ 2023-11-17 16:01  Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2023-11-17 16:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Allow tests to pass in OpenSSL FIPS mode (TAP tests)

Some tests using md5 authentication have to be skipped.  In other
cases, we can rewrite the tests to use a different authentication
method.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/flat/dbbd927f-ef1f-c9a1-4ec6-c759778ac852%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/284cbaea7c4b89ce8685a148baeaf1d7896a900e

Modified Files
--------------
src/test/authentication/t/001_password.pl | 146 ++++++++++++++++++------------
src/test/ssl/t/002_scram.pl               |  35 ++++---
2 files changed, 112 insertions(+), 69 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Allow tests to pass in OpenSSL FIPS mode (rest)
@ 2023-11-17 16:59  Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2023-11-17 16:59 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Allow tests to pass in OpenSSL FIPS mode (rest)

This adds alternative expected files for various tests.

In src/test/regress/sql/password.sql, we make a small change to the
test so that the CREATE ROLE still succeeds even if the ALTER ROLE
that attempts to set a password might fail.  That way, the roles are
available for the rest of the test file in either case.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/flat/dbbd927f-ef1f-c9a1-4ec6-c759778ac852%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3c44e7d8d4fe3381736c4b4daff4be5ff3d1466e

Modified Files
--------------
contrib/passwordcheck/expected/passwordcheck_1.out |  18 +++
contrib/uuid-ossp/expected/uuid_ossp_1.out         | 135 ++++++++++++++++++
src/test/regress/expected/md5_1.out                |  35 +++++
src/test/regress/expected/password.out             |   6 +-
src/test/regress/expected/password_1.out           | 152 +++++++++++++++++++++
src/test/regress/sql/password.sql                  |   6 +-
6 files changed, 348 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2023-11-17 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-11-17 16:01 pgsql: Allow tests to pass in OpenSSL FIPS mode (TAP tests) Peter Eisentraut <peter@eisentraut.org>
2023-11-17 16:59 pgsql: Allow tests to pass in OpenSSL FIPS mode (rest) Peter Eisentraut <peter@eisentraut.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox