From d17db5713a482037773a101b57d27d91827a5b2e Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Mon, 16 May 2022 10:45:41 +0200 Subject: [PATCH] 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 --- tests/data/test412 | 2 +- tests/data/test413 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3