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 | |
---|
1 | Self test suite for the libwww-perl library
|
---|
2 | -------------------------------------------
|
---|
3 |
|
---|
4 | Tests are invoked by running the ./TEST script, but usually you run
|
---|
5 | the tests with "make test" at the top libwww-perl directory. Use -v
|
---|
6 | option for verbose tests. You might run an individual test like this:
|
---|
7 |
|
---|
8 | ./TEST -v base/date
|
---|
9 |
|
---|
10 | or all tests in a directory like this
|
---|
11 |
|
---|
12 | ./TEST base
|
---|
13 |
|
---|
14 | You enable network tests by creating the "net/config.pl" file. A good
|
---|
15 | start is to make a copy of the "net/config.pl.dist" file. For network
|
---|
16 | tests you should also make a link from the cgi-bin directory of your
|
---|
17 | http server to the "net/cgi-bin" directory. You might also have to
|
---|
18 | check that the interpreter line (#!.../perl) in the scripts is ok for
|
---|
19 | your 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.