cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl-7.10.4-pre4

From: Ralph Mitchell <rmitchell_at_eds.com>
Date: Sat, 15 Mar 2003 01:10:57 -0600

Having some fun here with an old Sun Sparcstation 2 and NetBSD-1.6.

Configure went fine, build went fine, tests failed miserably... Then I realised
I didn't have perl installed... I guess configure noticed perl was missing, but
didn't do much about it. Only a minor problem, and probably not a showstopper
:)

So after installing perl I tried the tests again. Successive runs of 'make
test' come up with the same results:

    test 100... error FAILED

    test 401... protocol FAILED

    test 503... data FAILED

    TESTDONE: 104 tests out of 107 reported OK: 97%
    TESTFAIL: These test cases failed: 100 401 503

Running these tests individually gives me:

    test 100...[FTP dir list PASV]
    curl returned 7, 0 was expected
     error FAILED

     - abort tests
    Killed

-----------

    test 401...[FTPS download with strict timeout and slow CWD]
    curl returned 7, 28 was expected
     error FAILED

     - abort tests
    Killed

-----------

    test 503...[simple multi https:// through proxy with authentication info]
    0a1,6
> HTTP/1.1 200 OK
> Date: Thu, 09 Nov 2010 14:49:00 GMT
> Server: test-server/fake
> Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
> ETag: "21025-dc7-39462498"
>
     data FAILED

     - abort tests
    TESTDONE: 0 tests out of 1 reported OK: 0%
    TESTFAIL: These test cases failed: 503

At first, repeated runs of test 100 succeeded and failed on alternate runs, all
without the "Killed" message. I'm not sure why the process is getting Killed.
And now, trying it a few more times, I'm get the alternate fail/success again.

It seems like every time it fails, it leaves "perl -I. ./ftpserver.pl 8921"
running. Could this just be a timing issue with ftpserver.pl starting up??

Test 401 always fails, though the failure message is different on alternate
runs. I notice that after the above failure message, ftpserver.pl is left
running and a subsequent test 401 is slower and comes back with:

    test 401...[FTPS download with strict timeout and slow CWD]
     error OK0a1,4
> USER anonymous
> PASS curl_by_daniel_at_haxx.se
> PWD
> CWD path/to/file
     protocol FAILED

     - abort tests

Test 503 is always failing in the exact same way.

Sparc2, 40Mb memory, vanilla NetBSD, custom kernel (dropped non-sparc2 devices),
standard "install everything" build, with perl5 added (sigh...).

Ralph Mitchell

Daniel Stenberg wrote:

> On Fri, 14 Mar 2003, Roth, Kevin P. wrote:
>
> > test 500... protocol FAILED
> > test 501...OK
> > test 502...OK
> > test 503... protocol FAILED
> > test 504... error FAILED
> > TESTDONE: 93 tests out of 96 reported OK: 96%
> > TESTFAIL: These test cases failed: 500 503 504
>
> Strange. Can you run these tests stand-alone and see what they say:
>
> $ cd tests
> $ ./runtests.pl [num]
>
> For 500, 503 and 504 to see if they fail every time and some more details on
> the failures.

-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
Received on 2003-03-15