forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd5ab9a8
committed
Simplify TAP tests of pg_dump for connection strings
The last set of scenarios did an initialization of nodes followed by anextra command to set up the authentication policy with pg_regress--config-auth. This configuration step can be integrated directly usingthe option auth_extra from PostgresNode::init when initializing thenode, saving from one extra command. On Windows, this also restrictsmore pg_ident.conf for the SSPI user mapping by removing the entry ofthe OS user running the test, which is not needed anyway.Note that IPC::Run mishandles double quotes, hence the restore user nameis changed to map with that. This was already done in the test as alater step, but not in a consistent way, causing the switch to useauth_extra to fail.Found while reviewingca129e5.Discussion:https://postgr.es/m/20190703062024.GD3084@paquier.xyz1 parent8abc13a commitd5ab9a8
1 file changed
+12
-20
lines changedLines changed: 12 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
171 | 171 |
| |
172 | 172 |
| |
173 | 173 |
| |
| 174 | + | |
| 175 | + | |
174 | 176 |
| |
175 | 177 |
| |
176 | 178 |
| |
177 | 179 |
| |
178 | 180 |
| |
179 | 181 |
| |
180 |
| - | |
181 |
| - | |
182 |
| - | |
183 |
| - | |
184 |
| - | |
185 |
| - | |
186 |
| - | |
187 |
| - | |
188 |
| - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
189 | 187 |
| |
190 | 188 |
| |
191 | 189 |
| |
| |||
207 | 205 |
| |
208 | 206 |
| |
209 | 207 |
| |
210 |
| - | |
211 |
| - | |
212 | 208 |
| |
213 |
| - | |
214 |
| - | |
215 |
| - | |
216 |
| - | |
217 |
| - | |
218 |
| - | |
219 |
| - | |
220 |
| - | |
221 |
| - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
222 | 214 |
| |
223 | 215 |
| |
224 | 216 |
| |
|
0 commit comments
Comments
(0)