updated with the new protocols
This commit is contained in:
parent
19b8a80ee9
commit
4ea8ad584b
55
tests/README
55
tests/README
@ -12,24 +12,28 @@ Requires:
|
|||||||
stunnel (for HTTPS and FTPS tests)
|
stunnel (for HTTPS and FTPS tests)
|
||||||
OpenSSH or SunSSH (for SCP, SFTP and SOCKS4/5 tests)
|
OpenSSH or SunSSH (for SCP, SFTP and SOCKS4/5 tests)
|
||||||
|
|
||||||
TCP ports used by default:
|
Ports used by default:
|
||||||
|
|
||||||
- 8990 on localhost for HTTP tests
|
- TCP/8990 for HTTP
|
||||||
- 8991 on localhost for HTTPS tests
|
- TCP/8991 for HTTPS
|
||||||
- 8994 on localhost for HTTP IPv6 tests
|
- TCP/8992 for FTP
|
||||||
- 8992 on localhost for FTP tests
|
- TCP/8993 for FTPS
|
||||||
- 8995 on localhost for FTP (2) tests
|
- TCP/8994 for HTTP IPv6
|
||||||
- 8993 on localhost for FTPS tests
|
- TCP/8995 for FTP (2)
|
||||||
- 8996 on localhost for FTP IPv6 tests
|
- TCP/8996 for FTP IPv6
|
||||||
- 8997 on localhost for TFTP tests
|
- UDP/8997 for TFTP
|
||||||
- 8999 on localhost for SCP/SFTP tests
|
- UDP/8998 for TFTP IPv6
|
||||||
- 9000 on localhost for SOCKS tests
|
- TCP/8999 for SCP/SFTP
|
||||||
|
- TCP/9000 for SOCKS
|
||||||
|
- TCP/9001 for POP3
|
||||||
|
- TCP/9002 for IMAP
|
||||||
|
- TCP/9003 for SMTP
|
||||||
|
|
||||||
The test suite runs simple FTP, HTTP and TFTP servers on these ports to
|
The test suite runs simple FTP, POP3, IMAP, SMTP, HTTP and TFTP stand-alone
|
||||||
which it makes requests. For SSL tests, it runs stunnel to handle
|
servers on these ports to which it makes requests. For SSL tests, it runs
|
||||||
encryption to the regular servers. For SSH, it runs a standard OpenSSH
|
stunnel to handle encryption to the regular servers. For SSH, it runs a
|
||||||
server. For SOCKS4/5 tests SSH is used to perform the SOCKS functionality
|
standard OpenSSH server. For SOCKS4/5 tests SSH is used to perform the SOCKS
|
||||||
and requires a SSH client and server.
|
functionality and requires a SSH client and server.
|
||||||
|
|
||||||
The base port number shown above can be changed using runtests' -b option
|
The base port number shown above can be changed using runtests' -b option
|
||||||
to allow running more than one instance of the test suite simultaneously
|
to allow running more than one instance of the test suite simultaneously
|
||||||
@ -54,16 +58,18 @@ Run:
|
|||||||
|
|
||||||
Shell startup scripts:
|
Shell startup scripts:
|
||||||
Tests which use the ssh test server, SCP/SFTP/SOCKS tests, might be badly
|
Tests which use the ssh test server, SCP/SFTP/SOCKS tests, might be badly
|
||||||
influenced by the output of system wide or user specific shell startup scripts,
|
influenced by the output of system wide or user specific shell startup
|
||||||
.bashrc, .profile, /etc/csh.cshrc, .login, /etc/bashrc, etc. which output text
|
scripts, .bashrc, .profile, /etc/csh.cshrc, .login, /etc/bashrc, etc. which
|
||||||
messages or escape sequences on user login. When these shell startup messages
|
output text messages or escape sequences on user login. When these shell
|
||||||
or escape sequences are output they might corrupt the expected stream of data
|
startup messages or escape sequences are output they might corrupt the
|
||||||
which flows to the sftp-server or from the ssh client which can result in bad
|
expected stream of data which flows to the sftp-server or from the ssh
|
||||||
test behaviour or even prevent the test server from running.
|
client which can result in bad test behaviour or even prevent the test
|
||||||
|
server from running.
|
||||||
|
|
||||||
If the test suite ssh or sftp server fails to start up and logs the message
|
If the test suite ssh or sftp server fails to start up and logs the message
|
||||||
'Received message too long' then you are certainly suffering the unwanted
|
'Received message too long' then you are certainly suffering the unwanted
|
||||||
output of a shell startup script. Locate, cleanup or adjust the shell script.
|
output of a shell startup script. Locate, cleanup or adjust the shell
|
||||||
|
script.
|
||||||
|
|
||||||
Memory:
|
Memory:
|
||||||
The test script will check that all allocated memory is freed properly IF
|
The test script will check that all allocated memory is freed properly IF
|
||||||
@ -128,7 +134,7 @@ Remote testing:
|
|||||||
|
|
||||||
TEST CASE NUMBERS
|
TEST CASE NUMBERS
|
||||||
|
|
||||||
So far, I've used this system:
|
So far, we've used this system:
|
||||||
|
|
||||||
1 - 99 HTTP
|
1 - 99 HTTP
|
||||||
100 - 199 FTP*
|
100 - 199 FTP*
|
||||||
@ -138,6 +144,7 @@ TEST CASE NUMBERS
|
|||||||
500 - 599 libcurl source code tests, not using the curl command tool
|
500 - 599 libcurl source code tests, not using the curl command tool
|
||||||
600 - 699 SCP/SFTP
|
600 - 699 SCP/SFTP
|
||||||
700 - 799 SOCKS4 (even numbers) and SOCK5 (odd numbers)
|
700 - 799 SOCKS4 (even numbers) and SOCK5 (odd numbers)
|
||||||
|
800 - 899 POP3, IMAP, SMTP
|
||||||
1000 - 1999 miscellaneous*
|
1000 - 1999 miscellaneous*
|
||||||
2000 - x multiple sequential protocols per test case*
|
2000 - x multiple sequential protocols per test case*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user