cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: testsuite failure -- test 91

From: David Byron <DByron_at_everdreamcorp.com>
Date: Thu, 18 Dec 2003 07:53:14 -0800

On Thu, 18 Dec 2003, Daniel Stenberg wrote:

> Check the log/sws.log file after a test failure to see if it
> includes anything out of interest.

When broken, it contains:

New client connected
Wrote request input to log/server.input
Got request: GET /91 HTTP/1.1
Found test number 91 in path
Received request, now send response number 91 part 0
Fetch response data, test 91 part 0
connection close instruction swsclose found in response
Response sent!
instructed to close connection after server-reply
Closing client connection

When working, it starts the same, but continues with

New client connected
Wrote request input to log/server.input
Got request: GET /91 HTTP/1.1
Found test number 91 in path
Received NTLM type-1, sending back data 1001
Received request, now send response number 91 part 1001
Fetch response data, test 91 part 1001
Response sent!
persistant connection, awaits new request
Wrote request input to log/server.input
Got request: GET /91 HTTP/1.1
Found test number 91 in path
Received NTLM type-3, sending back data 1002
Received request, now send response number 91 part 1002
Fetch response data, test 91 part 1002
connection close instruction swsclose found in response
Response sent!
instructed to close connection after server-reply
Closing client connection

The above is when I run curl "manually", not via runtests.pl, so there's no
verifiedserver stuff. Doesn't seem particularly interesting, but maybe.

> In my end, I've changed the order data is checked in the test
> script so that protocol and data are checked before the
> return code is checked, which can prove useful for this as
> the failed read will make the downloaded data not to be what
> the test itself expects. It'll show exactly when it breaks.

Here's the output of runtests.pl (1.103). Hope this helps.

$ ./runtests.pl 91
********* System characteristics ********
* curl 7.11.0-CVS (i686-pc-cygwin)
* libcurl/7.11.0-CVS OpenSSL/0.9.7c zlib/1.1.4
* Host: DByron
* System: CYGWIN_NT-5.1 DByron 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown
unknown Cygwin
* Server SSL: OFF
* libcurl SSL: ON
* libcurl debug: ON
* valgrind: OFF
*****************************************
test 091...[HTTP with NTLM/Negotiate/Basic, anyauth and user with domain,
with size 0]

 data FAILED:
--- .expected 2003-12-18 07:49:16.353595200 -0800
+++ .generated 2003-12-18 07:49:16.343580800 -0800
@@ -6,14 +6,3 @@
 Content-Type: text/html; charset=iso-8859-1
 Content-Length: 0

-HTTP/1.1 401 Now gimme that second request of crap
-Server: Microsoft-IIS/5.0
-Content-Length: 34
-Content-Type: text/html; charset=iso-8859-1
-WWW-Authenticate: NTLM
TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBD
AAEAEgBFAEwASQBTAEEAQgBFAFQASAAE
ABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4A
aQBjAGUAZABlAHYALgBuAHUAAAAAAA==
-
-HTTP/1.1 200 Things are fine in server land swsclose
-Server: Microsoft-IIS/5.0
-Content-Type: text/html; charset=iso-8859-1
-
-Finally, this is the real page!

 - abort tests
TESTDONE: 0 tests out of 1 reported OK: 0%
TESTFAIL: These test cases failed: 91
TESTDONE: 1 tests were considered.

-DB

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-18