pgsql: Allow tests to pass in OpenSSL FIPS mode (rest)

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Allow tests to pass in OpenSSL FIPS mode (rest)
Date: 2023-11-17 16:59:02
Message-ID: E1r42BK-005uXz-Bd@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)sss(dot)pgh(dot)pa(dot)us>
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2023-11-17 18:27:29 pgsql: docs: Document --with-selinux/-Dselinux options centrally
Previous Message Tom Lane 2023-11-17 16:29:59 pgsql: Don't specify number of dimensions in cases where we don't know