aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2013-09-09tests: Added test for POP3 TOP commandSteve Holme
2013-09-09ftpserver.pl: Added support for POP3 TOP commandSteve Holme
2013-09-09tests: Added test for POP3 UIDL commandSteve Holme
2013-09-09ftpserver.pl: Added support for POP3 UIDL commandSteve Holme
2013-09-08ftpserver.pl: Fixed empty array checksSteve Holme
...from commits 28427b408326a1 and e8313697b6554b.
2013-09-08ftpserver: Reworked AUTH support to allow for specifying the mechanismsSteve Holme
Renamed SUPPORTAUTH to AUTH and added support for specifying a list of supported SASL mechanisms to return to the client. Additionally added the directive to the FILEFORMAT document.
2013-09-08ftpserver: Reworked CAPA support to allow for specifying the capabilitiesSteve Holme
Renamed SUPPORTCAPA to CAPA and added support for specifying a list of supported capabilities to return to the client. Additionally added the directive to the FILEFORMAT document.
2013-09-08ftpserver.pl: Corrected POP3 LIST as message numbers should be contiguousSteve Holme
The message numbers given in the LIST response are an index into the list, which are only valid for the current session, rather than being a unique message identifier. An index would only be missing from the LIST response if a DELE command had been issued within the same session and had not been committed by the end of session QUIT command. Once committed the POP3 server will regenerate the message numbers in the next session to be contiguous again. As such our LIST response should list message numbers contiguously until we support a DELE command in the same session. Should a POP3 user require the unique message ID for any or all messages then they should use the extended UIDL command. This command will be supported by the test ftpserver in an upcoming commit.
2013-09-08tests: Updated descriptions to be more meaningfulSteve Holme
2013-09-08tests: Added test for POP3 NOOP commandSteve Holme
2013-09-08ftpserver.pl: Added support for POP3 NOOP commandSteve Holme
2013-09-08ftpserver.pl: Fixed 'Use of uninitialized value $args in string ne'Steve Holme
2013-09-08tests: Added test for POP3 STAT commandSteve Holme
2013-09-08ftpserver.pl: Added support for POP STAT commandSteve Holme
2013-09-08ftpserver.pl: Moved POP3 QUIT handler into own functionSteve Holme
2013-09-08ftpserver.pl: Reordered the POP3 handlers to be alphabeticalSteve Holme
In preparation for additional POP3 tests, re-ordered the command function defintions to be sorted alphabetically.
2013-09-08ftpserver.pl: Corrected misaligned indentation in POP3 handlersSteve Holme
Fixed incorrect indentation used in both the RETR_pop3 and LIST_pop3 functions which was 5 and 9 characters rather than 4 and 8.
2013-09-07tests: Added test for POP3 DELE commandSteve Holme
2013-09-07ftpserver.pl: Added support for POP3 DELE commandSteve Holme
2013-09-06urlglob: improved error messages and column number on bad useDaniel Stenberg
Introduce a convenience macro and keep of the column better so that it can point out the offending column better. Updated test 75 accordingly.
2013-09-02lib1512.c: Fixed compilation warningSteve Holme
An enumerated type is mixed with another type. ...as well as a small coding style error.
2013-09-01Killed warning 'res' might be used uninitialized.Guenter Knauf
2013-08-31tests: Added test for IMAP CHECK commandSteve Holme
2013-08-31ftpserver.pl: Added support for the IMAP CHECK commandSteve Holme
2013-08-31ftpserver.pl: Corrected flawed logic in commit 1ca6ed7b75cad0Steve Holme
2013-08-31ftpserver.pl: Added argument check to IMAP command handlersSteve Holme
Added BAD argument check to the following IMAP command handlers: APPEND, STORE, LIST, EXAMINE, STATUS and SEARCH
2013-08-31ftpserver.pl: More whitespace correctionsSteve Holme
LIST_imap() had a second level of indentation at 9 characters and not 8.
2013-08-30ftpserver.pl: Small correction tidy upSteve Holme
Corrected some IMAP variable names and whitespace issues.
2013-08-30tests: Added tests for IMAP CREATE, DELETE and RENAME commandsSteve Holme
2013-08-30ftpserver: Bareword "to_mailbox" not allowedDaniel Stenberg
Added missing $
2013-08-30ftpserver.pl: Added support for IMAP CREATE, DELETE and RENAME commandsSteve Holme
2013-08-29ftpserver.pl: Updated IMAP EXAMINE handler to use dynamic test dataSteve Holme
2013-08-29unit1304: include memdebug and free everything correctlyDaniel Stenberg
2013-08-29ftpserver.pl: Added SELECT check to IMAP FETCH and STORE handlersSteve Holme
2013-08-28ftpserver.pl: Corrected accidental move of logmsg() callSteve Holme
Corrected the call to logmsg() in the IMAP SEARCH handler from commit 4ae7b7ea691497 as it should have been outputting the what argument and not the test number.
2013-08-28ftpserver: add missing '}' from 4ae7b7ea69149Daniel Stenberg
2013-08-28ftpserver.pl: Added SELECT check to IMAP SEARCH commandSteve Holme
2013-08-28ftpserver.pl: Fixed IMAP SEARCH commandSteve Holme
2013-08-28tests: Added test for IMAP SEARCH commandSteve Holme
2013-08-28valgrind.supp: fix for regular curl_easy_perform tooDaniel Stenberg
When we introduced curl_easy_perform_ev, this got a slightly modified call trace. Without this, test 165 causes a false positive valgrind error.
2013-08-28valgrind.supp: add the event-based call stack-trace tooDaniel Stenberg
Without this, test 165 triggers a valgrind error when ran with curl_easy_perform_ev
2013-08-27ftpserver.pl: Added support for IMAP SEARCH commandSteve Holme
2013-08-26runtests.pl: allow -vc point to a separate curl binary to verify withDaniel Stenberg
The specified curl binary will then be used to verify the running server(s) instead of the development version. This is very useful in some cases when the development version fails to verify correctly as then the test case may not run at all. The actual test will still be run with the "normal" curl executable (unless the test case specifies something differently).
2013-08-22TFTP: make the CURLOPT_LOW_SPEED* options workDaniel Stenberg
... this also makes sure that the progess callback gets called more often during TFTP transfers. Added test 1238 to verify. Bug: http://curl.haxx.se/bug/view.cgi?id=1269 Reported-by: Jo3
2013-08-22tftpd: support "writedelay" within <servercmd>Daniel Stenberg
2013-08-22tftpd: convert 6 global variables into local onesDaniel Stenberg
2013-08-20curl_easy_perform_ev: debug/test functionDaniel Stenberg
This function is meant to work *exactly* as curl_easy_perform() but will use the event-based libcurl API internally instead of curl_multi_perform(). To avoid relying on an actual event-based library and to not use non-portable functions (like epoll or similar), there's a rather inefficient emulation layer implemented on top of Curl_poll() instead. There's currently some convenience logging done in curl_easy_perform_ev which helps when tracking down problems. They may be suitable to remove or change once things seem to be fine enough. curl has a new --test-event option when built with debug enabled that then uses curl_easy_perform_ev() instead of curl_easy_perform(). If built without debug, using --test-event will only output a warning message. NOTE: curl_easy_perform_ev() is not part if the public API on purpose. It is only present in debug builds of libcurl and MUST NOT be considered stable even then. Use it for libcurl-testing purposes only. runtests.pl now features an -e command line option that makes it use --test-event for all curl command line tests. The man page is updated.
2013-08-20test1237: verify 1000+ letter user name + passwordsDaniel Stenberg
2013-08-20netrc: handle longer username and passwordJonathan Nieder
libcurl truncates usernames and passwords it reads from .netrc to LOGINSIZE and PASSWORDSIZE (64) characters without any indication to the user, to ensure the values returned from Curl_parsenetrc fit in a caller-provided buffer. Fix the interface by passing back dynamically allocated buffers allocated to fit the user's input. The parser still relies on a 256-character buffer to read each line, though. So now you can include an ~246-character password in your .netrc, instead of the previous limit of 63 characters. Reported-by: Colby Ranger
2013-08-16glob: error out on range overflowDaniel Stenberg
The new multiply() function detects range value overflows. 32bit machines will overflow on a 32bit boundary while 64bit hosts support ranges up to the full 64 bit range. Added test 1236 to verify. Bug: http://curl.haxx.se/bug/view.cgi?id=1267 Reported-by: Will Dietz