]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test412/413: Use version macro for User-Agent
authorDaniel Gustafsson <daniel@yesql.se>
Mon, 16 May 2022 08:45:41 +0000 (10:45 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Mon, 16 May 2022 08:45:41 +0000 (10:45 +0200)
Commit 46d45ea3a incorrectly hardcoded the User-Agent in the test
output file which breaks when curlver is updated. Shift to using
the %VERSION macro instead.

Closes: #8856
tests/data/test412
tests/data/test413

index d7067a926e9524f41e1def9d4919696664d046c8..0dbc0cea2852850bfc27628e24eda3320f8c73c6 100644 (file)
@@ -55,7 +55,7 @@ h1 whohoo 12345 h1 %HOSTIP %HTTPPORT "20290222 22:19:28" 0 0
 <protocol>
 GET /%TESTNUMBER HTTP/1.1\r
 Host: whohoo.:12345\r
-User-Agent: curl/7.83.1-DEV\r
+User-Agent: curl/%VERSION\r
 Accept: */*\r
 Alt-Used: %HOSTIP:%HTTPPORT\r
 \r
index ef6319d61c21df066c1045dd21b577eb2780d113..975b3e37cb3ff88e4db03b5c7e8b3f85cacabfab 100644 (file)
@@ -55,7 +55,7 @@ h1 whohoo. 12345 h1 %HOSTIP %HTTPPORT "20290222 22:19:28" 0 0
 <protocol>
 GET /%TESTNUMBER HTTP/1.1\r
 Host: whohoo:12345\r
-User-Agent: curl/7.83.1-DEV\r
+User-Agent: curl/%VERSION\r
 Accept: */*\r
 Alt-Used: %HOSTIP:%HTTPPORT\r
 \r