tests: don't call HTTP errors OK in test cases

Some HTTP errors codes were accompanied by the text OK, which causes
some cognitive dissonance when reading them.
This commit is contained in:
Dan Fandrich 2023-08-16 09:03:53 -07:00
parent 86179afcbb
commit 814dc4b240
4 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@ globbing
<reply>
<data>
HTTP/1.1 404 OK
HTTP/1.1 404 NOT OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 6
Funny-head: yesyes

View File

@ -10,7 +10,7 @@ retry
# Server-side
<reply>
<data nocheck="yes">
HTTP/1.1 503 OK swsbounce
HTTP/1.1 503 BAD swsbounce
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 21
@ -58,7 +58,7 @@ Accept: */*
</protocol>
<stdout>
HTTP/1.1 503 OK swsbounce
HTTP/1.1 503 BAD swsbounce
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 21

View File

@ -10,7 +10,7 @@ Expect
<reply>
# 417 means the server didn't like the Expect header
<data>
HTTP/1.1 417 OK swsbounce
HTTP/1.1 417 BAD swsbounce
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 0
@ -25,7 +25,7 @@ Content-Length: 10
blablabla
</data1>
<datacheck>
HTTP/1.1 417 OK swsbounce
HTTP/1.1 417 BAD swsbounce
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 0

View File

@ -10,7 +10,7 @@ retry
# Server-side
<reply>
<data>
HTTP/1.1 503 OK
HTTP/1.1 503 BAD
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 21
Retry-After: 200