summaryrefslogtreecommitdiff
path: root/tests/data/test1455
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-12-19 16:45:53 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-12-19 23:03:33 +0100
commit25b69c482f45c7acd817920bd8fdf68887be51a2 (patch)
treee452c3b9b2fbd4dd03dd0c7782a2f2b859c410e0 /tests/data/test1455
parentb4c9982382469398115cc0e3e0747e79db083455 (diff)
downloadcurl-25b69c482f45c7acd817920bd8fdf68887be51a2.tar.gz
sws: search for "Testno:" header uncondtionally if no testno
Even if the initial request line wasn't found. With the fix to 1455, the test number is now detected correctly. (Problem found when running tests in random order.) Closes #4744
Diffstat (limited to 'tests/data/test1455')
-rw-r--r--tests/data/test14553
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/data/test1455 b/tests/data/test1455
index cbe6fe22e..8483d7bb8 100644
--- a/tests/data/test1455
+++ b/tests/data/test1455
@@ -37,7 +37,7 @@ http
HTTP GET when PROXY Protocol enabled
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1455 --haproxy-protocol
+http://%HOSTIP:%HTTPPORT/1455 --haproxy-protocol -H "Testno: 1455"
</command>
<features>
proxy
@@ -58,6 +58,7 @@ proxy-line
GET /1455 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
+Testno: 1455
</protocol>
</verify>