aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2012-04-05test1331: cookies on a 407 responseDaniel Stenberg
Verify that cookies are sent back even after a 407 response has been received
2012-04-04lib599.c: fix compiler warningYang Tse
2012-04-04runtests: yassl and polarssl are not opensslDaniel Stenberg
Don't set the "has_openssl" variable if yassl or polarssl is found as they will simply not work as 100% drop-in replacements for some of the stuff the "OpenSSL" feature is used for. I spotted this problem when doing test runs with PolarSSL builds.
2012-04-01HTTP: reset expected DL/UL sizes on redirectsDaniel Stenberg
With FOLLOWLOCATION enabled. When a 3xx page is downloaded and the download size was known (like with a Content-Length header), but the subsequent URL (transfered after the 3xx page) was chunked encoded, then the previous "known download size" would linger and cause the progress meter to get incorrect information, ie the former value would remain being sent in. This could easily result in downloads that were WAY larger than "expected" and would cause >100% outputs with the curl command line tool. Test case 599 was created and it was used to repeat the bug and then verify the fix. Bug: http://curl.haxx.se/bug/view.cgi?id=3510057 Reported by: Michael Wallner
2012-03-26test #1405: support HTTP disabled buildsYang Tse
2012-03-26test #809: Updated error code to match recent pop3 changesSteve Holme
2012-03-23tests #1316 #1319 #1320 #1321: add missing keywordsYang Tse
2012-03-23test #598: add missing keywordsYang Tse
2012-03-22tests #1400 #1401: add missing keywordsYang Tse
2012-03-22test #598: add to Makefile.amYang Tse
2012-03-22test #598: OOM handling fixesYang Tse
2012-03-22fix several compiler warningsYang Tse
2012-03-22SWS: refuse to serve CONNECT unless running as proxyDaniel Stenberg
2012-03-20fix several compiler warningsYang Tse
2012-03-18tests 140X: fix --libcurl generated source file reading mode for MSYS buildsYang Tse
2012-02-23test: --libcurl fixesDaniel Stenberg
The line endings broke when I saved the three recent patches (my fault, not Colin's) to 'git am' them. Adjusted the stripping of the test program for comparing to also exclude the SSH key file name as that will differ and use a local path name.
2012-02-23Add helper script convsrctest.pl to manipulate --libcurl tests.Colin Hogben
The intention is to take the output of curl's --libcurl option, as exercised in test 14xx, and generate a corresponding test15xx in which the generated code is compiled and run. This will verify that the generated code behaves equivalently to the original invocation of the curl command. The script is not yet integrated into the configure / makefile machinery.
2012-02-23Add tests for curl's --libcurl output.Colin Hogben
These tests check the output of the --libcurl option of curl, including the improved option handling added in a related patch.
2012-02-21pop3 test server: send terminating ".CRLF" onlyDaniel Stenberg
With commit 035ef06bda7 applied, the test pop3 server needs to send ".\r\n" as the body terminating sequence and there needs to be a final CRLF in the actual body in the test data file.
2012-02-10parse_proxy: bail out on zero-length proxy names!Daniel Stenberg
The proxy parser function strips off trailing slashes off the proxy name which could lead to a mistaken zero length proxy name which would be treated as no proxy at all by subsequent functions! This is now detected and an error is returned. Verified by the new test 1329. Reported by: Chandrakant Bagul Bug: http://curl.haxx.se/mail/lib-2012-02/0000.html
2012-02-07curl_easy_reset: reset the referer stringDaniel Stenberg
When CURLOPT_REFERER has been used, curl_easy_reset() did not properly clear it. Verified with the new test 598 Bug: http://curl.haxx.se/bug/view.cgi?id=3481551 Reported by: Michael Day
2012-02-06curl tool: don't abort glob-loop due to failuresDaniel Stenberg
We want to continue to the next URL to try even on failures returned from libcurl. This makes -f with ranges still get subsequent URLs even if occasional ones return error. This was a regression as it used to work and broke in the 7.23.0 release. Added test case 1328 to verify the fix. Bug: http://curl.haxx.se/bug/view.cgi?id=3481223 Reported by: Juan Barreto
2012-01-25test harness: update stunnel.pem Diffie-Hellman parameters from 512 to 1024 bitYang Tse
2012-01-24tests: test CRLF in URLsDaniel Stenberg
Related to the security vulnerability: CVE-2012-0036 Bug: http://curl.haxx.se/docs/adv_20120124.html
2012-01-19testtrace.c: fix compiler warningYang Tse
2012-01-18Add two tests for telnet: URLsColin Hogben
Add simple telnet tests which (ab)use the http server. The second test checks for an input file handling bug.
2012-01-17tests: enable time tracing on tests 500, 573 and 585Yang Tse
2012-01-17tests: testtrace.[ch] provides debug callback for libtest usageYang Tse
Allows tests from the libtest subdir to generate log traces similar to those of curl with --tracetime and --trace-ascii options but with output going to stderr.
2012-01-17sws.c: fix proxy mode secondary connection monitoring conditionYang Tse
2012-01-16sws.c: improve proxy mode torture testing support - followup to 18c6c8a5Yang Tse
2012-01-16sws.c: improve proxy mode torture testing support - followup to c731fc58Yang Tse
2012-01-15sws.c: improve proxy mode torture testing support - followup to d4bf87dcYang Tse
2012-01-14test: verify HTTP response code 308Daniel Stenberg
This newly speced HTTP status code already works as intended in the new spec: http://greenbytes.de/tech/webdav/draft-reschke-http-status-308-02.html Test 1325 is added to verify that the method is kept after the redirect
2012-01-13sws.c: improve proxy mode torture testing supportYang Tse
2012-01-09sws.c: replace sleep() usage with wait_ms()Yang Tse
2012-01-09FTP: CURLE_PARTIAL_FILE should not cause control connection to be closedgsengun
Test 161 updated accordingly
2012-01-08sws.c: some compiler warning fixesYang Tse
2012-01-06sws.c: 812fa73057 follow-upYang Tse
2012-01-05sws.c: some IPv6 proxy mode peparatory adjustmentsYang Tse
2012-01-04test1320 test1321: avoid User-Agent comparisonYang Tse
2012-01-04httpserver.pl: reorder sws command line optionsYang Tse
make 'pidfile' and 'logfile' options appear first on command line in order to ensure that processing of other options which write to logfile do this to intended file and not the default one.
2012-01-04sws.c: fix proxy mode segfaultYang Tse
2012-01-03tests: test IMAP, POP3 and SMTP over HTTP proxy tunnelDaniel Stenberg
2012-01-03test proxy supports CONNECTDaniel Stenberg
There's a new 'http-proxy' server for tests that runs on a separate port and lets clients do HTTP CONNECT to other ports on the same host to allow us to test HTTP "tunneling" properly. Test cases now have a <proxy> section in <verify> to check that the proxy protocol part matches correctly. Test case 80, 83, 95, 275, 503 and 1078 have been converted. Test 1316 was added.
2012-01-02runtests.pl: on test failure, don't show trace log files of other testsYang Tse
2012-01-01runtests: put trace outputs in log/trace[num] for all testsDaniel Stenberg
2011-12-31changed case: use new host name for subsequent HTTP requestsDaniel Stenberg
When a HTTP connection is re-used for a subsequent request without proxy, it would always re-use the Host: header of the first request. As host names are case insensitive it would make curl send another host name case that what the particular request used. Now it will instead always use the most recent host name to always use the desired casing. Added test case 1318 to verify. Bug: http://curl.haxx.se/mail/lib-2011-12/0314.html Reported by: Alex Vinnik
2011-12-31runtests.pl: Use logmsg more consistentlyDan Fandrich
2011-12-30removed trailing whitespaceYang Tse
2011-12-29ftpserver.pl: arbitrary application data splitting among TCP packets [II]Yang Tse
Take in account that 'pingpong' server commands may arrive splitted among several sockfilt 'DATA' PDU's.