forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit14a737b
committed
Fix and improve TAP tests for pg_hba.conf and regexps
The new tests have been reporting a warning hidden in the logs, as of"Odd number of elements in hash assignment" (perlcritic or similar didnot report an issue, actually). This comes down to a typo in the test"matching regexp for username" for a double-quoted regexp using commas,where we passed an extra argument. The test is intended to pass, butthis was causing the test to fail. This also pointed out that thenewly-added role "md5,role" lacks an entry in the password file used toprovide the password, so add one.While on it, make the tests pickier by checking the contents of the logsgenerated on successful authentication.Oversights in8fea868.1 parent8fea868 commit14a737b
1 file changed
+13
-6
lines changedLines changed: 13 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
204 | 204 |
| |
205 | 205 |
| |
206 | 206 |
| |
| 207 | + | |
207 | 208 |
| |
208 | 209 |
| |
209 | 210 |
| |
210 | 211 |
| |
211 | 212 |
| |
212 | 213 |
| |
213 |
| - | |
214 |
| - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
215 | 217 |
| |
216 | 218 |
| |
217 | 219 |
| |
| |||
223 | 225 |
| |
224 | 226 |
| |
225 | 227 |
| |
226 |
| - | |
227 |
| - | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
228 | 231 |
| |
229 | 232 |
| |
230 | 233 |
| |
231 | 234 |
| |
232 | 235 |
| |
233 |
| - | |
234 |
| - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
235 | 242 |
| |
236 | 243 |
| |
237 | 244 |
| |
|
0 commit comments
Comments
(0)