forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc4342c9
committed
Fix removal of files generated by TAP tests for SSL
001_ssltests.pl and 002_scram.pl both generated an extra file for aclient key used in the tests that were not removed. In Debian, thiscauses repeated builds to fail.The code refactoring done in4dc6355 broke the cleanup done in001_ssltests.pl, and the new tests added in 002_scram.pl viad6e612fforgot the removal of one file. While on it, fix a second issueintroduced in 002_scram.pl where we use the same file name in 001 and002 for the temporary client key whose permissions are changed in thetest, as using the same file name in both tests could cause failureswith parallel jobs of src/test/ssl/ if one test removes a file stillneeded by the second test.Reported-by: Felix LechnerAuthor: Daniel Gustafsson, Felix LechnerReviewed-by: Tom Lane, Michael PaquierDiscussion:https://postgr.es/m/CAFHYt543sjX=Cm_aEeoejStyP47C+Y3+Wh6WbirLXsgUMaw7iw@mail.gmail.comBackpatch-through: 131 parent40efbf8 commitc4342c9
2 files changed
+14
-6
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 |
| - | |
| 55 | + | |
| 56 | + | |
56 | 57 |
| |
57 | 58 |
| |
| 59 | + | |
58 | 60 |
| |
59 | 61 |
| |
60 | 62 |
| |
|
Lines changed: 11 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
96 | 99 |
| |
97 |
| - | |
| 100 | + | |
98 | 101 |
| |
99 | 102 |
| |
100 | 103 |
| |
101 | 104 |
| |
| 105 | + | |
| 106 | + | |
| 107 | + | |
102 | 108 |
|
0 commit comments
Comments
(0)