~ubuntu-branches/ubuntu/intrepid/curl/intrepid

« back to all changes in this revision

Viewing changes to tests/README

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-05-16 15:16:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070516151654-jo48r81zempo1qav
Tags: 7.16.2-3ubuntu1
* Merge with Debian; remaining changes:
  - Drop the stunnel build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
  perl (and a unix-style shell)
11
11
  diff (when a test fail, a diff is shown)
12
12
  stunnel (for HTTPS and FTPS tests)
 
13
  sshd (for SCP and SFTP tests; OpenSSH ver. 3.8 is known to work)
13
14
 
14
15
TCP ports used:
15
16
 
16
 
  - 8999 on localhost for HTTP tests
17
 
  - 8433 on localhost for HTTPS tests
18
 
  - 8921 on localhost for FTP tests
19
 
  - 8821 on localhost for FTPS tests (currently disabled)
 
17
  - 8990 on localhost for HTTP tests
 
18
  - 8991 on localhost for HTTPS tests
 
19
  - 8994 on localhost for HTTP IPv6 tests
 
20
  - 8992 on localhost for FTP tests
 
21
  - 8995 on localhost for FTP (2) tests
 
22
  - 8993 on localhost for FTPS tests
 
23
  - 8996 on localhost for FTP IPv6 tests
 
24
  - 8997 on localhost for TFTP tests
 
25
  - 8999 on localhost for SCP/SFTP tests
20
26
 
21
 
  The test suite runs simple FTP and HTTP servers on these ports to which
22
 
  it makes requests.
 
27
  The test suite runs simple FTP, HTTP and TFTP servers on these ports to
 
28
  which it makes requests.  For SSL tests, it runs stunnel to handle
 
29
  encryption to the regular servers. For SSH, it runs a standard OpenSSH
 
30
  server.
23
31
 
24
32
Run:
25
33
  'make test'. This invokes the 'runtests.pl' perl script. Edit the top
57
65
          (gdb) where
58
66
 
59
67
Logs:
60
 
  All logs are generated in the logs/ subdirctory (it is emptied first
 
68
  All logs are generated in the logs/ subdirectory (it is emptied first
61
69
  in the runtests.pl script). Use runtests.pl -k to keep the temporary files
62
70
  after the test run.
63
71
 
64
72
Data:
65
 
  All test cases are put in the data/ subdirctory. Each test is stored in the
 
73
  All test cases are put in the data/ subdirectory. Each test is stored in the
66
74
  file named according to the test number.
67
75
 
68
76
  See FILEFORMAT for the description of the test case files.
78
86
 300 - 399   HTTPS
79
87
 400 - 499   FTPS
80
88
 500 - 599   libcurl source code tests, not using the curl command tool
 
89
 600 - 699   SCP/SFTP
81
90
 
82
91
 Since 30-apr-2003, there's nothing in the system that requires us to keep
83
92
 within these number series. Each test case now specifies its own server