]> granicus.if.org Git - curl/commitdiff
tests: use connection-monitor and verify results
authorDaniel Stenberg <daniel@haxx.se>
Thu, 5 Jul 2012 09:20:18 +0000 (11:20 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 5 Jul 2012 09:24:23 +0000 (11:24 +0200)
Test 1008 and 206 don't show the disconnect since it happens when SWS
awaits a new request, but 503 does and so the verify section needs that
string added.

tests/data/test1008
tests/data/test206
tests/data/test503

index 251a6e8f6b876367c5157b0f2c12a2f2f8b21379..5c53266684e0f3c2cdfcd911a4b17c58a0d604b5 100644 (file)
@@ -11,6 +11,9 @@ HTTP proxy NTLM auth
 
 # Server-side
 <reply>
+<servercmd>
+connection-monitor
+</servercmd>
 
 # this is returned first since we get no proxy-auth
 <data1001>
index caf9113f1c1c48505a4a639162e50dfccf742d2b..8ca31e34bbf53bbf9ee2930480db15c09ff1e2e6 100644 (file)
@@ -12,6 +12,9 @@ HTTP proxy Digest auth
 
 # Server-side
 <reply>
+<servercmd>
+connection-monitor
+</servercmd>
 
 # this is returned first since we get no proxy-auth
 <data>
index 4b0ab8a437e12c2934bd5d6ed33bf1cb9b88e328..2acfc4a16d38dfc5f9150b02f6f521ed17b59d86 100644 (file)
@@ -77,6 +77,7 @@ Authorization: Basic dGVzdDppbmc=
 Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 \r
+[DISCONNECT]
 </protocol>
 </verify>
 </testcase>