forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9685d73
committed
Fix issues with TAP tests of pg_verify_checksums
Two issues have been spotted and get fixed here:- When checking for corrupted files, make sure that pg_verify_checksumscomplains about the correct file. In order to make the logic morerobust, all files created are immediately removed once checks on themare done. The error message generated by pg_verify_checksums also nowincludes the file name it sees as corrupted.- Before running corruption-related tests, empty files are generatedwhich used names mapping with the corrupted files, potentially leadingto conflicts. So use different set of names for both.Author: Michael BanckDiscussion:https://postgr.es/m/20181119181119.GC23740@nighthawk.caipicrew.dd-dns.de1 parentcb09903 commit9685d73
1 file changed
+15
-11
lines changedLines changed: 15 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
107 |
| - | |
| 107 | + | |
| 108 | + | |
108 | 109 |
| |
109 | 110 |
| |
110 | 111 |
| |
111 | 112 |
| |
112 |
| - | |
| 113 | + | |
113 | 114 |
| |
114 | 115 |
| |
| 116 | + | |
| 117 | + | |
115 | 118 |
| |
116 | 119 |
| |
117 | 120 |
| |
118 | 121 |
| |
119 |
| - | |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + |
0 commit comments
Comments
(0)