From: Daniel Gustafsson Date: Mon, 16 May 2022 08:45:41 +0000 (+0200) Subject: test412/413: Use version macro for User-Agent X-Git-Tag: curl-7_84_0~190 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d17db5713a482037773a101b57d27d91827a5b2e;p=thirdparty%2Fcurl.git test412/413: Use version macro for User-Agent 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 --- diff --git a/tests/data/test412 b/tests/data/test412 index d7067a926e..0dbc0cea28 100644 --- a/tests/data/test412 +++ b/tests/data/test412 @@ -55,7 +55,7 @@ h1 whohoo 12345 h1 %HOSTIP %HTTPPORT "20290222 22:19:28" 0 0 GET /%TESTNUMBER HTTP/1.1 Host: whohoo.:12345 -User-Agent: curl/7.83.1-DEV +User-Agent: curl/%VERSION Accept: */* Alt-Used: %HOSTIP:%HTTPPORT diff --git a/tests/data/test413 b/tests/data/test413 index ef6319d61c..975b3e37cb 100644 --- a/tests/data/test413 +++ b/tests/data/test413 @@ -55,7 +55,7 @@ h1 whohoo. 12345 h1 %HOSTIP %HTTPPORT "20290222 22:19:28" 0 0 GET /%TESTNUMBER HTTP/1.1 Host: whohoo:12345 -User-Agent: curl/7.83.1-DEV +User-Agent: curl/%VERSION Accept: */* Alt-Used: %HOSTIP:%HTTPPORT