diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-05-21 12:01:48 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-05-21 12:01:48 +0900 |
commit | eaa5ebe046c4f247d843bdfd36da4c28be9dbfab (patch) | |
tree | 58f5534d650174201cb8677f794b9bb112b1464f /src/backend/utils/adt/ruleutils.c | |
parent | 5e5fa323350060360799004f96840bbf3cb51e49 (diff) | |
download | postgresql-eaa5ebe046c4f247d843bdfd36da4c28be9dbfab.tar.gz postgresql-eaa5ebe046c4f247d843bdfd36da4c28be9dbfab.zip |
Improve and fix some issues in the TAP tests of pg_upgrade
This is based on a set of suggestions from Noah, with the following
changes made:
- The set of databases created in the tests are now prefixed with
"regression" to not trigger any warnings with name restrictions when
compiling the code with -DENFORCE_REGRESSION_TEST_NAME_RESTRICTIONS, and
now only the first name checks after the Windows case of double quotes
mixed with backslashes.
- Fix an issue with EXTRA_REGRESS_OPTS, which were not processed in a
way consistent with 027_stream_regress.pl (missing space between the
option string and pg_regress). This got introduced in 7dd3ee5.
- Add a check on the exit code of the pg_regress command, to catch
failures after running the regression tests.
Reviewed-by: Noah Misch
Discussion: https://postgr.es/m/YoHhWD5vQzb2mmiF@paquier.xyz
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions