cURL / Mailing Lists / curl-users / Single Mail

curl-users

Errors running test suit when building

From: Ross Kendall <rosskendall_at_bluecarrots.com>
Date: Sun, 13 May 2001 03:16:59 +0100

I managed to configure and build curl OK (on two similar SuSE 7.1
intel/linux boxs with gcc 2.95.3) however I get these errors when running
the test suit. how serious are these errors. Can I ignore the errors, or
do I need to fix them. I also built it on another SuSE box that was almost
identical but I only got the error with test 15 (the only difference that I
can think of is that it had a 2.4.3 kernel instead of 2.2.16).

test 15...log/stdout15 and data/stdout15.txt differ
 data FAILEDtest 16...OK
test 101...log/generated.tmp and log/stored.tmp differ
 protocol FAILEDtest 102...OK
test 103...log/generated.tmp and log/stored.tmp differ
 protocol FAILEDtest 104...OK
test 108...log/generated.tmp and log/stored.tmp differ
 protocol FAILEDtest 109...OK

if I run tests/runtests.pl -v -d it only does 15 tests (this is what I get
for test 15)

test 15...[--write-out test]
../src/curl --include -v --silent http://127.0.0.1:8999/want/15 --write-out
'%{url_effective} %{http_code} %{size_download}\n' >log/stdout15
2>log/stderr15
IN: GET /want/15 HTTP/1.1
IN: User-Agent: curl/7.7.2 (i686-pc-linux-gnu) libcurl 7.7.2 (OpenSSL
0.9.6a_at_LoL) (ipv6 enabled)
IN: Host: 127.0.0.1:8999
IN: Pragma: no-cache
IN: Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
IN:
OUT: sending reply 15
OUT: HTTP/1.4 200 OK
OUT: Fake: yes
OUT: Fake: yes
OUT: Fake: yes
OUT:
OUT: Repeated nonsense-headers
log/stdout15 and data/stdout15.txt differ
 data FAILED
 - abort tests
Test server pid 11344 signalled to die
Test server pid 11342 signalled to die
14 tests out of 15 reported OK

I only want to use curl with PHP (and SSL), does this mean that I will only
be using the libraries. If so, are these errors still a problem. I'm
feeling pretty ignorant at the moment, so please bear with me (normally I
would put a bit more effort in to being less ignorant, but I don't have the
time). I did also try the just released curl-7.7.3 however it tells me I
have to install stunnel to run the tests (do I also need to install stunnel
to use it?).

Here is how I built it....
 gzip -dc curl-7.7.2.tar.gz | tar xvf -
 cd curl-7.7.2
 ./configure --prefix=/opt/local/curl --with-ssl=/opt/local/ssl
 make
 make test

(ssl is openssl-0.9.6a)

Other machine info:-
 gcc -v
 Reading specs from
/opt/local/gcc-2.95.3/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
 gcc version 2.95.3 20010315 (release)

 uname -a
 Linux fiver 2.2.16 #1 Wed Aug 2 20:22:26 GMT 2000 i686 unknown

Thanks to anybody that provides assistance.

Ross.
Received on 2001-05-13