source: main/trunk/greenstone2/build-src/packages/w3mir/libwww-perl-5.36/t/README@ 26670

Last change on this file since 26670 was 720, checked in by davidb, 25 years ago

added w3mir package

  • Property svn:keywords set to Author Date Id Revision
File size: 936 bytes
Line 
1Self test suite for the libwww-perl library
2-------------------------------------------
3
4Tests are invoked by running the ./TEST script, but usually you run
5the tests with "make test" at the top libwww-perl directory. Use -v
6option for verbose tests. You might run an individual test like this:
7
8 ./TEST -v base/date
9
10or all tests in a directory like this
11
12 ./TEST base
13
14You enable network tests by creating the "net/config.pl" file. A good
15start is to make a copy of the "net/config.pl.dist" file. For network
16tests you should also make a link from the cgi-bin directory of your
17http server to the "net/cgi-bin" directory. You might also have to
18check that the interpreter line (#!.../perl) in the scripts is ok for
19your system. The following setup works for my site:
20
21 ln -s `pwd`/net/cgi-bin ~www/cgi-bin/lwp
22 cp net/config.pl.dist net/config.pl
23 emacs net/config.pl # fix if necessary
24 ./TEST net
Note: See TracBrowser for help on using the repository browser.