forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7dd3ee5
committed
Fix several issues with the TAP tests of pg_upgrade
This commit addresses the following issues in the TAP tests ofpg_upgrade, introduced in322becb:- Remove --port and --host for commands that already rely on a node'senvironment PGHOST and PGPORT.- Switch from run_log() to command_ok(), as all the commands executed inthe tests should succeed.- Change EXTRA_REGRESS_OPTS to make it count as a shell fragment (fixings/OPT/OPTS on a way), to be compatible with the various Makefiles usingit as well as 027_stream_regress.pl in the recovery tests. The commandbuilt for the execution the pg_regress command is reformatted, while onit, to map with the recovery test doing the same thing (we shouldrefactor and consolidate that in the future, perhaps).- Re-add the test for database names stressing the behavior ofbackslashes with double quotes, mostly here for Windows.Tests doable with the upgrade across different major versions still workthe same way.Reported-by: Noah MischDiscussion:https://postgr.es/m/20220502042718.GB1565149@rfd.leadboat.com1 parentfe20afa commit7dd3ee5
1 file changed
+24
-30
lines changedLines changed: 24 additions & 30 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
25 |
| - | |
26 |
| - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
27 | 29 |
| |
28 | 30 |
| |
29 | 31 |
| |
| |||
70 | 72 |
| |
71 | 73 |
| |
72 | 74 |
| |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
| 75 | + | |
79 | 76 |
| |
80 | 77 |
| |
81 | 78 |
| |
| |||
87 | 84 |
| |
88 | 85 |
| |
89 | 86 |
| |
90 |
| - | |
91 |
| - | |
| 87 | + | |
92 | 88 |
| |
93 | 89 |
| |
94 | 90 |
| |
| |||
100 | 96 |
| |
101 | 97 |
| |
102 | 98 |
| |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 |
| - | |
111 |
| - | |
112 |
| - | |
113 |
| - | |
114 |
| - | |
115 |
| - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
116 | 112 |
| |
117 | 113 |
| |
118 | 114 |
| |
| |||
133 | 129 |
| |
134 | 130 |
| |
135 | 131 |
| |
136 |
| - | |
| 132 | + | |
137 | 133 |
| |
138 |
| - | |
139 |
| - | |
140 |
| - | |
141 |
| - | |
| 134 | + | |
| 135 | + | |
142 | 136 |
| |
143 | 137 |
| |
144 | 138 |
| |
| |||
232 | 226 |
| |
233 | 227 |
| |
234 | 228 |
| |
235 |
| - | |
| 229 | + | |
236 | 230 |
| |
237 | 231 |
| |
238 | 232 |
| |
|
0 commit comments
Comments
(0)