forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit15b6d21
committed
Force run of pg_upgrade in the build directory in its TAP test
TAP tests are run from their own directory in the source tree, and in aVPATH build the execution of the pg_upgrade command was leaving behind afile in the source tree, that should be left untouched. In order toavoid this issue, the test moves to PostgreSQL::Test::Utils::tmp_check,so as any files generated by pg_upgrade do not impact the source tree,but the build tree. This has as nice side-effect to make unnessary thepresence of such files in pg_upgrade's .gitignore and Makefile. Thisstrategy is similar to psql's test 010_tab_completion.pl, though thereasons behind this choice are different.In passing, fix one misleading test name that was added by99f6f19.Per discussion with Peter Eisentraut, Andrew Dunstan, Tom Lane, AndresFreund and myself.Discussion:https://postgr.es/m/f80ace33-11fb-1cd3-20f8-98f51d151088@enterprisedb.com1 parent1fbe940 commit15b6d21
3 files changed
+7
-6
lines changedLines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
4 |
| - | |
5 |
| - | |
6 | 3 |
| |
7 | 4 |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 |
| - | |
52 |
| - | |
| 51 | + | |
53 | 52 |
| |
54 | 53 |
| |
55 | 54 |
| |
|
Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
206 | 206 |
| |
207 | 207 |
| |
208 | 208 |
| |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
209 | 214 |
| |
210 | 215 |
| |
211 | 216 |
| |
| |||
238 | 243 |
| |
239 | 244 |
| |
240 | 245 |
| |
241 |
| - | |
| 246 | + | |
242 | 247 |
| |
243 | 248 |
| |
244 | 249 |
| |
|
0 commit comments
Comments
(0)