Re: "make test" for lwp 0.04 fails on last test

Gisle Aas (aas@oslonett.no)
Sat, 09 Sep 1995 15:49:09 +0200


> Here is what I get from "make test" of lwp 0.04 under SGI IRIX 5.2:
> 
> ----------------------------------------------------------------------
> |white| make test
> /usr/local/bin/perl -I./blib t/TEST 0
> base/base64.........ok
> base/date...........ok
> base/entities.......ok
> base/headers........ok
> base/html-parse.....ok
> base/mailcap........ok
> base/mediatypes.....ok
> base/message........ok
> base/quoted-print...ok
> base/robot-rules....ok
> base/status.........ok
> base/uri............ok
> local/autoload......ok
> local/get...........Use of uninitialized value at local/get.t line 35.
> not ok 1
> FAILED on test 1
> Failed 1 test, 92.86% okay.
> Files=14,  Tests=378, 18 secs (14.60 cusr  2.02 csys = 16.62 cpu)
> |white| 
> ----------------------------------------------------------------------

Can you track down what fails for you?  This test tries to copy the 
/etc/passwd file to /usr/tmp using the getprint() and getstore() functions.  
Is /etc/passwd read protected?  Are there problems writing to /usr/tmp?  Is 
there a problem in the library?

Try to run perl -e 'use LWP::Simple; getprint("file:/etc/passwd")'.  Does it 
print the file?

--Gisle

> --Amos
> 
> --Amos Shapira                      | "Of course Australia was marked for
> 133 Shlomo Ben-Yosef st.            |  glory, for its people had been chosen
> Jerusalem 93 805                    |  by the finest judges in England."
> ISRAEL          amoss@cs.huji.ac.il |                     -- Anonymous
>