From: Daniel Stenberg Date: Tue, 21 Feb 2023 12:31:59 +0000 (+0100) Subject: test1278: verify that an extra --no-remote-name cause no warning X-Git-Tag: curl-8_0_0~173 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e3da5155019e118e4acaeb6370d3047c7ab1ad7;p=thirdparty%2Fcurl.git test1278: verify that an extra --no-remote-name cause no warning --- diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index 0190eaa681..7ad82f9b49 100644 --- a/tests/data/Makefile.inc +++ b/tests/data/Makefile.inc @@ -160,7 +160,7 @@ test1239 test1240 test1241 test1242 test1243 test1244 test1245 test1246 \ test1247 test1248 test1249 test1250 test1251 test1252 test1253 test1254 \ test1255 test1256 test1257 test1258 test1259 test1260 test1261 test1262 \ test1263 test1264 test1265 test1266 test1267 test1268 test1269 test1270 \ -test1271 test1272 test1273 test1274 test1275 test1276 test1277 \ +test1271 test1272 test1273 test1274 test1275 test1276 test1277 test1278 \ \ test1280 test1281 test1282 test1283 test1284 test1285 test1286 test1287 \ test1288 test1289 test1290 test1291 test1292 test1293 test1294 test1295 \ diff --git a/tests/data/test1278 b/tests/data/test1278 new file mode 100644 index 0000000000..ba30569088 --- /dev/null +++ b/tests/data/test1278 @@ -0,0 +1,48 @@ + + + +--no-remote-name + + + +# +# Server-side + + +HTTP/1.1 200 OK +Date: Tue, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT +ETag: "21025-dc7-39462498" +Accept-Ranges: bytes +Content-Length: 6 +Connection: close +Content-Type: text/html +Funny-head: yesyes + +-foo- + + + +# +# Client-side + + +http + + +verify extra --no-remote-name + + +http://%HOSTIP:%HTTPPORT/%TESTNUMBER --no-progress-meter -o log/out%TESTNUMBER --no-remote-name -w '%{stderr}yes\n' + + + +# +# Verify data after the test has been "shot" + + +yes + + +