aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2008-03-18Added test 626 to reproduce an infinite loop when given an invalidDan Fandrich
SFTP quote command reported by Vincent Le Normand, but left it disabled.
2008-03-15Spell the commands rightDan Fandrich
2008-03-13Added tests 622-625 to test SFTP/SCP uploads. Test 625 was an attempt toDan Fandrich
reproduce the --ftp-create-dirs problem reported by Brian Ulm, but that seems to need a call curl_easy_reset() which this test case doesn't do.
2008-03-11updated according to the name resolve race condition fix just committedDaniel Stenberg
2008-03-10Added tests 618-621 to test SFTP/SCP transfers of more than one fileDan Fandrich
(test 620 tests the just-fixed problem reported by Brian Ulm).
2008-03-10fixed typoMichal Marek
2008-03-06Added tests 616 and 617 to see how SFTP and SCP cope with zero-lengthDan Fandrich
files, as questioned by Mike Protts. SFTP does for me but SCP doesn't so test 617 is disabled for now.
2008-03-06Fixed the test harness so it will write out zero-length data files.Dan Fandrich
2008-03-05fix log message used when unable to connect to destination portYang Tse
2008-02-28signal handling to properly cleanup on SIGINT and SIGTERMYang Tse
2008-02-28when terminating do it falling through cleanup codeYang Tse
2008-02-28avoid inclusion of setup.h in util.hYang Tse
2008-02-28header inclusion cleanupYang Tse
2008-02-27make comment more preciseYang Tse
2008-02-27Michal Marek's cleanup of how curl_easy_setopt() is used in examples andDaniel Stenberg
test code. Thanks to his curl_easy_setopt() typechecker work...
2008-02-26trial to fix the HP-UX breakage...Gunter Knauf
2008-02-26all reads from stdin and writes to stdout will be retried until theYang Tse
whole operation completes or an unrecoverable condition is detected
2008-02-26refactor some code out to write_pidfile() in util.cYang Tse
2008-02-22Revert sockfilt.c back to revision 1.42Yang Tse
Changes introduced in revision 1.43 were useless
2008-02-20Avoid timeout restart when signal caught while awaiting socket and stdin eventsYang Tse
2008-02-20- Fixed test case 405 to not fail when libcurl is built with GnuTLSDaniel Stenberg
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-20- We no longer support setting the CURLOPT_URL option from inside a callbackDaniel Stenberg
such as the CURLOPT_SSL_CTX_FUNCTION one treat that as if it was a Location: following. The patch that introduced this feature was done for 7.11.0, but this code and functionality has been broken since about 7.15.4 (March 2006) with the introduction of non-blocking OpenSSL "connects". It was a hack to begin with and since it doesn't work and hasn't worked correctly for a long time and nobody has even noticed, I consider it a very suitable subject for plain removal. And so it was done.
2008-02-19Added test309 to test HTTP redirect to HTTPS URLDan Fandrich
2008-02-19juggle() actually returns bool.Yang Tse
Remove redundant and unreachable log message.
2008-02-18Reduce to 20 seconds the time allowed to set SO_REUSEADDR option on sockfilt ↵Yang Tse
listener socket. Log some more error descriptions.
2008-02-17sockfilt will quit when orphanedYang Tse
2008-02-13make this test disabled properly when built with yasslDaniel Stenberg
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-12fix grammatical issuesYang Tse
2008-02-11shell startup scripts and possible influence in scp/sftp/socks testsYang Tse
2008-02-11Disable test due to keyword before disabling due to bad server.Dan Fandrich
2008-02-11Additional SunSSH 1.1 ssh server optionsYang Tse
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-09Fixed some XML parsing problems.Dan Fandrich
2008-02-09Added key words to all SSL-using tests so they can be skipped if necessary.Dan Fandrich
Removed a few unnecessary requires SSL statements.
2008-02-09Fixed test to use HTTPS as documented.Dan Fandrich
2008-02-08Missed checking in these test data files.Dan Fandrich
2008-02-08Get rid of sftp subsystem additional parameters, they aren't widely supportedYang Tse
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-02-08Added tests 1022 and 1023 to validate output of curl-config --version andDan Fandrich
--vernum
2008-02-06Don't try to compare more than strlen charsYang Tse
2008-02-06Use a long int data type to handle getpid() resultYang Tse
2008-02-05Fix buffer size specification.Yang Tse
Improve handling of boundary conditions for huge requests.
2008-02-05Minor variable type cleanups.Yang Tse
Disable "swsbounce" mode when the received request isn't for the same test and part number.
2008-02-05proper initialization of httprequest, no longer zeroing out twiceYang Tse
the whole 150000+ bytes struct, and also removing an equally big additional buffer for pipelining treatment.
2008-01-31When possible, use additional config options for test harness ssh server,Yang Tse
which are deprecated in recent OpenSSH versions but are current for SunSSH.
2008-01-31- Niklas Angebrand made the cookie support in libcurl properly deal with theDaniel Stenberg
"HttpOnly" feature introduced by Microsoft and apparently also supported by Firefox: http://msdn2.microsoft.com/en-us/library/ms533046.aspx . HttpOnly is now supported when received from servers in HTTP headers, when written to cookie jars and when read from existing cookie jars.
2008-01-29add verbose output to test 509 for easier debuggingDaniel Stenberg