forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0da3c1b
committed
Fix portability issue with gzip in TAP test of pg_receivewal
The OpenBSD implementation of gzip considers only files suffixed by "Z","gz", "z", "tgz" or "taz" as valid targets, discarding anything else andmaking a command using --test exit with an error code of 512 if anythinginvalid is found. The test introduced inffc9dda tested a WAL segmentsuffixed as .gz.partial, enough to make the test fail.Testing only a full segment is fine enough in terms of coverage, sosimplify the code by discarding the .gz.partial segment in this check.This should be enough to make the test pass with OpenBSD environments.Per report from curculio.Discussion:https://postgr.es/m/YPAdf9r5aJbDoHoq@paquier.xyz1 parent768ea9b commit0da3c1b
1 file changed
+2
-3
lines changedLines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
115 |
| - | |
116 |
| - | |
| 115 | + | |
| 116 | + | |
117 | 117 |
| |
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
121 | 121 |
| |
122 | 122 |
| |
123 |
| - | |
124 | 123 |
| |
125 | 124 |
| |
126 | 125 |
| |
|
0 commit comments
Comments
(0)