aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2012-07-12connection-monitor: always log disconnect when enabledDaniel Stenberg
This makes verifying easier and makes us more sure curl closes the connection only at the correct point in time. Adjusted test 206 and 1008 accordingly and updated the docs for it.
2012-07-10test231: fix wrong -C use!Daniel Stenberg
2012-07-09test 46: use different path lengths to get reliable sort orderDaniel Stenberg
Since the order of the cookies is sorted by the length of the paths, having them on the same path length will make the test depend on what order the qsort() implementation will put them. As seen in the windows/msys output posted by Guenter in this posting: http://curl.haxx.se/mail/lib-2012-07/0105.html
2012-07-05tests: use connection-monitor and verify resultsDaniel Stenberg
Test 1008 and 206 don't show the disconnect since it happens when SWS awaits a new request, but 503 does and so the verify section needs that string added.
2012-07-05sws: support <servercmd> for CONNECT requestsDaniel Stenberg
I moved out the servercmd parsing into a its own function called parse_servercmd() and made sure it gets used also when the test number is extracted from CONNECT requests. It turned out sws didn't do that previously!
2012-07-05FILEFORMAT: provided a full description of connection-monitorDaniel Stenberg
2012-07-05lib503: enable verbose to ease debugging thisDaniel Stenberg
2012-07-05sws: add 'connection-monitor' command supportDaniel Stenberg
Using this, the server will output in the protocol log when the connection gets disconnected and thus we will verify correctly in the test cases that the connection doesn't get closed prematurely. This is important for example NTLM to work. Documentation added to FILEFORMAT, test 503 updated to use this.
2012-07-03cookies: change the URL in the cookie jar file headerDaniel Stenberg
2012-07-02testcurl.pl: fix missing semicolonNeil Bowers
2012-07-02testcurl.pl: allow non in-tree c-ares enabled autobuildYang Tse
2012-07-02configure.ac: verify that libmetalink is new enoughYang Tse
Enabling test2017 to test2022.
2012-06-29test2017 to test2022: more metalink testsYang Tse
With this commit, checks done in previous test2017 are now done in test2018. Whole range test2017 to test2022 DISABLED until configure is capable of requiring a new-enough metalink library. Don't try these without mentioned check in place!
2012-06-29test2005 to test2016: improve failure detectionYang Tse
2012-06-28lib582.c: fix conversion warningYang Tse
2012-06-28Metalink: message updatesTatsuhiro Tsujikawa
Print "parsing (...) OK" only when no warnings are generated. If no file is found in Metalink, treat it FAILED. If no digest is provided, print WARNING in parse_metalink(). Also print validating FAILED after download. These changes make tests 2012 to 2016 pass.
2012-06-27tests: add five more Metalink test casesYang Tse
2012-06-27tests: update Metalink message formatYang Tse
2012-06-24test: Added test HTTP receive cookies over IPv6Ghennadi Procopciuc
2012-06-22tests: add another Metalink test caseYang Tse
2012-06-22tests: Enable test2010 and fixed hash valueTatsuhiro Tsujikawa
2012-06-21tests: add six Metalink test casesYang Tse
2012-06-21test 2005: add verification of hash checking outcomeYang Tse
2012-06-21getpart.pm: remove misleading commentYang Tse
2012-06-21tests: Added Metalink test case # 2005Tatsuhiro Tsujikawa
2012-06-20runtests.pl: make it support metalink featureTatsuhiro Tsujikawa
2012-06-20getpart.pm: make test definition section/part parser more robustYang Tse
Test definition section parts which needed to include xml-lingo as contents of that part required that the xml-blurb was written as a single line. Now the xml-data inside the part can be written multiline making it more readable. Tested with <client><file> part which is written to disk before <command> runs.
2012-06-15Fixed typo.Guenter Knauf
2012-06-11tests: fix test definitions # 1355, 1363, 1385 and 1393Yang Tse
-i without HTTP protocol shall not include headers in the output
2012-06-09Fixes allowing 26 more test cases in 1334 to 1393 range to succeedYang Tse
2012-06-09tests: fix test definitions # 1370 and 1371Yang Tse
-J without -O shall not honor C-D filename
2012-06-07lib554.c: use curl_formadd() properlyDaniel Stenberg
The length/size options take longs so make sure to pass on such types. Reported by: Neil Bowers Bug: http://curl.haxx.se/mail/lib-2012-06/0001.html
2012-06-07Fixes allowing HTTP test cases 1338, 1339, 1368 and 1369 to succeedYang Tse
2012-06-07tests 1364 to 1393: several -o filename -J -i -D combinations for HTTP and FTPYang Tse
2012-06-07tests 1348 to 1363: test definition polishingYang Tse
Verify that the "Saved to filename 'blabla'" message is only displayed when the 'blabla' filename being used _actually_ has been specified by the server in the Content-Disposition header. Use relative path for unintended file creation postcheck.
2012-06-06Disable non-HTTP header related testsYang Tse
These now detect incompleate header data and fail
2012-06-06tests 1348 to 1363: compleate header data part of test definitionYang Tse
2012-06-05tests 1334 to 1363 revisited.Yang Tse
Add a postcheck section to verify unintended file creation. Remove needless <file> checks in verify section. Renumbering where appropriate.
2012-06-05tests: adjust file part behavior in test verify section.Yang Tse
When a <file> part is now specified with no contents at all, this will actually verify that the specified file has no contents at all. Previously file contents would be ignored.
2012-06-05tests 1348 to 1363: add a comma in test descriptionYang Tse
2012-06-04pop3 tests: CAPA instead of AUTHDaniel Stenberg
After Steve's commit e336bc7c42c7340 test 1319 and 1407 need to check for CAPA instead of AUTH.
2012-06-04tests 1356 to 1363: several -O -J -i -D combinations with FTP protocolYang Tse
Currently 1356 to 1362 succeed but a write failure is logged in traceNNNN. Currently 1363 fails, so disabled for now.
2012-06-04tests: Updated pop3 tests for change in auth mechanism detectionSteve Holme
2012-06-04tests 1348 to 1355: several -O -J -i -D combinations with FTP protocolYang Tse
Currently 1348 to 1354 succeed but a write failure is logged in traceNNNN. Currently 1355 fails, so disabled for now.
2012-06-04tests 1346 to 1347: several -O -J -i -D combinations with HTTP protocolYang Tse
2012-06-01tests 1334 to 1345: several -O -J -i -D combinations with HTTP protocolYang Tse
2012-06-01tests: support test definitions with up to 5 file checks in <verify> sectionYang Tse
This is done introducing tags <file1> to <file4> besides existing <file> one, as well as corresponding <stripfile1> to <stripfile4> ones, that can be used in the <verify> section in the same way as the non-numbered ones.
2012-05-30pop3 test server: allow pop3 test server verification to succeed againYang Tse
Introduce SUPPORTCAPA and SUPPORTAUTH config commands to allow further pop3 test server expansion for tests that require CAPA or AUTH support, although this will need some extra work to make it fully functional.
2012-05-27test1013.pl: filter out MetalinkDaniel Stenberg
Since it isn't a feature supported by curl-config we can't compare that with the --version output
2012-05-27pop3: Added support for SASL based authentication mechanism detectionSteve Holme
Added support for detecting the supported SASL authentication mechanisms via the AUTH command. There are two ways of detecting them, either by using the AUTH command, that will return -ERR if not supported or by using the CAPA command which will return SASL and the list of mechanisms if supported, not include SASL if SASL authentication is not supported or -ERR if the CAPA command is not supported. As such it seems simpler to use the AUTH command and fallback to normal clear text authentication if the the command is not supported. Additionally updated the test cases to return -ERR when the AUTH command is encountered. Additional test cases will be added when support for the individual authentication mechanisms is added.