|
72 | 72 | ],
|
73 | 73 | [
|
74 | 74 | q{postgresql://host/db?u%7aer=someotheruser&port=12345}, q{},
|
75 |
| - q{uri-regress: invalid URI query parameter: "uzer"}, |
| 75 | + q{libpq_uri_regress: invalid URI query parameter: "uzer"}, |
76 | 76 | ],
|
77 | 77 | [
|
78 | 78 | q{postgresql://host:12345?user=uri-user},
|
|
114 | 114 | ],
|
115 | 115 | [
|
116 | 116 | q{postgresql://host?uzer=}, q{},
|
117 |
| - q{uri-regress: invalid URI query parameter: "uzer"}, |
| 117 | + q{libpq_uri_regress: invalid URI query parameter: "uzer"}, |
118 | 118 | ],
|
119 | 119 | [
|
120 | 120 | q{postgre://},
|
121 | 121 | q{},
|
122 |
| - q{uri-regress: missing "=" after "postgre://" in connection info string}, |
| 122 | + q{libpq_uri_regress: missing "=" after "postgre://" in connection info string}, |
123 | 123 | ],
|
124 | 124 | [
|
125 | 125 | q{postgres://[::1},
|
126 | 126 | q{},
|
127 |
| - q{uri-regress: end of string reached when looking for matching "]" in IPv6 host address in URI: "postgres://[::1"}, |
| 127 | + q{libpq_uri_regress: end of string reached when looking for matching "]" in IPv6 host address in URI: "postgres://[::1"}, |
128 | 128 | ],
|
129 | 129 | [
|
130 | 130 | q{postgres://[]},
|
131 | 131 | q{},
|
132 |
| - q{uri-regress: IPv6 host address may not be empty in URI: "postgres://[]"}, |
| 132 | + q{libpq_uri_regress: IPv6 host address may not be empty in URI: "postgres://[]"}, |
133 | 133 | ],
|
134 | 134 | [
|
135 | 135 | q{postgres://[::1]z},
|
136 | 136 | q{},
|
137 |
| - q{uri-regress: unexpected character "z" at position 17 in URI (expected ":" or "/"): "postgres://[::1]z"}, |
| 137 | + q{libpq_uri_regress: unexpected character "z" at position 17 in URI (expected ":" or "/"): "postgres://[::1]z"}, |
138 | 138 | ],
|
139 | 139 | [
|
140 | 140 | q{postgresql://host?zzz},
|
141 | 141 | q{},
|
142 |
| - q{uri-regress: missing key/value separator "=" in URI query parameter: "zzz"}, |
| 142 | + q{libpq_uri_regress: missing key/value separator "=" in URI query parameter: "zzz"}, |
143 | 143 | ],
|
144 | 144 | [
|
145 | 145 | q{postgresql://host?value1&value2},
|
146 | 146 | q{},
|
147 |
| - q{uri-regress: missing key/value separator "=" in URI query parameter: "value1"}, |
| 147 | + q{libpq_uri_regress: missing key/value separator "=" in URI query parameter: "value1"}, |
148 | 148 | ],
|
149 | 149 | [
|
150 | 150 | q{postgresql://host?key=key=value},
|
151 | 151 | q{},
|
152 |
| - q{uri-regress: extra key/value separator "=" in URI query parameter: "key"}, |
| 152 | + q{libpq_uri_regress: extra key/value separator "=" in URI query parameter: "key"}, |
153 | 153 | ],
|
154 | 154 | [
|
155 | 155 | q{postgres://host?dbname=%XXfoo}, q{},
|
156 |
| - q{uri-regress: invalid percent-encoded token: "%XXfoo"}, |
| 156 | + q{libpq_uri_regress: invalid percent-encoded token: "%XXfoo"}, |
157 | 157 | ],
|
158 | 158 | [
|
159 | 159 | q{postgresql://a%00b},
|
160 | 160 | q{},
|
161 |
| - q{uri-regress: forbidden value %00 in percent-encoded value: "a%00b"}, |
| 161 | + q{libpq_uri_regress: forbidden value %00 in percent-encoded value: "a%00b"}, |
162 | 162 | ],
|
163 | 163 | [
|
164 | 164 | q{postgresql://%zz}, q{},
|
165 |
| - q{uri-regress: invalid percent-encoded token: "%zz"}, |
| 165 | + q{libpq_uri_regress: invalid percent-encoded token: "%zz"}, |
166 | 166 | ],
|
167 | 167 | [
|
168 | 168 | q{postgresql://%1}, q{},
|
169 |
| - q{uri-regress: invalid percent-encoded token: "%1"}, |
| 169 | + q{libpq_uri_regress: invalid percent-encoded token: "%1"}, |
170 | 170 | ],
|
171 | 171 | [
|
172 | 172 | q{postgresql://%}, q{},
|
173 |
| - q{uri-regress: invalid percent-encoded token: "%"}, |
| 173 | + q{libpq_uri_regress: invalid percent-encoded token: "%"}, |
174 | 174 | ],
|
175 | 175 | [ q{postgres://@host}, q{host='host' (inet)}, q{}, ],
|
176 | 176 | [ q{postgres://host:/}, q{host='host' (inet)}, q{}, ],
|
@@ -224,7 +224,7 @@ sub test_uri
|
224 | 224 |
|
225 | 225 | $expect{'exit'} = $expect{stderr} eq '';
|
226 | 226 |
|
227 |
| - my $cmd = [ 'uri-regress', $uri ]; |
| 227 | + my $cmd = [ 'libpq_uri_regress', $uri ]; |
228 | 228 | $result{exit} = IPC::Run::run $cmd, '>', \$result{stdout}, '2>',
|
229 | 229 | \$result{stderr};
|
230 | 230 |
|
|
0 commit comments