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:
parent
bf327a9dfe
commit
d17db5713a
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user