aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2014-02-01HTTP tests: use CRLF as header seperator according to RFC 2616Marc Hoersken
2014-02-01FTP tests: enable text-mode for more datacheck sectionsMarc Hoersken
2014-01-31FTP tests: enable text-mode for data and datacheck sectionsMarc Hoersken
2014-01-31runtests.pl: added support for text-mode within datacheck sectionMarc Hoersken
2014-01-31ftpserver.pl: directory LISTings use [CR][LF] for ASCII transferMarc Hoersken
According to section 2.2 of RFC959 the End-of-Line is defined as: The end-of-line sequence defines the separation of printing lines. The sequence is Carriage Return, followed by Line Feed. Verified by sniffing traffic between a Windows FTP client (FileZilla) and Unix-hosted FTP server (ProFTPD).
2014-01-31runtests.pl: reverse line-ending conversion on WindowsMarc Hoersken
It makes more sense to convert the expected output to [CR][LF] on Windows than to force the actual, probably correct, output to [LF]. This way it is actually possible to see if curl outputs the correct line-ending excepted by a text-aware test case.
2014-01-30tests: make the authorization retry tests pass the torture testsDan Fandrich
2014-01-30tests: Missed updating a type-3 message in commit 1c9aaa0bacSteve Holme
2014-01-30tests: Updated NTLM tests for NTLMv2 type-3 messageSteve Holme
2014-01-29tests: make a few lib15?? tests pass the OOM torture testsDan Fandrich
2014-01-29lib1900: make the test pass the OOM torture testsDan Fandrich
2014-01-28unit1304: make the test pass the OOM torture testsDan Fandrich
2014-01-28unit1396: make the test pass the OOM torture testsDan Fandrich
2014-01-26testsuite: visualize line-endings in output comparison diffsMarc Hoersken
2014-01-26sockfilt.c: follow up cleanup commit on 49b63cf3Marc Hoersken
2014-01-26http-pipe tests: use text as output data mode to support WindowsMarc Hoersken
2014-01-26sockfilt.c: fixed and simplified Windows select functionMarc Hoersken
Since the previous complex select function with initial support for non-socket file descriptors, did not actually work correctly for Console handles, this change simplifies the whole procedure by using an internal waiting thread for the stdin console handle. The previous implementation made it continuously trigger for the stdin handle if it was being redirected to a parent process instead of an actual Console input window. This approach supports actual Console input handles as well as anonymous Pipe handles which are used during input redirection. It depends on the fact that ReadFile supports trying to read zero bytes which makes it wait for the handle to become ready for reading.
2014-01-25http_pipe.py: replaced epoll with select to support WindowsMarc Hoersken
Removed Unix-specific functionality in order to support Windows: - select.epoll replaced with select.select - SocketServer.ForkingMixIn replaced with SocketServer.ForkingMixIn - socket.MSG_DONTWAIT replaced with socket.setblocking(False) Even though epoll has a better performance and improved socket handling than select, this change should not affect the actual test case.
2014-01-25tests: Added missing HTTP proxy keywordsDan Fandrich
2014-01-25tests: added missing <features> http to a number of testsDan Fandrich
2014-01-24tests: Added a keyword for tests depending on internal info logsDan Fandrich
2014-01-24runtests: Don't log command every torture iteration in verboseDan Fandrich
2014-01-24tests: Added missing http feature to tests 509 & 1513Dan Fandrich
2014-01-24test1514: Used the macros for host and port numberDan Fandrich
2014-01-22test1514: Got rid of a non-const initializer C99ismDan Fandrich
2014-01-20test1514: added - no more negative Content-Length (HTTP POST)Cédric Deltheil
This covers changes from commit afd288b2.
2014-01-17test1417: verify chunked-encoding transfer without CRDaniel Stenberg
As was introduced in 8f6b4be8af04
2014-01-17test1416: verify the chunked size overflow detectionDaniel Stenberg
2014-01-17Fixed some XML syntax issues in the test dataDan Fandrich
Also, make the ftp server return a canned response that doesn't cause XML verification problems. Although the test file format isn't technically XML, it's still handy to be able to use XML tools to verify and manipulate them.
2014-01-13secureserver.pl: follow up fix for 87ade5fMarc Hoersken
Since /dev/stdout is not always emulated on Windows, just skip the output option on Windows. MinGW/msys support /dev/stdout only from a new login shell.
2014-01-13secureserver.pl: added full support for tstunnel on WindowsMarc Hoersken
tstunnel on Windows does not support the pid option and is unable to write to an output log that is already being used as a redirection target for stdout. Therefore it does now output all log data to stdout by default and secureserver.pl creates a fake pidfile on Windows.
2014-01-08runtests: disable memory tracking with threaded resolverDaniel Stenberg
The built-in memory debug system doesn't work with multi-threaded use so instead of causing annoying false positives, disable the memory tracking if the threaded resolver is used.
2014-01-05runtests.pl: Updated copyright year after edit from d718abd968aeb4Steve Holme
2014-01-05runtests.pl: check for tstunnel command on WindowsMarc Hoersken
The Windows console version of stunnel is called "tstunnel", while running "stunnel" on Windows spawns a new console window which cannot be handled by the testsuite.
2014-01-05testcurl.pl: always show the last 5 commits even with --nogitpullMarc Hoersken
2014-01-04ftp tests: provide LIST responses in the test file itselfDaniel Stenberg
Previously LIST always returned a fixed hardcoded list that the ftp server code knew about, mostly since the server didn't get any test case number in the LIST scenario. Starting now, doing a CWD to a directory named test-[number] will make the test server remember that number and consider it a test case so that a subsequent LIST command will send the <data> section of that test case back. It allows LIST tests to be made more similar to how all other tests work. Test 100 was updated to provide its own directory listing.
2014-01-04Updated copyright year for recent changesSteve Holme
2014-01-04secureserver.pl: support for stunnel-path with nun-alphanum charsMarc Hoersken
This is desired to support stunnel installations on Windows.
2014-01-03test1513: fix spellingDaniel Stenberg
2014-01-03test1513: added - verify early progress callback return failDaniel Stenberg
Verify the change brought in commit 8e11731653061. It makes sure that returning a failure from the progress callback even very early results in the correct return code.
2014-01-03unittests: do not include curl_memory.hMarc Hoersken
memdebug.h already contains all required definitions and including curl_memory.h causes errors like the following: tests/unit/unit1394.c:119: undefined reference to `Curl_cfree' tests/unit/unit1394.c:120: undefined reference to `Curl_cfree'
2013-12-31mprintf: Replaced internal usage of FORMAT_OFF_T and FORMAT_OFF_TUSteve Holme
Following commit 0aafd77fa4c6f2, replaced the internal usage of FORMAT_OFF_T and FORMAT_OFF_TU with the external versions that we expect API programmers to use. This negates the need for separate definitions which were subtly different under different platforms/compilers.
2013-12-28tests: Disabled NTLM tests when running with SSPI enabledSteve Holme
2013-12-28runtests.pl: Fixed slightly incorrect regex in commit 28dd47d4d41900Steve Holme
2013-12-28runtests.pl: Optimised feature present checking codeSteve Holme
...to exclude not present features.
2013-12-28runtests.pl: Added the ability to run tests when a feature is not presentSteve Holme
2013-12-27ftpserver.pl: Fixed compilation errorSteve Holme
Unmatched right curly bracket at line 758, at end of line
2013-12-27ftpserver.pl: Reworked SMTP verified server detectionSteve Holme
Following the addition of informational commands to the SMTP protocol, the test server is no longer required to return the verified server information in responses that curl only outputs in verbose mode. Instead, a similar detection mechanism to that used by FTP, IMAP and POP3 can now be used.
2013-12-24pop3: Fixed APOP being determined by CAPA response rather than by timestampSteve Holme
This commit replaces that of 9f260b5d6610f3 because according to RFC-2449, section 6, there is no APOP capability "...even though APOP is an optional command in [POP3]. Clients discover server support of APOP by the presence in the greeting banner of an initial challenge enclosed in angle brackets."
2013-12-24tests: Removed APOP timestamp from default server greetingSteve Holme