forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8279f68
committed
Ignore more environment variables in TAP tests
Various environment variables were not getting reset in the TAP tests,which would cause failures depending on the tests or the environmentvariables involved. For example, PGSSL{MAX,MIN}PROTOCOLVERSION couldcause failures in the SSL tests. Even worse, a junk value ofPGCLIENTENCODING makes a server startup fail. The list of variablesreset is adjusted in each stable branch depending on what is supported.While on it, simplify a bit the code per a suggestion from AndrewDunstan, using a list of variables instead of doing single deletions.Reviewed-by: Andrew Dunstan, Daniel GustafssonDiscussion:https://postgr.es/m/YLbjjRpucIeZ78VQ@paquier.xyzBackpatch-through: 9.61 parent2955c2b commit8279f68
1 file changed
+32
-11
lines changedLines changed: 32 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 |
| - | |
111 |
| - | |
112 |
| - | |
113 |
| - | |
114 |
| - | |
115 |
| - | |
116 |
| - | |
117 |
| - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
118 | 139 |
| |
119 | 140 |
| |
120 | 141 |
| |
|
0 commit comments
Comments
(0)