File: README

package info (click to toggle)
libwww-perl 5.36-1.1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 848 kB
  • ctags: 400
  • sloc: perl: 6,366; makefile: 51; sh: 6
file content (24 lines) | stat: -rw-r--r-- 936 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Self test suite for the libwww-perl library
-------------------------------------------

Tests are invoked by running the ./TEST script, but usually you run
the tests with "make test" at the top libwww-perl directory.  Use -v
option for verbose tests.  You might run an individual test like this:

  ./TEST -v base/date

or all tests in a directory like this

  ./TEST base

You enable network tests by creating the "net/config.pl" file.  A good
start is to make a copy of the "net/config.pl.dist" file.  For network
tests you should also make a link from the cgi-bin directory of your
http server to the "net/cgi-bin" directory.  You might also have to
check that the interpreter line (#!.../perl) in the scripts is ok for
your system.  The following setup works for my site:

  ln -s `pwd`/net/cgi-bin ~www/cgi-bin/lwp
  cp net/config.pl.dist net/config.pl
  emacs net/config.pl                        # fix if necessary
  ./TEST net