forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite753ae6
committed
Add tests for regex replacement with \1 in pg_ident.conf to 0003_peer.pl
Regexp replacement with \1 in pg_ident.conf is tested in one check ofthe kerberos test suite, still it requires a dependency on--with-gssapi to be triggered. This commit adds to the test suite ofpeer authentication two tests to check the replacement of \1 in apg-username, coupled with a system-username regexp:- With a subexpression in system-username, similarly to the kerberostest suite.- Without a subexpression in system-username, checking for a failure.This had no coverage until now, and the error pattern is checked in theserver logs.Author: Jelte FennemaDiscussion:https://postgr.es/m/CAGECzQRNow4MwkBjgPxywXdJU_K3a9+Pm78JB7De3yQwwkTDew@mail.gmail.com1 parent58597ed commite753ae6
1 file changed
+24
-0
lines changedLines changed: 24 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
144 | 168 |
| |
145 | 169 |
| |
146 | 170 |
| |
|
0 commit comments
Comments
(0)