Dan Fandrich
7071dd0162
Added "non-existing host" test keywords to make it easy to skip those
...
tests on machines that have broken DNS configurations (such as
those configured to use OpenDNS).
2009-05-20 19:30:06 +00:00
Yang Tse
4650732f4a
Update copyright year, to force CVS to update the $Id date string format
2009-05-18 12:25:45 +00:00
Yang Tse
501e72c3de
Remove temporary debug tracing, and add nasty error explanation
2009-05-18 02:19:21 +00:00
Daniel Stenberg
3cb06eb2b2
- James Bursa posted a patch to the mailing list that fixed a problem with
...
no_proxy which made it not skip the proxy if the URL entered contained a
user name. I added test case 1101 to verify.
2009-05-17 14:47:50 +00:00
Yang Tse
b8e73495a5
Extend displaying of logfiles upon first server start-up failure for http, https, ftp, ftps and tftp test harness servers.
2009-05-15 11:59:24 +00:00
Yang Tse
187cfc1594
Displaying of logfiles on ftp server satrtup failure for test case #100 becomes standard.
2009-05-15 11:14:03 +00:00
Yang Tse
90cd2a4753
fix compiler warning: unused variable
2009-05-15 10:16:33 +00:00
Yang Tse
6595592a71
Add some debug tracing
2009-05-14 19:52:19 +00:00
Yang Tse
199389c94a
Fix detection of automatically choosen listener port number on IPv6 enabled builds.
2009-05-14 13:00:54 +00:00
Yang Tse
c31438b2f2
log each setsockopt/SO_REUSEADDR failure
2009-05-13 19:20:45 +00:00
Yang Tse
843f73ecaa
fix print formatting-string directives
2009-05-13 04:16:00 +00:00
Yang Tse
86f043a66c
temporary debug trace for ftp server satrtup failure on testcase #100
2009-05-12 19:18:54 +00:00
Yang Tse
f882a63cba
fix LC_ALL and LC_CTYPE when set with conflicting values
2009-05-12 11:24:29 +00:00
Yang Tse
e25cff9328
Adjust test definition for TPF.
2009-05-11 17:21:26 +00:00
Yang Tse
36b397be9f
Fetch curl's 'CharConv' feature information, used by TPF.
2009-05-11 17:20:41 +00:00
Daniel Stenberg
e6e6c6e635
Added test 564 as DISABLED. It is for testing FTP over a SOCK4 proxy using
...
the multi interface, which currently doesn't work because of how the data
connection is not waiting for connect before it tries to do proxy magic.
2009-05-11 11:43:55 +00:00
Daniel Stenberg
1f340a262f
support --help to do the same as -h
2009-05-11 11:39:42 +00:00
Daniel Stenberg
56dab605f1
- I fixed the problem with doing NTLM, POST and then following a 302 redirect,
...
as reported by Ebenezer Ikonne (on curl-users) and Laurent Rabret (on
curl-library). The transfer was mistakenly marked to get more data to send
but since it didn't actually have that, it just hung there...
2009-05-11 08:55:58 +00:00
Yang Tse
75585f771a
Fix name of tool shown upon error.
2009-05-11 01:16:28 +00:00
Daniel Stenberg
e6f84b8cc8
Added test 1100 - "HTTP POST with NTLM authorization and following a 302
...
redirect" doesn't work, seems to repeat what Ebenezer Ikonne (on curl-users)
and Laurent Rabret (on curl-library) have reported. Disabled for now.
2009-05-10 22:10:13 +00:00
Daniel Stenberg
d1ba4324de
introduce VCURL for verify calls, so that it can be changed to use a different
...
binary than the one that gets tested, if need be
2009-05-10 21:20:15 +00:00
Daniel Stenberg
c0b5d378dc
made the cookie tests 61 and 62 test httponly cookies, both receiving in
...
headers and reading from cookie-jar
2009-05-10 18:02:37 +00:00
Yang Tse
31baaf72b4
Changed host name to be under the haxx.se domain
2009-05-08 15:49:19 +00:00
Yang Tse
9ef7b6afe2
Remove temporary and HP-UX autobuild specific change to debug SSH server start-up failures
2009-05-08 02:18:49 +00:00
Yang Tse
c5c03ac556
Fixes for non-ASCII platforms by David McCreedy
2009-05-08 02:14:50 +00:00
Yang Tse
7c6e0d5981
Temporary and HP-UX autobuild specific change to debug SSH server start-up failures
2009-05-06 10:32:06 +00:00
Yang Tse
a840cc700a
Revert change committed on Mon May 4 09:30:23 2009 UTC.
...
The origin of the problem with test case #251 was the --ftp-port not being the CLIENTIP address.
2009-05-05 08:46:31 +00:00
Yang Tse
5eba93c4e7
Fixed the --ftp-port address to the CLIENTIP address.
2009-05-05 08:19:55 +00:00
Yang Tse
ff3e574187
David McCreedy's patch to fix test suite harness to allow test FTP server and client on different machines, providing FTP client address when running the FTP test server.
2009-05-04 10:30:23 +00:00
Dan Fandrich
8119379d4f
Added and disabled test case 563 which shows KNOWN_BUGS #59 . The bug
...
report failed to mention that a proxy must be used to reproduce it.
2009-05-03 19:25:17 +00:00
Yang Tse
9137e717b0
Use build-time configured curl_socklen_t instead of socklen_t
2009-05-02 02:37:32 +00:00
Yang Tse
5a91746b80
David McCreedy's "TPF-platform specific changes to various files" patch
2009-05-01 12:39:40 +00:00
Yang Tse
96ea49870c
When generated, display libcurl.pc and libcares.pc
2009-04-30 17:06:58 +00:00
Daniel Stenberg
6b95c4e358
- I was going to fix issue #59 in KNOWN_BUGS
...
If the CURLOPT_PORT option is used on an FTP URL like
"ftp://example.com/file;type=A" the ";type=A" is stripped off.
I added test case 562 to verify, only to find out that I couldn't repeat
this bug so I hereby consider it not a bug anymore!
2009-04-30 09:02:39 +00:00
Yang Tse
7d1bb21c19
Display only CURL_* and CARES_* symbol/macro definitions from curlbuild.h and ares_build.h
2009-04-29 19:02:22 +00:00
Yang Tse
296baeb096
Trigger c-ares prebuild stage for fake-config setup's
2009-04-29 17:57:49 +00:00
Daniel Stenberg
e2c6e00570
- Based on bug report #2723219 ( http://curl.haxx.se/bug/view.cgi?id=2723219 )
...
I've now made TFTP "connections" not being kept for re-use within libcurl.
TFTP is UDP-based so the benefit was really low (if even existing) to begin
with so instead of tracking down to fix this problem we instead removed the
re-use. I also enabled test case 1099 that I wrote a few days ago to verify
that this change fixes the reported problem.
2009-04-29 11:30:03 +00:00
Yang Tse
5957498c6f
When running testcurl.pl display definitions from ares_build.h
2009-04-29 01:31:37 +00:00
Yang Tse
b6282b99cb
allow usage of in-tree c-ares when building from outside of the cvs tree
2009-04-29 00:38:08 +00:00
Yang Tse
af41fb79b5
Include <arpa/inet.h> if HAVE_ARPA_INET_H is defined
2009-04-27 23:59:41 +00:00
Yang Tse
535b7c5e0f
Log MAKEFLAGS environment variable along with the others.
2009-04-27 19:21:45 +00:00
Daniel Stenberg
082b0d822c
test 1099: "TFTP get first a non-existing file then an existing" added disabled
...
as things don't work right here!
2009-04-24 21:46:42 +00:00
Yang Tse
33a3753c3f
libcurl's memory.h renamed to curl_memory.h
2009-04-21 11:46:16 +00:00
Daniel Stenberg
30f7a2ff20
- Pramod Sharma reported and tracked down a bug when doing FTP over a HTTP
...
proxy. libcurl would then wrongly close the connection after each
request. In his case it had the weird side-effect that it killed NTLM auth
for the proxy causing an inifinite loop!
I added test case 1098 to verify this fix. The test case does however not
properly verify that the transfers are done persistently - as I couldn't
think of a clever way to achieve it right now - but you need to read the
stderr output after a test run to see that it truly did the right thing.
2009-04-17 12:48:24 +00:00
Yang Tse
8aa88f4d36
re-enable all tests for all icc autobuilds
2009-04-17 07:30:56 +00:00
Daniel Stenberg
dd0b38b32f
first take at bundling cmake-related files in the tarball
2009-04-14 22:00:37 +00:00
Yang Tse
c382c550e7
fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value
2009-04-14 12:53:53 +00:00
Yang Tse
c621546bd6
fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value
2009-04-13 07:18:39 +00:00
Yang Tse
aa330b8240
improve stunnel version detection
2009-04-13 03:47:16 +00:00
Yang Tse
74f9c570ea
Adjust comment
2009-04-10 02:58:01 +00:00
Benoit Neil
4d396169c8
Cleaned up the custom definition I added (replaced by CURL_STATICLIB)
2009-04-09 19:59:38 +00:00
Gunter Knauf
2b96c3f5ce
add back most likely acciedently removed function name justtimeout to fix autobuild breaks.
2009-04-09 02:46:56 +00:00
Yang Tse
63fad159e8
Skip test #558 and #559 also when using a Win32 DLL
2009-04-09 01:24:41 +00:00
Benoit Neil
e5f1480a38
(Minor update) Added labal prefixes to tests targets
2009-04-08 23:48:07 +00:00
Benoit Neil
020955ebc2
Added special define for tests that directly include libcurl sources.
2009-04-08 23:35:09 +00:00
Gisle Vanem
59997ecad5
Avoid warnings when HAVE_ALRM and SIGALRM are not defined.
2009-04-08 18:37:11 +00:00
Gisle Vanem
6e2f0833ad
#ifdef around variables to squelsh warnings.
2009-04-08 18:31:54 +00:00
Benoit Neil
25f626cc52
Fixed compile defines in CMake scripts
2009-04-08 11:42:45 +00:00
Daniel Stenberg
c4fba310d2
and include the .inc files in the release tarballs...
2009-04-07 22:07:07 +00:00
Benoit Neil
e9dd099870
Added missing tests in CMake, added Makefile.inc for tests (+ use in CMake scripts), and fixed a missing define under windows in a test source file.
2009-04-07 21:59:15 +00:00
Benoit Neil
7a9fab52be
Fixed tests/server build (removed unnecessary link to libcurl).
2009-04-07 11:05:26 +00:00
Benoit Neil
b85154f13f
Added tests (exes) targets, refactor a few things.
...
PS: Once again, sorry if the added files have executable perms on Linux.
2009-04-06 21:05:44 +00:00
Daniel Stenberg
49c6d7e32d
Added test 1097 to verify the bug Axel Kuhn epidox posted on March 3 2009
...
on curl-users, it is also added to DISABLED since I don't have time to work
on it further right now.
2009-03-03 13:25:19 +00:00
Daniel Stenberg
7f22da5230
verify that a 550-response for a RETR returns 78 but also that the control
...
connection is kept alive afterwards
2009-02-19 13:47:06 +00:00
Daniel Stenberg
bdd4294e79
- Craig A West brought us: libcurl now defaults to do CONNECT with HTTP
...
version 1.1 instead of 1.0 like before. This change also introduces the new
proxy type for libcurl called 'CURLPROXY_HTTP_1_0' that then allows apps to
switch (back) to CONNECT 1.0 requests. The curl tool also got a --proxy1.0
option that works exactly like --proxy but sets CURLPROXY_HTTP_1_0.
I updated all test cases cases that use CONNECT and I tried to do some using
--proxy1.0 and some updated to do CONNECT 1.1 to get both versions run.
2009-02-02 16:19:23 +00:00
Daniel Stenberg
82ca52713b
- Alexey Borzov filed bug report #2535504
...
(http://curl.haxx.se/bug/view.cgi?id=2535504 ) pointing out that realms with
quoted quotation marks in HTTP Digest headers didn't work. I've now added
test case 1095 that verifies my fix.
2009-01-26 13:19:03 +00:00
Dan Fandrich
ddd3fe5948
Improved the title and keywords
2009-01-21 04:46:13 +00:00
Dan Fandrich
5591550167
Fixed a couple more locale-dependent toupper conversions, mainly for
...
clarity. This does fix one problem that causes ;type=i FTP URLs
to fail in the Turkish locale when CURLOPT_PROXY_TRANSFER_MODE is
used (test case 561)
Added tests 561 and 1092 through 1094 to test various combinations
of ;type= and ;mode= URLs that could potentially fail in the Turkish
locale.
2009-01-21 04:42:47 +00:00
Dan Fandrich
6bb9ef8de4
Call setlocale() for libtest tests to test the effects of locale-induced
...
libc changes on libcurl.
2009-01-21 04:30:05 +00:00
Dan Fandrich
14b6cc4e22
Always use nocheck="yes" for consistency
2009-01-07 21:57:26 +00:00
Gunter Knauf
aa32f61ce7
sync'd address with other tests.
2008-12-30 15:33:09 +00:00
Gunter Knauf
8266727062
trial with an address which has a valid domain part but invalid host to avoid dns redirections.
2008-12-30 09:16:38 +00:00
Dan Fandrich
4607dfe257
Mention what makes this test special
2008-12-11 03:01:38 +00:00
Dan Fandrich
01d6133bd7
Added test cases 1089 and 1090 to test --write-out after a redirect to
...
test a report that the size didn't work, but these test cases pass.
2008-12-09 21:59:57 +00:00
Daniel Stenberg
18371aaff9
- Fred Machado posted about a weird FTP problem on the curl-users list and when
...
researching it, it turned out he got a 550 response back from a SIZE command
and then I fell over the text in RFC3659 that says:
The presence of the 550 error response to a SIZE command MUST NOT be taken
by the client as an indication that the file cannot be transferred in the
current MODE and TYPE.
In other words: the change I did on September 30th 2008 and that has been
included in the last two releases were a regression and a bad idea. We MUST
NOT take a 550 response from SIZE as a hint that the file doesn't exist.
2008-12-08 20:20:51 +00:00
Dan Fandrich
ecc6f550eb
Added tests 1087 and 1088 to test Basic authentication on a redirect
...
with and without --location-trusted
2008-11-25 23:30:53 +00:00
Dan Fandrich
640974fb28
If a HTTP request is Basic and num is already >=1000, the HTTP test server
...
adds 1 to num to get the data section to return. This allows testing
authentication negotiations using the Basic authentication method.
2008-11-25 23:23:47 +00:00
Dan Fandrich
0fa14c8662
Fully clean up after test 608 so that it can be run twice in succession.
2008-11-24 22:06:43 +00:00
Daniel Stenberg
ba9f8c674c
restored from my messy previous commit mistake
2008-11-21 07:47:31 +00:00
Daniel Stenberg
40e8b4e527
- I removed the default use of "Pragma: no-cache" from libcurl when a proxy is
...
used. It has been used since forever but it was never a good idea to use
unless explicitly asked for.
2008-11-19 22:00:14 +00:00
Daniel Stenberg
4741e64c89
Josef Wolf's extension that allows a $TESTDIR/gdbinit$testnum file that when
...
you use runtests.pl -g, will be sourced by gdb to allow additional fancy
or whatever you see fit
2008-11-19 21:56:11 +00:00
Dan Fandrich
cdd6054e08
Display the time in verbose mode during the torture tests to help determine
...
when the tests stall.
2008-11-17 20:24:13 +00:00
Dan Fandrich
d1f063c62d
Shortened some FTP responses to allow the timeout to be reduced by a second
...
while still causing a timeout during the data phase.
2008-11-13 01:45:59 +00:00
Dan Fandrich
b2ed1e2607
Fixed an OOM problem with test 560
2008-11-12 22:26:06 +00:00
Dan Fandrich
fb8870297d
Give the test an extra second to run so it passes on slow machines
2008-11-12 01:04:27 +00:00
Daniel Stenberg
d07d1a6ef8
Added test case 560:
...
This test was added after the HTTPS-using-multi-interface with OpenSSL
regression of 7.19.1 to hopefully prevent this embarassing mistake from
appearing again... Unfortunately the bug wasn't triggered by this test, which
presumably is because the connect to a local server is too fast/different
compared to the real/distant servers we saw the bug happen with.
2008-11-11 21:59:25 +00:00
Daniel Stenberg
8bdd60fa71
Added missing <keywords>
2008-11-11 21:58:41 +00:00
Yang Tse
95a849efc2
terminate with appropriate exit code
2008-11-07 12:22:43 +00:00
Dan Fandrich
2903a5c050
Added test 1086 to test a timeout the occurs during an FTP data transfer.
2008-11-06 00:13:18 +00:00
Dan Fandrich
4d50b9f1f1
Make the SLOWDOWN option slow the FTP data connection, not just the
...
control connection.
2008-11-06 00:10:58 +00:00
Yang Tse
02fc7bb5f6
fix OOM handling
2008-10-31 14:46:48 +00:00
Yang Tse
0ce97f77e0
Use our Curl_addrinfo definition even when an addrinfo struct is available.
...
Use a wrapper function to call system's getaddrinfo().
2008-10-30 13:45:25 +00:00
Dan Fandrich
dc31387c6f
SLOWDOWN actually causes a 0.01 second delay between bytes
2008-10-30 01:44:18 +00:00
Dan Fandrich
a10044e110
Changed the "resolve" test precheck program to verify that an IPv6 socket
...
can be created before resolving the IPv6 name. In the context of running
a test, it doesn't make sense to run an IPv6 test when a host is resolvable
but IPv6 isn't usable. This should fix failures of test 1085 on hosts with
library and DNS support for IPv6 but where actual use of IPv6 has been
administratively disabled.
2008-10-28 20:03:22 +00:00
Yang Tse
b17ca44f0b
fix test # 558 and 559 CFLAGS
2008-10-28 00:35:08 +00:00
Yang Tse
9230708e47
don't skip tests 558 and 559 on i686 icc autobuilds
2008-10-27 20:09:35 +00:00
Yang Tse
92f3b3895e
test #558 tests internal hash create/destroy
...
test #559 tests internal hash create/add/destroy
2008-10-27 20:01:58 +00:00
Yang Tse
310d842b70
Skip test #558 when libcurl is built with hidden symbols
2008-10-27 14:02:50 +00:00
Yang Tse
1498de83d6
For tracing purposes log a fake call to getaddrinfo
...
when allocating/building the fake Curl_addrinfo.
2008-10-27 08:20:36 +00:00
Yang Tse
39e5fa6ae8
avoid using Curl_ip2addr(), simply build up a fake Curl_addrinfo
2008-10-27 03:00:47 +00:00