pgsql: Allow tests to pass in OpenSSL FIPS mode (rest) - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Allow tests to pass in OpenSSL FIPS mode (rest)
Date
Msg-id E1r42BK-005uXz-Bd@gemulon.postgresql.org
Whole thread Raw
List 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@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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Don't specify number of dimensions in cases where we don't know
Next
From: Andres Freund
Date:
Subject: pgsql: meson: Change default of 'selinux' feature option to auto