aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
AgeCommit message (Collapse)Author
2008-05-01do variable replacement in the stdout data read from the test caseDaniel Stenberg
2008-04-25Add 'timeout' and 'delay' attributes support for the test harness <command> ↵Yang Tse
subsection
2008-04-23improve synchronization between test harness runtests.pl scriptYang Tse
and test harness servers to minimize risk of false test failures. http://curl.haxx.se/mail/lib-2008-04/0392.html
2008-04-21Ignore the result of the postcheck command in torture modeDan Fandrich
2008-03-06Fixed the test harness so it will write out zero-length data files.Dan Fandrich
2008-02-20made the non-matching error code output nicer since we know it is a numberDaniel Stenberg
and the string contains a newline...
2008-02-13verifyserver() actually returns the pid of the unsecure http and ftp serversYang Tse
when verifying the https and ftps servers
2008-02-12On heavily loaded systems any test server start up can take longer than theYang Tse
timeout passed to startnew, when this happens startnew completes without being able to read the pidfile and consequently returns a zero pid2. To fix the above posibility the server pid is recovered from the verification stage which will actually return the server pid when verification is valid.
2008-02-11Disable test due to keyword before disabling due to bad server.Dan Fandrich
2008-02-10Verify only once test harness sftp server connectivity and functionality.Yang Tse
Make sure that the sftp client tool uses the ssh client binary that we have used to generate the configuration files, otherwise sftp might be using one located in the preferred path compiled into sftp.
2008-02-08To verify that the sftp server is actually running, responsive and thatYang Tse
all curl's tests generated configuration and key files are fine, a real connection is established to the test harness sftp server authenticating and running a simple sftp remote pwd command. The verification is done using OpenSSH's or SunSSH's sftp client tool with a configuration file with the same options as the test harness socks server with the exception that dynamic forwarding is not used for sftp.
2008-01-18fix failure to properly detect SSH and SOCKS servers start up on loaded systemsYang Tse
2008-01-16remove trailing comma too, even though I don't think it does any harmDaniel Stenberg
2008-01-16Nathan Coulter's patch that makes runtests.pl respect the PATH when figuringDaniel Stenberg
out what valgrind to run.
2008-01-14startnew() shouldn't return a positive pid as reported in the pidfileYang Tse
by the spawned server itself unless it is actually alive
2008-01-12OoopsYang Tse
2008-01-11OoopsYang Tse
2008-01-11When verifying that test harness's SSH and SOCKS servers have beenYang Tse
started check also that the process is actually alive, since they could have died once the pidfile was written out
2008-01-10Temporary change to help debugging SSH server verification failuresYang Tse
2008-01-08Partially cleanup debugging messages in test harness, introduced forYang Tse
new minimum SSH version support for SCP, SFTP and SOCKS tests. Some verbosity which still remains, will go out before next release.
2008-01-08Display ssh server log and configuration upon socks server failureYang Tse
2008-01-04Daniel Egger provided 'nonewline=yes' support for the <stdout> sectionDaniel Stenberg
2008-01-04Missing newline at end of messageYang Tse
2008-01-04- Display curl_ssh_config when socks server fails to start.Yang Tse
- Capability of running socks5 tests must be based on ssh daemon version and not on ssh client version.
2008-01-04Make sure @INC is modified before 'using' the sshhelp module.Yang Tse
2008-01-03Modify test harness so that the minimum SSH version required to runYang Tse
SCP, SFTP and SOCKS4 tests is now OpenSSH 2.9.9 or SunSSH 1.0 For SOCKS5 tests minimum versions are OpenSSH 3.7 or SunSSH 1.0
2007-12-22Use getcwd() to get the directory, which works even if one of the directoryDan Fandrich
components doesn't have read permission set.
2007-11-26Stop ssh and socks servers when verification failsYang Tse
2007-11-26Providing an explicit bind address besides the port for dynamic ↵Yang Tse
application-level port forwarding, our socks port, prevents ssh from running on some systems. By default, ssh binds local port forwardings to the loopback address, since this was the address being given as the explicit bind address, now it isn't given.
2007-11-26Temporary change to better debug startup failuresYang Tse
of test suite ssh and socks servers.
2007-11-25Allow different start timeout specification for each serverYang Tse
2007-11-23make 'checkdied' in runtests.pl more robustYang Tse
2007-11-23Revert last change since it breaks running the test suiteYang Tse
when builddir is different from srcdir.
2007-11-23Improve chance of running runtests.pl from outside theYang Tse
source tree 'tests' directory
2007-11-22Debugging messages to trace startnew failuresYang Tse
2007-11-21Temporary change adding additional debugging messages to better pinpointYang Tse
startup failures of test suite ssh and socks servers.
2007-11-19This is a temporary change to test if OpenSSH 3.6 and SunSSH 1.1Yang Tse
are good/compatible enough to run the test suite ssh server and socks tests
2007-11-16Michal Marek made the test suite remember what test servers that fail toDaniel Stenberg
start so that subsequent tries are simply skipped.
2007-11-15Michal Marek fixed the test suite to better deal with the case when the HTTPDaniel Stenberg
ipv6 server can't run.
2007-11-01Make postcheck failure message more like the othersDan Fandrich
2007-10-26Check that all servers in the <server> section are supported, not justDan Fandrich
the first.
2007-10-25When valgrind is disabled in the test file, don't run it at all (as opposedDan Fandrich
to running it and ignoring its output).
2007-10-25Don't show valgrind log files of other testsYang Tse
2007-10-25Michal Marek fixed the test script to be able to use valgrind even when theDaniel Stenberg
lib is built shared with libtool.
2007-10-11Fixed the -l option of runtests.plDan Fandrich
Added support for skipping tests based on key words.
2007-09-20Added variable substitution to the <verify><file> section.Dan Fandrich
Made a few more tests work remotely.
2007-09-17Added %CLIENTIP and %CLIENT6IP data file substitution variables.Dan Fandrich
Added hooks to the test suite to make it possible to test a curl running on a remote host.
2007-07-14add some better logging when HTTP server start fails, and make the failureDaniel Stenberg
really hard if the test server can't be resolved (like for ::1 ipv6)
2007-06-11Wait longer for servers to start up since the ssh server needs to generateDan Fandrich
keys the first time (which can take a while on a slow or loaded host). Enforce a longer startup wait time for the ssh client SOCKS server, too. Check for an error code from startnew() when starting any server.
2007-06-08Fixed the test harness so that it actually kills the ssh being used asDan Fandrich
the SOCKS server.