- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit1a9d802
committed
Fix some issues with TAP tests for postgres -C
This addresses two issues with the tests added in0c39c29 for runtimeGUCs:- Re-enable the test on Msys. The test could fail because of \r\ngenerated by Msys perl.0d91c52 has taken care of this issue.- Allow the test to run in the context of a privileged account. CIsrunning under privileged accounts would fail on permission failures, asreported by Andres Freund. This issue is fixed by wrapping the postgrescommand within pg_ctl as the latter will take care of any permissionsneeded. The test checking a failure of postgres -C for a runtimeparameter with an instance running is removed, as pg_ctl produces anunstable error code (no need for a CI to reproduce that).Discussion:https://postgr.es/m/20210921032040.lyl4lcax37aedx2x@alap3.anarazel.de1 parent0d91c52 commit1a9d802
1 file changed
+14
-23
lines changedLines changed: 14 additions & 23 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| |||
181 | 181 |
| |
182 | 182 |
| |
183 | 183 |
| |
184 |
| - | |
185 |
| - | |
186 |
| - | |
187 |
| - | |
188 |
| - | |
189 |
| - | |
190 |
| - | |
191 |
| - | |
192 |
| - | |
193 |
| - | |
194 |
| - | |
195 |
| - | |
196 |
| - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
197 | 197 |
| |
198 | 198 |
| |
199 | 199 |
| |
200 | 200 |
| |
201 | 201 |
| |
202 | 202 |
| |
203 |
| - | |
204 |
| - | |
205 |
| - | |
206 |
| - | |
207 |
| - | |
208 |
| - | |
209 |
| - | |
210 |
| - | |
211 |
| - | |
212 | 203 |
| |
213 | 204 |
| |
214 | 205 |
| |
|
0 commit comments
Comments
(0)