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
This commit is contained in:
Daniel Gustafsson 2022-05-16 10:45:41 +02:00
parent bf327a9dfe
commit d17db5713a
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ h1 whohoo 12345 h1 %HOSTIP %HTTPPORT "20290222 22:19:28" 0 0
<protocol>
GET /%TESTNUMBER HTTP/1.1
Host: whohoo.:12345
User-Agent: curl/7.83.1-DEV
User-Agent: curl/%VERSION
Accept: */*
Alt-Used: %HOSTIP:%HTTPPORT

View File

@ -55,7 +55,7 @@ h1 whohoo. 12345 h1 %HOSTIP %HTTPPORT "20290222 22:19:28" 0 0
<protocol>
GET /%TESTNUMBER HTTP/1.1
Host: whohoo:12345
User-Agent: curl/7.83.1-DEV
User-Agent: curl/%VERSION
Accept: */*
Alt-Used: %HOSTIP:%HTTPPORT