~ubuntu-branches/ubuntu/lucid/curl/lucid-201101212007

« back to all changes in this revision

Viewing changes to tests/README

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-06-18 15:21:57 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20080618152157-qq94aiequcq35w6b
Tags: 7.18.2-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop the stunnel build dependency.
  - Drop the build-dependency on libdb4.5-dev
  - Add build-dependency on openssh-server
  - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
Requires:
10
10
  perl (and a unix-style shell)
11
 
  diff (when a test fail, a diff is shown)
 
11
  diff (when a test fails, 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)
14
 
  ssh (for SOCKS4 and SOCK5 tests; OpenSSH ver. 4.5 is known to work.
15
 
       OpenSSH version 3.7 or greater is needed for SOCKS5)
 
13
  OpenSSH or SunSSH (for SCP, SFTP and SOCKS4/5 tests)
16
14
 
17
15
TCP ports used by default:
18
16
 
54
52
  3 to 9. Any test numbers starting with ! are disabled, as are any test
55
53
  numbers found in the file data/DISABLED (one per line).
56
54
 
 
55
Shell startup scripts:
 
56
  Tests which use the ssh test server, SCP/SFTP/SOCKS tests, might be badly
 
57
  influenced by the output of system wide or user specific shell startup scripts,
 
58
  .bashrc, .profile, /etc/csh.cshrc, .login, /etc/bashrc, etc. which output text
 
59
  messages or escape sequences on user login.  When these shell startup messages
 
60
  or escape sequences are output they might corrupt the expected stream of data
 
61
  which flows to the sftp-server or from the ssh client which can result in bad
 
62
  test behaviour or even prevent the test server from running.
 
63
 
 
64
  If the test suite ssh or sftp server fails to start up and logs the message
 
65
  'Received message too long' then you are certainly suffering the unwanted
 
66
  output of a shell startup script.  Locate, cleanup or adjust the shell script.
 
67
 
57
68
Memory:
58
69
  The test script will check that all allocated memory is freed properly IF
59
70
  curl has been built with the CURLDEBUG define set. The script will