forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf523459
committed
pg_upgrade: Check for the expected error message in TAP tests.
Since pg_upgrade prints its error messages on stdout, we can't usecommand_fails_like() to check if it fails for the right reason. Thiscommit uses command_checks_all() in pg_upgrade TAP tests to check theexit status and stdout, enabling proper verification of errorreasons.Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>Discussion:https://postgr.es/m/87tt8h1vb7.fsf@wibble.ilmari.org1 parent7bbc462 commitf523459
File tree
3 files changed
+14
-3
lines changed- src/bin/pg_upgrade/t
3 files changed
+14
-3
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
396 | 396 |
| |
397 | 397 |
| |
398 | 398 |
| |
399 |
| - | |
| 399 | + | |
400 | 400 |
| |
401 | 401 |
| |
402 | 402 |
| |
| |||
408 | 408 |
| |
409 | 409 |
| |
410 | 410 |
| |
| 411 | + | |
| 412 | + | |
| 413 | + | |
411 | 414 |
| |
412 | 415 |
| |
413 | 416 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
133 |
| - | |
| 133 | + | |
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
| |||
144 | 144 |
| |
145 | 145 |
| |
146 | 146 |
| |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
147 | 152 |
| |
148 | 153 |
| |
149 | 154 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
| 44 | + | |
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
| 57 | + | |
| 58 | + | |
| 59 | + | |
57 | 60 |
| |
58 | 61 |
| |
59 | 62 |
| |
|
0 commit comments
Comments
(0)