Commit f8c0a95
committed
Fix: pgcrypto regression test failures on Rocky 8
This commit fixes two issues preventing the `ic-contrib` regression
tests from passing on Rocky Linux 8 environments (FIPS enabled).
1. Fixed regex matching for "Some PX error": The previous `init_file`
rule missed a space in the error message pattern (`ERROR: Cannot
use...`), causing FIPS error masking to fail. Added the missing space
to correctly match the output.
2. Masked ephemeral line numbers: Different compilation environments
(Rocky 8 vs 9) produce different line number references in error
messages (e.g., pgcrypto.c:213 vs 215). Added `matchsubs` rules to
mask these line numbers with `(pgcrypto.c:XXX)` and updated
`expected/fips_2.out` to match, ensuring consistent test results
across platforms.
Changes:
* Modified src/test/regress/init_file
* Updated contrib/pgcrypto/expected/fips_2.out
See: #15391 parent e3db1c0 commit f8c0a95
2 files changed
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
139 | 145 | | |
140 | 146 | | |
141 | 147 | | |
| |||
0 commit comments