summaryrefslogtreecommitdiff
path: root/tests/README
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-03-08 02:38:49 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-03-08 02:38:49 +0000
commit1bfa7dfe39ec74cbec28808969ba8320f0807ae4 (patch)
tree969d2808edbe0ae257a8e0eb12268e946e528354 /tests/README
parent85daec253cf5a6e1eb3f023e76180f553c715de8 (diff)
downloadcurl-1bfa7dfe39ec74cbec28808969ba8320f0807ae4.tar.gz
Added test infrastructure to support basic FTPS tests. This currently
supports only ftps:// URLs with --ftp-ssl-control specified, which implicitly encrypts the control channel but not the data channels. That allows stunnel to be used with an unmodified ftp server in exactly the same way that the test https server is set up. Added test case 400 as a basic FTPS test.
Diffstat (limited to 'tests/README')
-rw-r--r--tests/README24
1 files changed, 14 insertions, 10 deletions
diff --git a/tests/README b/tests/README
index b7fb2c86d..7e7e63242 100644
--- a/tests/README
+++ b/tests/README
@@ -13,13 +13,17 @@ Requires:
TCP ports used:
- - 8999 on localhost for HTTP tests
- - 8433 on localhost for HTTPS tests
- - 8921 on localhost for FTP tests
- - 8821 on localhost for FTPS tests (currently disabled)
-
- The test suite runs simple FTP and HTTP servers on these ports to which
- it makes requests.
+ - 8990 on localhost for HTTP tests
+ - 8991 on localhost for HTTPS tests
+ - 8994 on localhost for HTTP IPv6 tests
+ - 8992 on localhost for FTP tests
+ - 8995 on localhost for FTP (2) tests
+ - 8993 on localhost for FTPS tests
+ - 8996 on localhost for FTP IPv6 tests
+ - 8997 on localhost for TFTP tests
+
+ The test suite runs simple FTP, HTTP and TFTP servers on these ports to
+ which it makes requests.
Run:
'make test'. This invokes the 'runtests.pl' perl script. Edit the top
@@ -57,12 +61,12 @@ Debug:
(gdb) where
Logs:
- All logs are generated in the logs/ subdirctory (it is emptied first
+ All logs are generated in the logs/ subdirectory (it is emptied first
in the runtests.pl script). Use runtests.pl -k to keep the temporary files
after the test run.
Data:
- All test cases are put in the data/ subdirctory. Each test is stored in the
+ All test cases are put in the data/ subdirectory. Each test is stored in the
file named according to the test number.
See FILEFORMAT for the description of the test case files.
@@ -85,4 +89,4 @@ TEST CASE NUMBERS
TODO:
- * Add tests for TELNET, LDAP, DICT...
+ * Add tests for TELNET, LDAP, DICT, SCP, SFTP...