Daniel Stenberg
4b96e5c70f
test1115: verify that unexpected 1xx responses work fine
2010-05-28 00:55:11 +02:00
Kamil Dudka
75743b009b
lib577: avoid redefinition of ERROR
2010-05-28 00:50:11 +02:00
Kamil Dudka
01459828ef
test313: a new test for CRL support
2010-05-27 23:45:18 +02:00
Kamil Dudka
99179da4cc
tests/certs: re-generated because of lost pass-phrase
2010-05-27 23:39:54 +02:00
Kamil Dudka
645bdd837a
tests/certs/scripts: generate also CRL
...
... and make it possible to do so without any user interaction
2010-05-27 23:33:19 +02:00
Tor Arntsen
eadeb5bd9a
lib573: do not compare double for exact match
2010-05-27 20:20:08 +02:00
Tor Arntsen
22f3b01478
Test 573: Use correct type for CURLINFO_CONNECT_TIME
...
curl_easy_getinfo() called with a pointer to long instead of double
would sigbus on RISC processors (e.g. MIPS) due to wrong alignment
of pointer address.
2010-05-20 17:12:53 +02:00
Kamil Dudka
2ffe834bff
ftp wildcard: a new option CURLOPT_FNMATCH_DATA
2010-05-16 02:52:33 +02:00
Dan Fandrich
43b816538f
Fixed test 577 to work when --enable-hidden-symbols is configured
2010-05-14 14:42:58 -07:00
Dan Fandrich
a82c5a39c4
Added directories.pm to the source tar ball
2010-05-14 13:31:07 -07:00
Pavel Raiskup
0825cd80a6
FTP: WILDCARDMATCH/CHUNKING/FNMATCH added
2010-05-12 23:17:51 +02:00
Daniel Stenberg
adaf87530d
multi interface: missed storing connection time
...
Dirk Manske reported a regression. When connecting with the multi
interface, there were situations where libcurl wouldn't store
connect time correctly as it used to (and is documented to) do.
Using his fine sample program we could repeat it, and I wrote up
test case 573 using that code. The problem does not easily show
itself using the local test suite though.
The fix, also as suggested by Dirk, is a bit on the ugly side as
it adds yet another call to Curl_verboseconnect() and setting the
TIMER_CONNECT time. That situation is subject for some closer
inspection in the future.
2010-05-07 23:49:29 +02:00
Hoi-Ho Chan
51427e1947
PolarSSL: initial support added
...
This is Hoi-Ho Chan's patch with some minor fixes by me. There
are some potential issues in this, but none worse than we can
sort out on the list and over time.
2010-05-05 22:30:46 +02:00
Daniel Stenberg
7f616eb513
test: enable valgrind for 604, seems to work
2010-04-28 23:27:31 +02:00
Paul Howarth
fe818c8076
add 1s post-command delay to tests 513 and 514
...
addressing http://curl.haxx.se/mail/lib-2009-12/0031.html
2010-04-28 23:21:59 +02:00
Kamil Dudka
d487ade72c
test536: do not fail with threaded DNS resolver
...
Also tweaked comments in certain examples using curl_multi_fdset().
2010-04-24 12:14:21 +02:00
monnerat
4bfe07640c
Implement SMTP authentication
2010-04-19 11:16:30 +02:00
Dan Fandrich
f38510f4b5
Eliminated an unlikely race condition in some tests.
...
Based on a patch from the FreeBSD ports by Peter Pentchev.
2010-04-15 10:51:03 -07:00
Daniel Stenberg
5a814f6f2c
ignore files generated by 'maketgz'
2010-04-14 17:12:34 +02:00
Guenter Knauf
92b387f57a
Use correct directory for c-ares git pull
...
Signed-off-by: Tor Arntsen <tor@spacetec.no>
2010-04-13 22:55:33 +02:00
Guenter Knauf
9c7a9f8329
added last git commit output for c-ares too.
2010-04-13 04:05:43 +02:00
Guenter Knauf
6ab2cae55e
changed the git update block to take care of c-ares repo if detected.
2010-04-13 03:15:31 +02:00
Guenter Knauf
a8f85e778f
updated timestamp of the script.
2010-04-12 23:06:31 +02:00
Guenter Knauf
f6b7471f40
removed obsolete var in gitpull() function
...
no need to create a var - lets just return the status var itself.
2010-04-12 22:57:48 +02:00
Daniel Stenberg
7427acc472
mention missing test servers for <server>
2010-04-10 23:27:04 +02:00
Daniel Stenberg
02892e4fd8
FTP quote commands prefixed with '*' now can fail without aborting
...
Prefixing the FTP quote commands with an asterisk really only
worked for the postquote actions. This is now fixed and test case
227 has been extended to verify.
2010-04-09 16:54:52 +02:00
Dan Fandrich
e78e584035
Fixed misleading test message
2010-03-31 22:22:37 -07:00
Dan Fandrich
8c6793d79a
Call curl_global_cleanup() in test 560 to avoid a memory leak
2010-03-30 12:52:44 -07:00
Dan Fandrich
643ae2ca8b
Allow test 538 to run even when proxy support is disabled
2010-03-30 11:40:34 -07:00
Ben Greear
302507d5dc
Allow running ./tests/testcurl.pl from within git repo.
...
My first instinct was to run the test script within the checked out
repository. This small change to the script allows that to work as
expected.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2010-03-28 22:57:52 +02:00
Daniel Stenberg
e2bd52e553
ignore pid files and stunnel.conf
...
all used while running tests
2010-03-27 22:56:47 +01:00
Daniel Stenberg
d4fbf2c3f0
make sure git pull is actually done!
2010-03-27 18:57:24 +01:00
Daniel Stenberg
05de2cf180
remove all .cvsignore files
2010-03-25 23:22:03 +01:00
Tor Arntsen
5e1859014b
Avoid double newline for the 'last commits' log in testcurl.pl
...
The backtick command which extracts 'git log' lines come with a
newline, so chomp the newline before calling logit(), as the logit
function adds a newline by itself.
2010-03-25 18:28:35 +01:00
Tor Arntsen
e1c38791b7
Change to version-independent git option for 'git log --oneline'
...
'git log --oneline' is a relatively recent Git function. It is
documented to be the same as 'git log --pretty=oneline --abbrev-commit',
so use that instead. It works all the way back to Git 1.5.0.
2010-03-25 18:27:44 +01:00
Daniel Stenberg
ac8b2ef563
show 5 commits even if no git pull was made
2010-03-25 13:56:01 +01:00
Daniel Stenberg
efcf372d86
don't touch ares/aclocal.m4 and show recent git commits
...
since c-ares no longer embedded, we must not touch such files
anymore
we show the 5 last git commits if git was proven in use, to help
us see exactly what's being tested
2010-03-25 13:44:13 +01:00
Daniel Stenberg
a1a66c7cd6
s/CVS/DEV in the version string from the git repo
2010-03-25 10:38:17 +01:00
Bill Hoffman
bed30bc6df
Merge branch 'master' of github.com:bagder/curl
2010-03-24 23:49:26 -04:00
Bill Hoffman
d610519246
Add .gitattributes files to turn off CRLF translation for some files
2010-03-24 23:48:35 -04:00
Daniel Stenberg
4f44717590
provide a version number as today's date
...
It should at least help visualize which autobuilds that are
using this script.
2010-03-24 22:40:56 +01:00
Daniel Stenberg
49d309866c
testcurl now uses git instead of CVS
2010-03-24 22:26:41 +01:00
Chris Conroy
c869ae7447
remove debug printfs
2010-03-24 15:12:49 +01:00
Daniel Stenberg
8aa68b4cad
remove trace of CVS
2010-03-24 13:27:49 +01:00
Chris Conroy
1ac168e576
Fix RTSP GET_PARAMETER empty and non-empty operation.
...
Test coverage included. Thanks to Massimo Callegari for the bug report
2010-03-24 13:21:14 +01:00
Daniel Stenberg
50b51161c9
s/CVS/DEV/ in the version string for repo versions
2010-03-24 11:30:34 +01:00
Daniel Stenberg
be28825b2d
restore executable bits on some files
2010-03-24 11:07:35 +01:00
Daniel Stenberg
2309b4e330
remove the CVSish $Id$ lines
2010-03-24 11:02:54 +01:00
Daniel Stenberg
e32fe30d0c
enabled valgrind
...
I ran it now successfully and it helped to pinpoint a libssh2
memory leak!
2010-03-23 23:30:39 +01:00
Daniel Stenberg
b33ddd615a
ignore more files generated when tests run in the source tree
2010-03-23 12:43:42 +01:00
Yang Tse
bcd1c7c2e9
fix compiler warning
2010-02-26 16:42:33 +00:00
Yang Tse
4ad984043e
fix file name
2010-02-25 08:03:05 +00:00
Yang Tse
6a8aa246ff
Fixed bug report #2958074 indicating
...
(http://curl.haxx.se/bug/view.cgi?id=2958074 ) that curl on Windows with
option --trace-time did not use local time when timestamping trace lines.
This could also happen on other systems depending on time souurce.
2010-02-25 06:59:04 +00:00
Yang Tse
e25c5283d8
enable 802 and 803
2010-02-24 01:47:28 +00:00
Yang Tse
8904064c3a
fix socket data type
2010-02-23 13:35:01 +00:00
Yang Tse
439f62bfa8
convert Curl_ultous() and Curl_ultouc() functions to curlx_ultous() and
...
curlx_ultouc(), exposing them through curlx.h to allow proper code reuse
later in our test harness.
2010-02-22 18:56:29 +00:00
Yang Tse
693abbae3a
updated sources
2010-02-22 16:16:35 +00:00
Patrick Monnerat
e1625ba727
_ Adjusted RFC821 HELO fallback and enabled test804
2010-02-22 13:57:57 +00:00
Patrick Monnerat
338553eda3
- Proper handling of STARTTLS on SMTP, taking CURLUSESSL_TRY into account.
...
- SMTP falls back to RFC821 HELO when EHLO fails (and SSL is not required).
- Use of true local host name (i.e.: via gethostname()) when available, as default argument to SMTP HELO/EHLO.
- Test case 804 for HELO fallback.
2010-02-22 12:41:02 +00:00
Daniel Stenberg
a4a60afabb
- Fixed the SMTP compliance by making sure RCPT TO addresses are specified
...
properly in angle brackets. Recipients provided with CURLOPT_MAIL_RCPT now
get angle bracket wrapping automatically by libcurl unless the recipient
starts with an angle bracket as then the app is assumed to deal with that
properly on its own.
2010-02-20 22:29:59 +00:00
Daniel Stenberg
a434cb43e8
- I made the SMTP code expect a 250 response back from the server after the
...
full DATA has been sent, and I modified the test SMTP server to also send
that response. As usual, the DONE operation that is made after a completed
transfer is still not doable in a non-blocking way so this waiting for 250
is unfortunately made blockingly.
2010-02-20 21:56:48 +00:00
Yang Tse
048438345a
fix compiler warning
2010-02-19 18:02:38 +00:00
Yang Tse
6e461e45c3
fix compiler warning
2010-02-18 12:31:24 +00:00
Yang Tse
46b112bcd4
replaced tabs with spaces
2010-02-16 13:32:45 +00:00
Yang Tse
f442dd6496
fix Content-Length validation
2010-02-16 11:17:00 +00:00
Yang Tse
d5b2d8e081
fix compiler warning: conversion from "long" to "size_t" may lose sign
2010-02-15 17:40:35 +00:00
Yang Tse
4b43d18c4a
fix compiler warning: conversion from "long" to "size_t" may lose sign
2010-02-15 16:18:52 +00:00
Yang Tse
a07bc79117
removed trailing whitespace
2010-02-14 19:40:18 +00:00
Yang Tse
2268657272
fix compiler warning
2010-02-14 16:37:22 +00:00
Yang Tse
68d83a8142
Overhauled test suite getpart() function. Fixing potential out of bounds
...
stack and memory overwrites triggered with huge test case definitions.
2010-02-14 13:14:17 +00:00
Daniel Stenberg
975814368a
- Jack Zhang reported a problem with SMTP: we wrongly used multiple addresses
...
in the same RCPT TO line, when they should be sent in separate single
commands. I updated test case 802 to verify this.
- I also fixed a bad use of my_setopt_str() of CURLOPT_MAIL_RCPT in the curl
tool which made it try to output it as string for the --libcurl feature
which could lead to crashes.
2010-02-12 22:23:46 +00:00
Yang Tse
d20a2469ea
- remove extra "\r\n" from doc404_RTSP
...
- avoid memory alignment issue when setting RTSP packet length
2010-02-10 13:03:32 +00:00
Dan Fandrich
1abff19a5f
Removed some erroneous "compressed" key words
2010-02-09 22:50:52 +00:00
Yang Tse
e118cd4ca0
warning fix
2010-02-06 17:31:09 +00:00
Yang Tse
0f4a91afde
OOM handling fix
2010-02-06 13:21:45 +00:00
Yang Tse
2c2464a682
fix compiler warning
2010-02-05 20:52:00 +00:00
Yang Tse
880452d2ed
fix compiler warning
2010-02-05 19:24:22 +00:00
Yang Tse
e3009f2950
fix compiler warning
2010-02-05 19:19:34 +00:00
Yang Tse
cad9c3f55f
Addes OOM handling for curl_easy_setopt() calls in test
2010-02-05 18:07:19 +00:00
Yang Tse
f47b84b57f
Validate server port argument
2010-02-04 17:17:19 +00:00
Yang Tse
1a5749424b
Fix variable initialization
2010-02-04 14:50:58 +00:00
Yang Tse
a9a5a8e45c
Modified test case 557 to additionally verify libcurl's internal curl_m*printf()
...
functions formatting functionality when handling signed and unsigned shorts.
2010-02-04 14:41:01 +00:00
Yang Tse
429e544556
added an additional second to allow test to pass on heavily loaded servers
2010-02-04 09:55:45 +00:00
Yang Tse
381a4d6efe
Fix portability issue related with unaligned memory access
2010-02-03 06:49:27 +00:00
Yang Tse
013ec6a92f
cookies with same path length might get sorted in different order when
...
using different qsort implementations. In order to make this test give
same results on different systems, paths now have different lengths.
2010-02-03 01:53:47 +00:00
Yang Tse
e2fc294470
added an additional second to allow test to pass on heavily loaded servers
2010-02-03 01:41:07 +00:00
Yang Tse
54879d7763
mention run time statistics options
2010-02-02 14:46:55 +00:00
Yang Tse
232d17ec64
avoid possibility of using obsoleted stuff
2010-02-02 12:39:10 +00:00
Yang Tse
bafba6946c
remove setup.h inclusion which is already done from test.h inclusion
2010-02-02 12:36:16 +00:00
Yang Tse
9f6c4daa27
include headers
2010-02-02 07:01:21 +00:00
Yang Tse
ea72194650
Conroy added a check to the coded message size since the docs stipulate
...
that each call will contain a full protocol packet.
2010-02-01 22:14:22 +00:00
Yang Tse
516cf5c8dd
update rtsp server header field from SWS to RTSPD
2010-02-01 19:57:11 +00:00
Yang Tse
35fbeda003
Test suite support for RTSP
2010-02-01 12:05:08 +00:00
Yang Tse
5312fdcd73
Chris Conroy fixed test #568 issues with carriage returns
2010-01-29 02:58:39 +00:00
Yang Tse
eff18763a1
portability fix
2010-01-28 10:27:09 +00:00
Yang Tse
6259bcd51f
Chris Conroy provided first RTSP tests
2010-01-28 04:58:03 +00:00
Yang Tse
a4031dbd85
RTSP tests disabled until test harness RTSP support is updated
2010-01-28 04:55:19 +00:00
Yang Tse
703fa98a48
PKTSIZE might have been already defined in arpa/tftp.h
2010-01-23 13:51:53 +00:00
Yang Tse
e59a5cbe4e
Julien Chaffraix adjusted "<name> section" line length
2010-01-22 07:32:09 +00:00
Yang Tse
abe3e6b36c
fix warning triggered when debugging on cygwin
2010-01-21 14:29:04 +00:00