forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit13d856e
committed
Make TAP tests work on Windows.
On Windows, use listen_address=127.0.0.1 to allow TCP connections. We werealready using "pg_regress --config-auth" to set up HBA appropriately. Thestandard_initdb helper function now sets up the server'sunix_socket_directories or listen_addresses in the config file, so thatthey don't need to be specified in the pg_ctl command line anymore. Thatway, the pg_ctl invocations in test programs don't need to differ betweenWindows and Unix.Add another helper function to configure the server's pg_hba.conf to allowreplication connections. The configuration is done similarly to "pg_regress--config-auth": trust on domain sockets on Unix, and SSPI authentication onWindows.Replace calls to "cat" and "touch" programs with built-in perl code, asthose programs don't normally exist on Windows.Add instructions in the docs on how to install IPC::Run on Windows. Adjustvcregress.pl to not replace PERL5LIB completely in vcregress.pl, becauseotherwise cannot install IPC::Run in a non-standard location easily.Michael Paquier, reviewed by Noah Misch, some additional tweaking by me.1 parent5f10660 commit13d856e
File tree
9 files changed
+232
-101
lines changed- doc/src/sgml
- src
- bin
- pg_basebackup/t
- pg_ctl/t
- pg_rewind
- test/perl
- tools/msvc
9 files changed
+232
-101
lines changedLines changed: 24 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
439 | 439 |
| |
440 | 440 |
| |
441 | 441 |
| |
| 442 | + | |
442 | 443 |
| |
443 | 444 |
| |
444 | 445 |
| |
| |||
451 | 452 |
| |
452 | 453 |
| |
453 | 454 |
| |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
454 | 478 |
| |
455 | 479 |
| |
456 | 480 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
339 | 339 |
| |
340 | 340 |
| |
341 | 341 |
| |
342 |
| - | |
| 342 | + | |
343 | 343 |
| |
344 | 344 |
| |
345 | 345 |
| |
|
Lines changed: 72 additions & 67 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
| 4 | + | |
4 | 5 |
| |
5 | 6 |
| |
6 | 7 |
| |
| |||
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
| 29 | + | |
33 | 30 |
| |
34 | 31 |
| |
35 | 32 |
| |
| |||
62 | 59 |
| |
63 | 60 |
| |
64 | 61 |
| |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 |
| - | |
111 |
| - | |
112 |
| - | |
113 |
| - | |
114 |
| - | |
115 |
| - | |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 | 62 |
| |
121 | 63 |
| |
122 | 64 |
| |
| |||
137 | 79 |
| |
138 | 80 |
| |
139 | 81 |
| |
140 |
| - | |
141 |
| - | |
142 |
| - | |
143 |
| - | |
144 |
| - | |
145 |
| - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
146 | 151 |
| |
147 | 152 |
| |
148 | 153 |
| |
| |||
169 | 174 |
| |
170 | 175 |
| |
171 | 176 |
| |
172 |
| - | |
| 177 | + | |
173 | 178 |
| |
174 | 179 |
| |
175 | 180 |
| |
|
Lines changed: 11 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
3 | 4 |
| |
4 | 5 |
| |
5 | 6 |
| |
| |||
15 | 16 |
| |
16 | 17 |
| |
17 | 18 |
| |
18 |
| - | |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
22 |
| - | |
23 |
| - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
24 | 32 |
| |
25 | 33 |
| |
26 | 34 |
| |
|
Lines changed: 0 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 | 13 |
| |
18 | 14 |
| |
19 | 15 |
| |
|
Lines changed: 7 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
192 | 192 |
| |
193 | 193 |
| |
194 | 194 |
| |
195 |
| - | |
196 |
| - | |
197 |
| - | |
198 |
| - | |
| 195 | + | |
199 | 196 |
| |
200 | 197 |
| |
201 | 198 |
| |
202 | 199 |
| |
203 |
| - | |
204 |
| - | |
| 200 | + | |
205 | 201 |
| |
206 | 202 |
| |
207 | 203 |
| |
208 |
| - | |
209 | 204 |
| |
210 | 205 |
| |
211 | 206 |
| |
| |||
227 | 222 |
| |
228 | 223 |
| |
229 | 224 |
| |
230 |
| - | |
231 |
| - | |
| 225 | + | |
232 | 226 |
| |
233 | 227 |
| |
234 | 228 |
| |
| |||
264 | 258 |
| |
265 | 259 |
| |
266 | 260 |
| |
267 |
| - | |
| 261 | + | |
268 | 262 |
| |
269 | 263 |
| |
270 | 264 |
| |
| |||
282 | 276 |
| |
283 | 277 |
| |
284 | 278 |
| |
285 |
| - | |
286 |
| - | |
| 279 | + | |
| 280 | + | |
287 | 281 |
| |
288 | 282 |
| |
289 | 283 |
| |
| |||
323 | 317 |
| |
324 | 318 |
| |
325 | 319 |
| |
326 |
| - | |
327 |
| - | |
| 320 | + | |
328 | 321 |
| |
329 | 322 |
| |
330 | 323 |
| |
|
0 commit comments
Comments
(0)