Dan Fandrich
040a4443a1
Added tests 622-625 to test SFTP/SCP uploads. Test 625 was an attempt to
...
reproduce the --ftp-create-dirs problem reported by Brian Ulm, but that
seems to need a call curl_easy_reset() which this test case doesn't do.
2008-03-13 22:51:39 +00:00
Daniel Stenberg
fc9ad03e66
updated according to the name resolve race condition fix just committed
2008-03-11 22:58:52 +00:00
Dan Fandrich
458925ae0b
Added tests 618-621 to test SFTP/SCP transfers of more than one file
...
(test 620 tests the just-fixed problem reported by Brian Ulm).
2008-03-10 19:40:27 +00:00
Michal Marek
e44dc92197
fixed typo
2008-03-10 14:32:19 +00:00
Dan Fandrich
b16ea66cec
Added tests 616 and 617 to see how SFTP and SCP cope with zero-length
...
files, as questioned by Mike Protts. SFTP does for me but SCP doesn't
so test 617 is disabled for now.
2008-03-06 01:15:28 +00:00
Dan Fandrich
80cec5a62a
Fixed the test harness so it will write out zero-length data files.
2008-03-06 01:11:43 +00:00
Yang Tse
6c2c281a7e
fix log message used when unable to connect to destination port
2008-03-05 18:27:31 +00:00
Yang Tse
18cbb4d7d6
signal handling to properly cleanup on SIGINT and SIGTERM
2008-02-28 10:15:21 +00:00
Yang Tse
22e84d92b7
when terminating do it falling through cleanup code
2008-02-28 10:13:07 +00:00
Yang Tse
3d74649908
avoid inclusion of setup.h in util.h
2008-02-28 09:38:32 +00:00
Yang Tse
ed63d9d4de
header inclusion cleanup
2008-02-28 00:55:06 +00:00
Yang Tse
8adc7038fe
make comment more precise
2008-02-27 14:54:18 +00:00
Daniel Stenberg
b12fef3f31
Michal Marek's cleanup of how curl_easy_setopt() is used in examples and
...
test code. Thanks to his curl_easy_setopt() typechecker work...
2008-02-27 09:06:15 +00:00
Gunter Knauf
97a41f3646
trial to fix the HP-UX breakage...
2008-02-26 23:06:15 +00:00
Yang Tse
058e764af8
all reads from stdin and writes to stdout will be retried until the
...
whole operation completes or an unrecoverable condition is detected
2008-02-26 18:13:59 +00:00
Yang Tse
0d09f342c4
refactor some code out to write_pidfile() in util.c
2008-02-26 15:06:44 +00:00
Yang Tse
1d95109ffa
Revert sockfilt.c back to revision 1.42
...
Changes introduced in revision 1.43 were useless
2008-02-22 09:31:18 +00:00
Yang Tse
064eebeaf1
Avoid timeout restart when signal caught while awaiting socket and stdin events
2008-02-20 17:17:18 +00:00
Daniel Stenberg
e6170eb20d
- Fixed test case 405 to not fail when libcurl is built with GnuTLS
2008-02-20 12:18:08 +00:00
Daniel Stenberg
2c80bcbc81
made the non-matching error code output nicer since we know it is a number
...
and the string contains a newline...
2008-02-20 12:14:31 +00:00
Daniel Stenberg
55700cb01f
- We no longer support setting the CURLOPT_URL option from inside a callback
...
such as the CURLOPT_SSL_CTX_FUNCTION one treat that as if it was a Location:
following. The patch that introduced this feature was done for 7.11.0, but
this code and functionality has been broken since about 7.15.4 (March 2006)
with the introduction of non-blocking OpenSSL "connects".
It was a hack to begin with and since it doesn't work and hasn't worked
correctly for a long time and nobody has even noticed, I consider it a very
suitable subject for plain removal. And so it was done.
2008-02-20 08:28:02 +00:00
Dan Fandrich
0cae201044
Added test309 to test HTTP redirect to HTTPS URL
2008-02-19 21:57:41 +00:00
Yang Tse
9df37b93df
juggle() actually returns bool.
...
Remove redundant and unreachable log message.
2008-02-19 18:51:08 +00:00
Yang Tse
c9eb41c056
Reduce to 20 seconds the time allowed to set SO_REUSEADDR option on sockfilt listener socket.
...
Log some more error descriptions.
2008-02-18 20:13:30 +00:00
Yang Tse
23547fa2a0
sockfilt will quit when orphaned
2008-02-17 04:36:08 +00:00
Daniel Stenberg
11fae450fa
make this test disabled properly when built with yassl
2008-02-13 21:36:24 +00:00
Yang Tse
cf9259dd92
verifyserver() actually returns the pid of the unsecure http and ftp servers
...
when verifying the https and ftps servers
2008-02-13 06:06:57 +00:00
Yang Tse
6634e3c3a3
On heavily loaded systems any test server start up can take longer than the
...
timeout passed to startnew, when this happens startnew completes without being
able to read the pidfile and consequently returns a zero pid2.
To fix the above posibility the server pid is recovered from the verification
stage which will actually return the server pid when verification is valid.
2008-02-12 13:47:56 +00:00
Yang Tse
533ae704a1
fix grammatical issues
2008-02-12 01:11:55 +00:00
Yang Tse
dc9fe9c361
shell startup scripts and possible influence in scp/sftp/socks tests
2008-02-11 20:21:06 +00:00
Dan Fandrich
75c369dcca
Disable test due to keyword before disabling due to bad server.
2008-02-11 20:10:36 +00:00
Yang Tse
8f9e0357dd
Additional SunSSH 1.1 ssh server options
2008-02-11 14:28:48 +00:00
Yang Tse
6942d313ff
Verify only once test harness sftp server connectivity and functionality.
...
Make sure that the sftp client tool uses the ssh client binary that we have
used to generate the configuration files, otherwise sftp might be using one
located in the preferred path compiled into sftp.
2008-02-10 02:52:17 +00:00
Dan Fandrich
15e56c3284
Fixed some XML parsing problems.
2008-02-09 02:37:31 +00:00
Dan Fandrich
fc1443dcfc
Added key words to all SSL-using tests so they can be skipped if necessary.
...
Removed a few unnecessary requires SSL statements.
2008-02-09 02:08:34 +00:00
Dan Fandrich
59e3651af3
Fixed test to use HTTPS as documented.
2008-02-09 02:01:36 +00:00
Dan Fandrich
f01d324c83
Missed checking in these test data files.
2008-02-08 18:42:12 +00:00
Yang Tse
405e192b8c
Get rid of sftp subsystem additional parameters, they aren't widely supported
2008-02-08 17:32:58 +00:00
Yang Tse
1a340de0e5
To verify that the sftp server is actually running, responsive and that
...
all curl's tests generated configuration and key files are fine, a real
connection is established to the test harness sftp server authenticating
and running a simple sftp remote pwd command.
The verification is done using OpenSSH's or SunSSH's sftp client tool with
a configuration file with the same options as the test harness socks server
with the exception that dynamic forwarding is not used for sftp.
2008-02-08 13:54:02 +00:00
Dan Fandrich
ce1649564c
Added tests 1022 and 1023 to validate output of curl-config --version and
...
--vernum
2008-02-08 01:21:03 +00:00
Yang Tse
bad6410d08
Don't try to compare more than strlen chars
2008-02-06 17:35:17 +00:00
Yang Tse
fecb67b246
Use a long int data type to handle getpid() result
2008-02-06 16:54:01 +00:00
Yang Tse
2c0956200f
Fix buffer size specification.
...
Improve handling of boundary conditions for huge requests.
2008-02-05 18:37:53 +00:00
Yang Tse
acd9d72466
Minor variable type cleanups.
...
Disable "swsbounce" mode when the received request
isn't for the same test and part number.
2008-02-05 14:43:16 +00:00
Yang Tse
cd63a461d7
proper initialization of httprequest, no longer zeroing out twice
...
the whole 150000+ bytes struct, and also removing an equally big
additional buffer for pipelining treatment.
2008-02-05 02:21:38 +00:00
Yang Tse
03bbf4de48
When possible, use additional config options for test harness ssh server,
...
which are deprecated in recent OpenSSH versions but are current for SunSSH.
2008-01-31 16:37:16 +00:00
Daniel Stenberg
a62e155ca4
- Niklas Angebrand made the cookie support in libcurl properly deal with the
...
"HttpOnly" feature introduced by Microsoft and apparently also supported by
Firefox: http://msdn2.microsoft.com/en-us/library/ms533046.aspx . HttpOnly
is now supported when received from servers in HTTP headers, when written to
cookie jars and when read from existing cookie jars.
2008-01-31 12:21:57 +00:00
Daniel Stenberg
7b9435890d
add verbose output to test 509 for easier debugging
2008-01-29 23:10:25 +00:00
Daniel Stenberg
ceb5a8ca7b
- Michal Marek fixed minor mistake in test case 553 that prevented it from
...
working on other IP-addresses or port numbers.
2008-01-29 12:31:11 +00:00
Yang Tse
8fca5c2e69
Dont rely on PAMAuthenticationViaKbdInt default being 'no'
2008-01-27 02:35:20 +00:00
Daniel Stenberg
5f2055729e
added test 1021 to verify my fix for bug report #1879375
2008-01-26 00:13:38 +00:00
Yang Tse
69e540dfa6
improve request initialization for test harness HTTP server
2008-01-25 05:08:53 +00:00
Yang Tse
2198869eb1
Dmitry Kurochkin's test harness HTTP server pipelining fix fot test 530
2008-01-25 05:07:04 +00:00
Yang Tse
bdb2beb8e4
check availability of poll.h header at configuration time, and include
...
it when sys/poll.h is unavailable
2008-01-22 14:52:54 +00:00
Yang Tse
3caeb0a91f
undo using internal *printf() clones for test #530
2008-01-21 05:35:08 +00:00
Yang Tse
a4eddf0d0d
use internal *printf() clones since snprintf() not available on all platforms
2008-01-20 22:53:56 +00:00
Yang Tse
e9490fdbd9
Also disable GSSAPIAuthentication for the test harness ssh client
2008-01-20 04:05:25 +00:00
Daniel Stenberg
daadcfd1de
Dmitry Kurochkin fixed test case 530 (pipelining)
2008-01-19 10:14:45 +00:00
Yang Tse
01d95b56a0
fix failure to properly detect SSH and SOCKS servers start up on loaded systems
2008-01-18 09:18:59 +00:00
Yang Tse
0530b0a5ca
Don't abort tests 518 and 537 when unable to raise the open-file soft limit
2008-01-17 18:57:50 +00:00
Dan Fandrich
bcfc7d90d1
Put the comments in an XML-valid location.
2008-01-17 04:10:28 +00:00
Daniel Stenberg
c522f349fe
Added test 553. This test case and code is based on the bug recipe Joe Malicki
...
provided for bug report #1871269 , fixed on Jan 14 2008 before the 7.18.0
release.
2008-01-16 22:54:54 +00:00
Daniel Stenberg
6893fcaa9b
remove trailing comma too, even though I don't think it does any harm
2008-01-16 22:09:51 +00:00
Daniel Stenberg
301ae1ae1b
Nathan Coulter's patch that makes runtests.pl respect the PATH when figuring
...
out what valgrind to run.
2008-01-16 22:08:37 +00:00
Daniel Stenberg
b3de497d83
Dmitry Kurochkin worked a lot on improving the HTTP Pipelining support that
...
previously had a number of flaws, perhaps most notably when an application
fired up N transfers at once as then they wouldn't pipeline at all that
nicely as anyone would think... Test case 530 was also updated to take the
improved functionality into account.
2008-01-16 12:24:00 +00:00
Yang Tse
69f685056d
startnew() shouldn't return a positive pid as reported in the pidfile
...
by the spawned server itself unless it is actually alive
2008-01-14 19:28:54 +00:00
Yang Tse
502da27d65
add client features part
2008-01-13 03:27:14 +00:00
Yang Tse
5004529685
Remove hardcoded verbosity
2008-01-12 04:32:03 +00:00
Yang Tse
2b63eb8511
Ooops
2008-01-12 00:12:16 +00:00
Yang Tse
f09fe4b49f
Ooops
2008-01-11 21:59:05 +00:00
Yang Tse
35be09cf58
When verifying that test harness's SSH and SOCKS servers have been
...
started check also that the process is actually alive, since they
could have died once the pidfile was written out
2008-01-11 20:17:33 +00:00
Daniel Stenberg
08adf67969
Daniel Egger made CURLOPT_RANGE work on file:// URLs the very same way it
...
already worked for FTP:// URLs
2008-01-11 14:20:41 +00:00
Yang Tse
14ff7e75e0
Temporary change to help debugging SSH server verification failures
2008-01-10 16:19:14 +00:00
Yang Tse
c249a8aa1b
Fix file Id
2008-01-09 01:11:59 +00:00
Yang Tse
fc794ae012
Add /usr/freeware/sbin and /usr/freeware/libexec to the ssh binaries
...
locations search list.
2008-01-09 00:58:48 +00:00
Yang Tse
32cc75d6cb
Partially cleanup debugging messages in test harness, introduced for
...
new minimum SSH version support for SCP, SFTP and SOCKS tests.
Some verbosity which still remains, will go out before next release.
2008-01-08 20:12:43 +00:00
Yang Tse
1c0a19ad53
Remove increased loglevel intended to debug autobuild's publickey
...
authentication failures when using OpenSSH 2.9.9 or SunSSH.
Verified fact: Even when only using publickey authentication,
OpenSSH and SunSSH first validate the user, this implies that
if the user validation fails, 'invalid user', the publickey
authentication will not be allowed to complete.
2008-01-08 19:18:25 +00:00
Yang Tse
34d02d1969
Increase loglevel to debug autobuild's publickey authentication
...
failures when using OpenSSH 2.9.9 or SunSSH
2008-01-08 00:40:02 +00:00
Yang Tse
2408b236ca
Display ssh server log and configuration upon socks server failure
2008-01-08 00:39:31 +00:00
Dan Fandrich
4acd437952
Fixed test description
2008-01-07 19:54:40 +00:00
Yang Tse
9c6533d287
Increase MaxAuthTries from 0 to 10. Using a value of 0 is too restrictive
2008-01-06 02:02:55 +00:00
Daniel Stenberg
3df484088f
added keyword
2008-01-05 12:15:41 +00:00
Dan Fandrich
fcb2595ed6
"yes" must be in quotes to be XML compatible
2008-01-04 23:57:39 +00:00
Daniel Stenberg
fe0d7aee49
Daniel Egger provided 'nonewline=yes' support for the <stdout> section
2008-01-04 23:31:04 +00:00
Yang Tse
a4945fe687
Missing newline at end of message
2008-01-04 19:56:56 +00:00
Yang Tse
88d89b2177
Fix 'format string' compiler warning
2008-01-04 15:39:06 +00:00
Yang Tse
61a2d5ea75
'ControlPath' ssh client configuration file option requires OpenSSH 4.2 or
...
later to accept 'none' as an indication to disable connection multiplexing
2008-01-04 14:12:10 +00:00
Yang Tse
c479c64333
SunSSH 1.1 ssh client does not support config file options:
...
ConnectTimeout
ForwardX11Trusted
HashKnownHosts
RekeyLimit
ServerAliveCountMax
ServerAliveInterval
2008-01-04 13:24:17 +00:00
Yang Tse
7a2177dc42
- Display curl_ssh_config when socks server fails to start.
...
- Capability of running socks5 tests must be based on ssh daemon version
and not on ssh client version.
2008-01-04 13:00:40 +00:00
Yang Tse
bf6e2f28ba
Make sure @INC is modified before 'using' the sshhelp module.
2008-01-04 03:05:33 +00:00
Yang Tse
f5da1e5484
'LocalCommand' no longer used for ssh client config file. When used it
...
requires a non blank argument.
2008-01-04 03:04:30 +00:00
Yang Tse
fd8d862c37
Modify test harness so that the minimum SSH version required to run
...
SCP, SFTP and SOCKS4 tests is now OpenSSH 2.9.9 or SunSSH 1.0
For SOCKS5 tests minimum versions are OpenSSH 3.7 or SunSSH 1.0
2008-01-03 20:48:22 +00:00
Daniel Stenberg
f277124a0f
In an attempt to repeat the problem in bug report #1850730
...
(http://curl.haxx.se/bug/view.cgi?id=1850730 ) I wrote up test case 552. The
test is doing a 70K POST with a read callback and an ioctl callback over a
proxy requiring Digest auth. The test case code is more or less identical to
the test recipe code provided by Spacen Jasset (who submitted the bug report).
2007-12-26 21:48:52 +00:00
Dan Fandrich
9cd30c2012
Use getcwd() to get the directory, which works even if one of the directory
...
components doesn't have read permission set.
2007-12-22 18:25:43 +00:00
Dan Fandrich
d639ed1aaf
Use getcwd() to get the directory, which works even if one of the
...
directory components doesn't have read permission set.
2007-12-20 21:21:43 +00:00
Daniel Stenberg
82c9379b6c
spell!
2007-12-15 22:19:08 +00:00
Daniel Stenberg
c1730dc50a
Add test 551 that tests callback-post over a proxy that requires Digest auth.
...
A failed attempt to repeat bug report #1850730 (ie the test works fine).
2007-12-15 22:13:07 +00:00
Dan Fandrich
26115aac5d
Added missing <features>
2007-12-14 01:09:45 +00:00
Dan Fandrich
ca6b27aed2
Fixed typo in test title
2007-12-14 01:05:30 +00:00
Daniel Stenberg
963ef5414c
add keywords
2007-12-08 22:56:17 +00:00
Daniel Stenberg
975812d246
add missing files
2007-12-08 22:56:05 +00:00
Daniel Stenberg
089668ec73
correct the comment about size
2007-12-08 22:53:49 +00:00
Daniel Stenberg
cc0ce38acc
add test 549 and 550
2007-12-08 22:53:28 +00:00
Daniel Stenberg
7d3ea12b62
Spacen Jasset reported a problem with doing POST (with data read with a
...
callback) over a proxy when NTLM is used as auth with the proxy. The bug
also concerned Digest and was limited to using callback only. Spacen worked
with us to provide a useful patch. I added the test case 547 and 548 to
verify two variations of POST over proxy with NTLM.
2007-12-05 21:20:14 +00:00
Daniel Stenberg
59dc9085d1
fix compiler warning
2007-12-05 11:10:24 +00:00
Daniel Stenberg
4e4f33a297
added test548 which uses the lib547 source file, preparing for test547 which
...
is supposed to repeat the bug report "NTLM proxy authentication with
CURLOPT_READDATA seems broken." posted on the curl-library mailing list on dec
3 2007.
2007-12-05 11:08:56 +00:00
Daniel Stenberg
1f058f1014
removed the ;type= thing for FTP urls through proxy, since that's now only
...
present when enabled by on option which isn't done by default (and isn't even
available for the curl app atm)
2007-12-03 09:50:32 +00:00
Yang Tse
cf806748ec
To allow remote log inspection avoid redirecting messages to stderr.
...
Cleanup some debugging messages. Unlink log file on exit.
2007-11-28 01:46:28 +00:00
Yang Tse
0c367fef94
ConnectTimeout requires OpenSSH 3.7 or later
2007-11-27 20:57:22 +00:00
Yang Tse
a418d290f1
Explicitly disallow remote hosts to connect to local forwarded ports,
...
the socks server port in the test suite. This is the default setting
unless a tinkered built ssh is being used.
2007-11-27 00:52:30 +00:00
Yang Tse
08cb30801c
Stop ssh and socks servers when verification fails
2007-11-26 14:26:40 +00:00
Yang Tse
788de4f7ba
Providing an explicit bind address besides the port for dynamic application-level
...
port forwarding, our socks port, prevents ssh from running on some systems.
By default, ssh binds local port forwardings to the loopback address, since this
was the address being given as the explicit bind address, now it isn't given.
2007-11-26 14:07:09 +00:00
Daniel Stenberg
05221e9056
test1015 --data-urlencode
2007-11-26 11:04:21 +00:00
Yang Tse
d59841618d
Temporary change to better debug startup failures
...
of test suite ssh and socks servers.
2007-11-26 02:45:24 +00:00
Yang Tse
8d3964782a
Allow different start timeout specification for each server
2007-11-25 03:55:53 +00:00
Yang Tse
5b809a3104
make 'checkdied' in runtests.pl more robust
2007-11-23 12:18:45 +00:00
Yang Tse
3daa54d636
Revert last change since it breaks running the test suite
...
when builddir is different from srcdir.
2007-11-23 09:50:44 +00:00
Yang Tse
8f1829d1d2
Improve chance of running runtests.pl from outside the
...
source tree 'tests' directory
2007-11-23 04:03:46 +00:00
Yang Tse
6efb6addf2
Debugging messages to trace startnew failures
2007-11-22 19:56:38 +00:00
Yang Tse
61e2e86aef
Temporary change adding additional debugging messages to better pinpoint
...
startup failures of test suite ssh and socks servers.
2007-11-21 19:33:09 +00:00
Yang Tse
9b86eecb94
Fix trying to return outside of a subroutine
2007-11-21 17:50:30 +00:00
Yang Tse
6dfb5b4e1f
Don't gather additional debug info unless sshd actually fails
2007-11-20 16:47:56 +00:00
Yang Tse
258c4686b2
Improve detection of sshd un/supported options.
...
Gather additional debug info when the test suite ssh server fails to start.
2007-11-20 14:10:09 +00:00
Yang Tse
5376d1047c
This is a temporary change to test if OpenSSH 3.6 and SunSSH 1.1
...
are good/compatible enough to run the test suite ssh server and
socks tests
2007-11-19 17:20:32 +00:00
Yang Tse
968e943eac
Temporary change to help debugging string(s) returned by sshd -V
...
when sshd is not being identified as an OpenSSH daemon
2007-11-19 01:49:28 +00:00
Yang Tse
536f98a766
Add /opt/ssh/sbin and /opt/ssh/libexec to the sshd locations search list.
...
Improve wording of a couple of debug messages.
2007-11-18 01:16:44 +00:00
Yang Tse
c4e5613a7d
When unable to start test suite sshserver, log if OpenSSH has not been
...
found or the OpenSSH version found
2007-11-17 17:43:33 +00:00
Yang Tse
2b15823dab
Add /usr/local/sbin and /usr/freeware/bin to the sshd locations search list
2007-11-17 02:28:54 +00:00
Daniel Stenberg
59dcc7e191
Michal Marek made the test suite remember what test servers that fail to
...
start so that subsequent tries are simply skipped.
2007-11-16 23:06:53 +00:00
Daniel Stenberg
44d408204a
Michal Marek fixed the test suite to better deal with the case when the HTTP
...
ipv6 server can't run.
2007-11-15 22:41:31 +00:00
Yang Tse
ed636cbe44
Replace isupper with our uppercase macro version
2007-11-15 13:20:18 +00:00
Yang Tse
c960cd41e8
Fix comment
2007-11-08 16:32:31 +00:00
Dan Fandrich
c8355c27e9
Sort the directory listing because the server doesn't always do it.
2007-11-05 20:54:35 +00:00
Dan Fandrich
c2d7e2ae17
Added some keywords
2007-11-05 20:53:15 +00:00
Dan Fandrich
2f3d520571
Ignore more features that curl-config is not expected to know about
2007-11-01 21:20:24 +00:00
Dan Fandrich
8be493296d
Make postcheck failure message more like the others
2007-11-01 17:42:39 +00:00
Dan Fandrich
6f33531861
Added test case 1014 to compare curl-config --features with curl --version
2007-11-01 03:09:27 +00:00
Dan Fandrich
16897354bc
Added test case 1013 to check that curl-config --protocols matches the
...
protocols listed in curl --version
2007-11-01 00:36:55 +00:00
Dan Fandrich
6790c559af
Detect curl source when valgrind provides an absolute source file name
2007-10-31 18:32:06 +00:00
Dan Fandrich
38cd2d781f
Added test case 546 to check that subsequent FTP transfers work after a
...
failed one using the multi interface
2007-10-29 22:57:31 +00:00
Dan Fandrich
15feb8217f
Fixed the 2000-series tests so that the downloaded data is actually checked
2007-10-27 01:04:36 +00:00
Dan Fandrich
59dccb34b0
Made the magic testnumber > 10000 support actually work
2007-10-27 01:02:57 +00:00
Dan Fandrich
e8057241c6
Fixed the test case to create only a single test file, which is all the
...
test harness supports.
2007-10-26 20:19:49 +00:00
Dan Fandrich
3f55ed0ef7
Check that all servers in the <server> section are supported, not just
...
the first.
2007-10-26 19:26:04 +00:00
Yang Tse
1d49c04545
Detect, log and avoid storing a request with a negative size.
2007-10-26 00:36:36 +00:00
Dan Fandrich
43885493ea
Disable valgrind for this test to avoid the rlimit = soft rlimit problem
...
found by Michal Marek.
2007-10-25 21:49:45 +00:00
Dan Fandrich
1eac702c1a
Added test case 2004.
...
Disable valgrind in test case 1004 due to a libtool bug.
2007-10-25 21:04:51 +00:00
Patrick Monnerat
0678a51d3b
Allow test server to handle binary POSTs.
...
Tests 35, 544 545 added: binary data POSTs.
2007-10-25 19:40:05 +00:00
Dan Fandrich
b7dd186d36
When valgrind is disabled in the test file, don't run it at all (as opposed
...
to running it and ignoring its output).
2007-10-25 19:39:52 +00:00
Yang Tse
26c1c8b2ad
Don't show valgrind log files of other tests
2007-10-25 18:07:13 +00:00
Daniel Stenberg
824aa5f918
Michal Marek fixed the test script to be able to use valgrind even when the
...
lib is built shared with libtool.
2007-10-25 14:30:51 +00:00
Daniel Stenberg
91e27ce755
Fixed a TFTP memory leak. Enabled test 2003 to verify this.
2007-10-25 07:47:38 +00:00
Dan Fandrich
65ed696625
Fixed the test TFTP server to support the >10000 test number notation
...
Added test cases 2002 and 2003 (the latter disabled for now)
2007-10-24 22:48:23 +00:00
Daniel Stenberg
3e3eaaada7
enable 2000 and 2001
2007-10-24 21:27:25 +00:00
Dan Fandrich
38649d1362
Added test cases 2000 and 2001 which test multiple protocols using the
...
same easy handle
Fixed the filecheck: make target to work outside the source tree
2007-10-24 19:40:07 +00:00
Dan Fandrich
4f00a02ba3
Fixed the test FTP server to support the >10000 test number notation
2007-10-24 19:39:29 +00:00
Patrick Monnerat
c67c54d4b3
Close log/server.input ASAP to avoid lengthy file lock on cygwin
2007-10-24 13:03:08 +00:00
Yang Tse
8e7da9464a
Read callback should return 0 when no more data left
2007-10-23 15:10:48 +00:00
Yang Tse
92433e596b
We use this ZERO_NULL to avoid picky compiler warnings,
...
when assigning a NULL pointer to a function pointer var.
2007-10-17 16:58:32 +00:00
Dan Fandrich
2741f97a69
Fixed a couple of typos that messed up the tests.
2007-10-12 02:09:45 +00:00
Dan Fandrich
d7fbe07ee2
Added some <keywords> sections and use some key words more consistently.
2007-10-12 01:44:22 +00:00
Dan Fandrich
2fce1f3e97
Fixed the -l option of runtests.pl
...
Added support for skipping tests based on key words.
2007-10-11 21:15:09 +00:00
Yang Tse
54bcde0a14
also log error message string
2007-10-09 23:24:28 +00:00
Yang Tse
660c86ce95
logmsg already appends '\n'
2007-10-09 23:21:29 +00:00
Daniel Stenberg
6dd6b4d1fa
I enabled test 1009 and made the --local-port use a wide range to reduce the
...
risk of failures.
2007-10-04 21:26:26 +00:00
Daniel Stenberg
67d94514b0
Kim Rinnewitz reported that --local-port didn't work with TFTP transfers.
...
This happened because the tftp code always uncondionally did a bind()
without caring if one already had been done and then it failed. I wrote a
test case (1009) to verify this, but it is a bit error-prone since it will
have to pick a fixed local port number and since the tests are run on so
many different hosts in different situations I add it in disabled state.
2007-10-04 10:01:41 +00:00
Yang Tse
06be8bc389
On error, close "log/server.response"
2007-10-04 02:09:33 +00:00
Yang Tse
0ac5fd354b
If TCP_NODELAY is not defined we can't disable the Nagle algorithm
2007-10-03 23:38:07 +00:00
Yang Tse
059707be32
Renamed a couple of global variables to avoid shadowing warnings
2007-10-02 16:05:28 +00:00
Daniel Stenberg
119364741e
known bug #46 : chunked-encoded CONNECT responses from a http proxy now works.
...
Added test case 1008 to verify. Note that #47 is still there.
2007-10-02 10:21:36 +00:00
Daniel Stenberg
8d1239c091
Disable the Nagle algorithm and send back responses in small chunks in an
...
attempt to force smaller bits to get read by clients.
2007-10-02 10:13:37 +00:00
Daniel Stenberg
9ca2644429
Added test536 that was accidentally missing. I also wrote up a new makefile
...
target called 'filecheck' so that if you run 'make filecheck' in this directory
it'll check if the local files are also mentioned in the Makefile.am so that
they are properly included in release archives!
2007-09-30 22:58:24 +00:00
Daniel Stenberg
ec08e2f9f2
Alex Fishman reported a curl_easy_escape() problem that was made the
...
function do wrong on all input bytes that are >= 0x80 (decimal 128) due to a
signed / unsigned mistake in the code. I fixed it and added test case 543 to
verify.
2007-09-30 22:40:24 +00:00
Yang Tse
b108c664ac
Fix missing right parenthesis
2007-09-30 01:27:39 +00:00
Yang Tse
64db60397b
Fix comparison between signed and unsigned
2007-09-30 01:01:43 +00:00
Dan Fandrich
9fc8800b6d
Removed cut-and-paste cruft leading to fclose() of an unopened file
2007-09-27 17:22:10 +00:00
Dan Fandrich
16b95fc773
Enabled a few more gcc warnings with --enable-debug. Renamed a few
...
variables to avoid shadowing global declarations.
2007-09-27 01:45:22 +00:00
Daniel Stenberg
fd4cf78f36
Philip Langdale provided the new CURLOPT_POST301 option for
...
curl_easy_setopt() that alters how libcurl functions when following
redirects. It makes libcurl obey the RFC2616 when a 301 response is received
after a non-GET request is made. Default libcurl behaviour is to change
method to GET in the subsequent request (like it does for response code 302
- because that's what many/most browsers do), but with this CURLOPT_POST301
option enabled it will do what the spec says and do the next request using
the same method again. I.e keep POST after 301.
The curl tool got this option as --post301
Test case 1011 and 1012 were added to verify.
2007-09-26 12:44:59 +00:00
Daniel Stenberg
a6315359d7
Max Katsev reported that when doing a libcurl FTP request with
...
CURLOPT_NOBODY enabled but not CURLOPT_HEADER, libcurl wouldn't do TYPE
before it does SIZE which makes it less useful. I walked over the code and
made it do this properly, and added test case 542 to verify it.
2007-09-26 12:00:01 +00:00
Daniel Stenberg
775f86cb5a
Immanuel Gregoire fixed KNOWN_BUGS #44 : --ftp-method nocwd did not handle
...
URLs ending with a slash properly (it should list the contents of that
directory). Test case 351 brought back and also test 1010 was added.
2007-09-24 21:47:35 +00:00
Dan Fandrich
4686adb433
Added variable substitution to the <verify><file> section.
...
Made a few more tests work remotely.
2007-09-20 20:39:17 +00:00
Dan Fandrich
0159636373
Use double quotes in command lines for consistency.
2007-09-18 20:41:20 +00:00
Dan Fandrich
4f067b1d1c
IPv6 is a required feature for these two tests, even if it's not obvious.
2007-09-18 17:41:04 +00:00
Dan Fandrich
ae60745e3e
Fixed the required server entry
2007-09-17 23:23:13 +00:00
Dan Fandrich
7f496d8c3f
Changed some FTP tests to validate the format of the PORT and EPRT commands
...
sent by curl, if not the addresses themselves.
2007-09-17 21:44:57 +00:00
Dan Fandrich
048c74f2fa
Added %CLIENTIP and %CLIENT6IP data file substitution variables.
...
Added hooks to the test suite to make it possible to test a curl running
on a remote host.
2007-09-17 21:42:01 +00:00
Dan Fandrich
0ed57d370d
Allow setting the IP address on which to listen for connections.
2007-09-17 21:39:34 +00:00
Dan Fandrich
9b11a84e74
Make the ftp server connect to the address given by curl in the PORT/EPRT
...
instead of hard-coding it to 127.0.0.1
2007-09-17 18:12:11 +00:00
Dan Fandrich
26f8de459a
Made the directory postprocessor more forgiving of input directory format
2007-09-17 17:22:46 +00:00
Daniel Stenberg
e04151ed76
Michal Marek made libcurl automatically append ";type=<a|i>" when using HTTP
...
proxies for FTP urls.
2007-09-15 21:14:12 +00:00
Dan Fandrich
05e4a3026d
Replaced 127.0.0.1 with %HOSTIP where possible
2007-09-14 19:32:31 +00:00
Daniel Stenberg
9e241864e3
Extracting the CURLINFO_PRIVATE pointer makes no point since nothing set
...
it. This caused a segfault in some fprintf() implementations. Like on Solaris.
2007-09-12 10:46:14 +00:00
Daniel Stenberg
9e88343a17
Daniel S (12 September 2007)
...
- Bug report #1792649 (http://curl.haxx.se/bug/view.cgi?id=1792649 ) pointed
out a problem with doing an empty upload over FTP on a re-used connection.
I added test case 541 to reproduce it and to verify the fix.
- I noticed while writing test 541 that the FTP code wrongly did a CWD on the
second transfer as it didn't store and remember the "" path from the
previous transfer so it would instead CWD to the entry path as stored. This
worked, but did a superfluous command. Thus, test case 541 now also verifies
this fix.
2007-09-11 22:23:57 +00:00
Dan Fandrich
d030dfa6e2
Added test case 1007 to test permission problem when uploading with TFTP
...
(to validate bug #1790403 ).
2007-09-07 20:05:20 +00:00
Dan Fandrich
6fd1cfeab1
Minor updates
2007-09-05 17:17:59 +00:00
Dan Fandrich
f6251734fc
Added more accurate error code returns from SFTP operations. Added test
...
case 615 to test an SFTP upload failure.
2007-08-30 23:03:59 +00:00
Dan Fandrich
9f44a95522
Renamed several libcurl error codes and options to make them more general
...
and allow reuse by multiple protocols. Several unused error codes were
removed. In all cases, macros were added to preserve source (and binary)
compatibility with the old names. These macros are subject to removal at
a future date, but probably not before 2009. An application can be
tested to see if it is using any obsolete code by compiling it with the
CURL_NO_OLDIES macro defined.
Documented some newer error codes in libcurl-error(3)
2007-08-30 20:34:57 +00:00
Dan Fandrich
5d4c981e13
Fixed a few compiler warnings. Try to do a slightly better job of
...
cleaning up after an OOM condition in curl_multi_add_handle
2007-08-30 18:26:19 +00:00
Dan Fandrich
5cb2ee878c
Mention that 'make test' does more than just run all the tests (suggested
...
by Kris/tinker105 in bug #1779054 ) and mention the torture tests.
2007-08-28 18:23:19 +00:00
Daniel Stenberg
7cba40b218
Bug report #1779054 ( http://curl.haxx.se/bug/view.cgi?id=1779054 ) pointed
...
out that libcurl didn't deal with large responses from server commands, when
the single response was consisting of multiple lines but of a total size of
16KB or more. Dan Fandrich improved the ftp test script and provided test
case 1006 to repeat the problem, and I fixed the code to make sure this new
test case runs fine.
2007-08-24 14:00:42 +00:00
Dan Fandrich
975fafdc49
Added test case 1005 to test excessively-long replies spread out over
...
multiple lines (similar to test case 1003).
2007-08-23 23:25:47 +00:00
Dan Fandrich
9537580ba2
Allow ftp server alternate replies to contain backslash-escaped control
...
characters.
2007-08-23 23:24:39 +00:00
Dan Fandrich
7ffae92daf
Need even more time to wait for an accept.
2007-08-23 18:45:28 +00:00
Dan Fandrich
abca03cf36
Added test1004 to validate a previous fix for a memory leak when an
...
empty proxy server is selected.
2007-08-23 17:35:00 +00:00
Daniel Stenberg
381e372939
Bug report #1779054 ( http://curl.haxx.se/bug/view.cgi?id=1779054 ) pointed
...
out that libcurl didn't deal with very long (>16K) FTP server response lines
properly. Starting now, libcurl will chop them off (thus the client app will
not get the full line) but survive and deal with them fine otherwise. Test
case 1003 was added to verify this.
2007-08-22 14:18:06 +00:00
Daniel Stenberg
c347db2e0a
added a size > buffer size check to make it easier to track this in the
...
future
2007-08-22 14:09:13 +00:00
Daniel Stenberg
232a4553b8
Upped the buffer size to 17000+ bytes to prepare for the upcoming test 1003
...
that verfies ridiculously long server response lines. Also changed sprintf
to snprintf in a few places.
2007-08-22 13:57:49 +00:00
Dan Fandrich
1a8d8aa227
Increase timeout for accept for improved reliability on loaded servers.
2007-08-20 17:53:38 +00:00
Daniel Stenberg
014fe6971e
remove stupid comment since there's no content in this test case
2007-08-17 22:24:51 +00:00
Daniel Stenberg
3217809294
Robson Braga Araujo filed bug report #1776235
...
(http://curl.haxx.se/bug/view.cgi?id=1776235 ) about ftp requests with NOBODY
on a directory would do a "SIZE (null)" request. This is now fixed and test
case 1000 was added to verify.
2007-08-17 22:22:43 +00:00
Daniel Stenberg
dcf698dc74
some keywords for future stats/coverage checks
2007-08-17 22:17:23 +00:00
Daniel Stenberg
54117be639
Moved the 5320 and 5322 into the 1000-series instead which is a documented
...
range. They are about FTP but the 100-199 range is full.
2007-08-17 22:11:25 +00:00
Daniel Stenberg
5a79532aee
Song Ma provided a patch that cures a problem libcurl has when doing resume
...
HTTP PUT using Digest authentication. Test case 5320 and 5322 were also
added to verify the functionality.
2007-08-17 20:21:32 +00:00
Dan Fandrich
652e2cf57c
Removed redundant dependency lines
2007-08-13 18:11:37 +00:00
Dan Fandrich
c7a66d5af4
There's no need to ignore the User-Agent for this test.
2007-08-09 03:28:16 +00:00
Dan Fandrich
2e60ca382d
Fixed some icc compiler warnings.
2007-08-07 00:10:27 +00:00
Daniel Stenberg
6f750f3b57
Dmitriy Sergeyev reported a regression: resumed file:// transfers broke
...
after 7.16.2. This is much due to the different treatment file:// gets
internally, but now I added test 231 to make it less likely to happen again
without us noticing!
2007-08-02 14:09:08 +00:00
Dan Fandrich
5ecd56d964
Implemented only the parts of Patrick Monnerat's OS/400 patch that renamed
...
some few internal identifiers to avoid conflicts, which could be useful on
other platforms.
2007-07-23 18:51:22 +00:00
Dan Fandrich
cc44fb1dc8
Log the "<CMD> wasn't handled" error normally since it is now expected
...
to occur in a couple of tests.
2007-07-23 17:51:43 +00:00
Daniel Stenberg
4bbcc47f3f
Added test case 354 that makes a simple FTP retrieval without password, which
...
verifies the bug fix in #1757328 .
2007-07-22 10:08:59 +00:00
Daniel Stenberg
8ab495a088
test and verify curl -I on a single FTP file somewhat more than before
2007-07-21 21:49:23 +00:00
Daniel Stenberg
84e7bb85b1
To allow more flexibility in FTP test cases, I've removed the enforced states
...
from the test server code as they served no real purpose. The test server is
here to serve for the test cases, not to attempt to function as a real server!
2007-07-21 21:48:58 +00:00
Dan Fandrich
c7db74fe73
Revert the 512 change since newer versions of OpenSSH don't support DSA
...
keys that small.
2007-07-19 01:42:22 +00:00
Dan Fandrich
89d119646d
Use 512 bit keys to reduce the time taken to generate them. This shouldn't
...
really reduce security since in the common case of a daily automated build
the keys are only used for a single test run lasting a few minutes before
being deleted.
2007-07-18 00:27:13 +00:00
Dan Fandrich
989dd9c34a
Fixed test cases 613 and 614 by improving the log postprocessor to handle
...
a new directory listing format that newer libssh2's can provide. This
is probably NOT sufficient to handle all directory listing formats that
server's can provide and should be revisited.
2007-07-17 21:53:38 +00:00
Daniel Stenberg
98b9349be7
make it do all three requests on the same connection
2007-07-16 21:44:46 +00:00
Daniel Stenberg
1da3d402f6
convert test case 540 to use a custom Host: header as well
2007-07-15 21:00:26 +00:00
Daniel Stenberg
1da3192d2d
let's just export the whole argc + argv pair globally so that each test tool
...
can take advantage of it however they see fit!
2007-07-15 20:59:43 +00:00
Daniel Stenberg
15c8219340
Added test case 540 and lib540.c, the 'proxyauth.c' test app posted by Shmulik
...
Regev on the libcurl mailing list on 10 Jul 2007, converted to a test case.
2007-07-14 22:39:22 +00:00
Daniel Stenberg
5ae21ebde9
add support for arg3 as the third argument...
2007-07-14 22:38:18 +00:00
Daniel Stenberg
c7e0d8c30b
add some better logging when HTTP server start fails, and make the failure
...
really hard if the test server can't be resolved (like for ::1 ipv6)
2007-07-14 22:33:46 +00:00
Daniel Stenberg
a53ba060c8
start the retry delay at 10 ms, double it for every failed attempt which makes
...
it 10 seconds delay after 11 attempts
2007-07-12 17:03:45 +00:00
Gunter Knauf
72bb5854f7
the timeout was probably too short with max = 1 sec, so lets test with 5 sec.
2007-07-12 10:54:15 +00:00
Gunter Knauf
0878b14f79
added time loop to sockfilt.c in order to wait for SO_REUSEADDR;
...
added go_sleep() to util.c.
2007-07-12 01:07:49 +00:00
Dan Fandrich
814b471d55
Added a code coverage section using gcc and gcov.
2007-07-10 22:55:51 +00:00
Dan Fandrich
19631f5d5f
Force the time zone to GMT in the cookie tests in case the user is
...
using one of the so-called 'right' time zones that take into account
leap seconds, which causes the tests to fail (as reported by
Daniel Black in bug report #1745964 ).
2007-07-10 22:27:16 +00:00
James Housley
a8d6b40736
The previous commits changed the error code
2007-07-10 22:26:59 +00:00
Dan Fandrich
93bd512357
Fixed a curl memory leak reported by Song Ma with a modified version
...
of the patch he suggested. Added his test case as test289 to verify.
2007-07-10 22:23:16 +00:00
Dan Fandrich
598bc3968e
Add -a when running torture tests now that it's supported.
2007-07-05 01:38:00 +00:00
Gunter Knauf
c8a47bf662
revert previous patch since it turned out that older cp dont know this switch, argh!
2007-06-28 22:31:18 +00:00
James Housley
aed0cc6f2a
Using fdopen() is a more correct way to implement the CURLOPT_NEW_FILE_PREMS
...
file.c, but the debug interface was missing. This adds the routines needed
to make the memory debuging work for fdopen().
2007-06-28 11:11:29 +00:00
Gunter Knauf
5df5a2aa54
fixed nasty cp warnings about not beeing able to preserve ownership.
2007-06-28 01:20:30 +00:00
Daniel Stenberg
974fa1242a
Adjusted how libcurl treats HTTP 1.1 responses without content-lenth or
...
chunked encoding (that also lacks "Connection: close"). It now simply
assumes that the connection WILL be closed to signal the end, as that is how
RFC2616 section 4.4 point #5 says we should behave.
2007-06-25 13:58:14 +00:00
Daniel Stenberg
a1b650ad7b
Gerrit Bruchhuser pointed out a warning that the Intel(R) Thread Checker
...
tool reports and it was indeed a legitimate one and it is one fixed. It was
a use of a share without doing the proper locking first.
2007-06-21 14:23:38 +00:00
Daniel Stenberg
fc3c5dae87
and fix another flaw in the singlecwd case when we get ftp://site.com/, also
...
from the #1739100 bug report
2007-06-19 12:33:28 +00:00
Daniel Stenberg
cc26cc5dcd
Test listing of root dir with the three ftp-methods. KNOWN_BUGS #44 make me
...
disable test 351 by default by I add the test case anyway to make it easier
to work on this problem in the future.
2007-06-18 21:04:05 +00:00
Daniel Stenberg
b0aa11fde7
Tom Regner added /usr/lib/misc to the path to scan for sftp to make the
...
sftp tests run fine on gentoo
2007-06-14 21:16:08 +00:00
Dan Fandrich
c45d44fee9
Wait longer for servers to start up since the ssh server needs to generate
...
keys the first time (which can take a while on a slow or loaded host).
Enforce a longer startup wait time for the ssh client SOCKS server, too.
Check for an error code from startnew() when starting any server.
2007-06-11 17:53:10 +00:00
Dan Fandrich
1e718a515a
We do not use RSA keys in the test suite.
2007-06-11 17:49:25 +00:00
Dan Fandrich
477e27f99d
Fixed the test harness so that it actually kills the ssh being used as
...
the SOCKS server.
2007-06-08 18:56:05 +00:00
Dan Fandrich
6a84d492f1
Improved compatibility with perl 5.0 on the 'open' calls.
2007-06-08 17:32:24 +00:00
Dan Fandrich
873d95a34c
Incorporated Daniel Black's test706 and test707 SOCKS test cases.
2007-06-08 17:21:40 +00:00
Dan Fandrich
1500e95839
Improved compatibility with perl 5.0 on the 'open' calls.
2007-06-08 17:03:50 +00:00
Dan Fandrich
ad80490711
Changed the opens to work on older versions of perl.
...
Redirect ssh output to ssh.log
2007-06-07 22:42:26 +00:00
Dan Fandrich
073a6cea45
Renamed the sshd log file to sshd.log.
...
Added more options to the ssh config file to improve the consistency of
the test environment.
Force a rewrite of the ssh config files on every invocation.
Changed the opens to work on older versions of perl.
2007-06-07 21:42:33 +00:00
Dan Fandrich
345ffd1163
Cleaned up SOCKS tests. Use a magic port number instead of killserver
...
to do nonlistening server tests, like other tests.
2007-06-07 20:14:00 +00:00
Dan Fandrich
f0ffb35d55
Fixed some problems in starting SSH for use in SOCKS.
2007-06-07 19:49:09 +00:00
Daniel Stenberg
e86dfd9688
added 703: a socks5 version of 702
2007-06-05 13:52:34 +00:00
Daniel Stenberg
a466b31574
Daniel Black's test suite fixes and initial test cases for SOCKS4/5 using
...
openssh
2007-06-05 13:50:59 +00:00
Yang Tse
9583b51d80
In case of test failure, try not to show log files of other tests
2007-05-30 17:15:05 +00:00
Dan Fandrich
09fd3b4935
Match file times occurring in the morning.
2007-05-16 17:45:53 +00:00
Dan Fandrich
ea43bb013b
Added support for quote commands before a transfer using SFTP and test
...
case 614.
Allow SFTP quote commands chmod, chown, chgrp to set a value of 0.
2007-05-15 00:28:50 +00:00
Dan Fandrich
b0a4c992e7
Added SFTP directory listing test case 613.
2007-05-14 22:03:42 +00:00
Dan Fandrich
85707460e5
Added FTPS upload tests 408 and 409.
2007-05-10 20:03:20 +00:00
Dan Fandrich
ed998270aa
Added FTPS test cases 406 and 407
2007-05-08 22:14:30 +00:00
Dan Fandrich
6c8e6549d0
Check the return code from curl_multi_add_handle()
2007-05-02 06:02:13 +00:00
Dan Fandrich
5187faeeb9
Improved the test harness to allow running test servers on other than
...
the default port numbers, allowing more than one test suite to run
simultaneously on the same host.
2007-04-30 20:15:33 +00:00
Dan Fandrich
1228ec9fbb
Fixed some tests to stop hard-coding the port number.
2007-04-30 19:05:48 +00:00
Dan Fandrich
f213d0db98
Added support in runtests.pl for "!n" test numbers to disable individual tests.
2007-04-25 23:18:52 +00:00
Dan Fandrich
9bdb05b4d6
When displaying log files, truncate the really longs ones such as you
...
would get from a torture test.
2007-04-25 20:09:32 +00:00
Dan Fandrich
61d7e720a5
Treat log files and -k the same when running torture tests as when not.
2007-04-24 23:28:57 +00:00
Dan Fandrich
17507eac85
Clear out FTP server options before each new client.
...
Wait for child processes to die to avoid creating zombies.
2007-04-24 21:30:39 +00:00
Dan Fandrich
6a35841b2e
Added tests 610-612 to test more SFTP post-quote commands.
2007-04-23 23:00:38 +00:00
Dan Fandrich
28dde78dde
Added <postcheck> support to the test harness.
2007-04-23 22:58:45 +00:00
Dan Fandrich
37171809f6
Mention NSS, <postcmd> commands
2007-04-23 21:18:30 +00:00
Dan Fandrich
3398eca7c3
Changed another nonexistent host name to be under the haxx.se domain
...
to guarantee against it ever being valid.
2007-04-23 01:51:02 +00:00
Dan Fandrich
043070f90e
Changed an error message slightly so it can be caught easier by the
...
autobuild logs scanner.
2007-04-20 17:16:32 +00:00
Dan Fandrich
ae3d5949b8
Various test file cleanups, including using <servercmd> instead of writing
...
directly to ftpserver.cmd and removing unneeded empty sections.
2007-04-18 20:22:01 +00:00
Dan Fandrich
66fc5498d2
Added test cases 296, 297 and 298 to test --ftp-method handling
2007-04-18 06:30:28 +00:00
Daniel Stenberg
e3dab1bea2
jayjwa added the "DH PARAMETERS" to make this work with recent stunnels
2007-04-14 20:29:09 +00:00
Dan Fandrich
71a0d50f48
Added test cases 294 and 295 to test --ftp-account handling
2007-04-13 20:59:15 +00:00
Yang Tse
8d2a0fe85b
Fix test case 534 which started to fail 2007-04-13 due to the existance
...
of a new host on the net with the same silly domain the test was using
for a host which was supposed not to exist.
2007-04-13 11:35:19 +00:00
Dan Fandrich
35935d71d2
Honour the -a option when -t is enabled.
2007-04-10 00:37:56 +00:00
Dan Fandrich
de17f4436e
Changed error return codes to match update code.
2007-04-09 18:24:56 +00:00
Yang Tse
248a5381d4
In case of test failure, try not to show log files of other tests
2007-04-06 04:24:13 +00:00
Dan Fandrich
c1ab3e2d59
Enabled the ssh tests 600-609.
2007-04-05 19:28:33 +00:00
Yang Tse
a0a79ce853
unify fopen() failure error message among tests, allowing
...
the testsuite to count them as errors of the same kind
2007-04-05 11:05:36 +00:00
Yang Tse
70f9a13ecb
Further improve displaying of individual logfiles
2007-04-05 00:14:27 +00:00
Yang Tse
5625e5d5b8
add debug message and expand comment
2007-04-04 08:58:36 +00:00
Yang Tse
8a529bd987
test can be allowed to run if fopen() is capable of fopen()ing
...
three additional files once that we have already open()ed the
big bunch of file descriptors.
2007-04-04 06:39:03 +00:00
Yang Tse
a1f72943e9
cleanup
2007-04-04 05:04:47 +00:00
Dan Fandrich
0969a96732
Whoops--didn't mean to enable the ssh tests quite yet.
2007-04-04 04:57:40 +00:00
Yang Tse
ec8019b2a8
test can be allowed to run if fopen() is capable of fopen()ing
...
SAFETY_MARGIN additional files once that we have already open()ed
the big bunch of file descriptors.
2007-04-04 03:19:59 +00:00
Dan Fandrich
27d2d78059
Added more SSH tests (left disabled for now).
2007-04-04 00:48:37 +00:00
Yang Tse
584f3639e3
update copyright year
2007-04-03 18:25:18 +00:00
Yang Tse
2886ce96b0
Verify if the test is limited by an ancient stdio with a 256
...
open file limit. In this case the test is skipped with a
message showing this limitation when the number of open files
needed for the test is greater than 256.
2007-04-03 18:02:02 +00:00
Yang Tse
3344142b87
fix enumeration of disabled tests when they have the highest number
2007-04-03 15:59:52 +00:00
Yang Tse
70550a0572
Improve displaying of logfiles making sure all lines end with \n
...
and avoid using ! as last char of line.
2007-04-03 12:27:03 +00:00
Yang Tse
7bbad0b534
try not to link with unneeded libs, avoiding global LDADD
2007-04-03 02:57:54 +00:00
Yang Tse
161be66c89
when detecting un/supported sshd options use curl's sshd config file.
2007-04-03 02:36:55 +00:00
Dan Fandrich
4095c9de37
Eliminate the sshd option checking dependency on wc and make it faster.
2007-04-03 00:06:39 +00:00
Yang Tse
b8c12fe658
fix error in previous commit
2007-04-02 04:14:59 +00:00
Yang Tse
bdbaedc452
verify ssh daemon version
2007-04-02 01:21:57 +00:00
Gunter Knauf
0839621f47
print update message only if we really update CVS.
2007-04-01 13:59:50 +00:00
Dan Fandrich
ef10eaeb29
Added scp and sftp nonexistent file retrieval tests, but leave them
...
disabled for now.
2007-04-01 06:28:12 +00:00
Dan Fandrich
f8d78d57a7
Disable the SSH tests until the libssh2 bugs that causes test hangs
...
are sorted out.
2007-03-31 20:00:40 +00:00
Yang Tse
fdc1b61507
sshd might fail to start if given an unsupported configuration option.
...
Try to avoid this problem checking for some possible unsupported options,
and avoid using them in the configuration file.
2007-03-31 03:21:08 +00:00
Dan Fandrich
7fd154f094
Fixed some typos in the comments.
2007-03-30 22:07:48 +00:00
Dan Fandrich
a209c32bf3
Resurrected old FTPS error tests 402 and 403 as 404 and 405.
2007-03-30 22:04:14 +00:00
Dan Fandrich
40981286ea
Added HTTP --max-filesize tests and FTPS CCC failure test.
2007-03-30 18:50:55 +00:00
Yang Tse
f55a1c3a6c
Searching for sshd and sftp-server will be done first
...
in the PATH and afterwards in other common locations.
2007-03-30 10:11:49 +00:00
Yang Tse
c5586a65c2
ignore more generated files
2007-03-30 02:59:39 +00:00
Dan Fandrich
ffb11ad5c6
Don't tear down the ftp connection if the maximum filesize was exceeded
...
and added tests 290 and 291 to check.
2007-03-30 01:13:47 +00:00
Dan Fandrich
fbb1e49215
Added FTP-SSL failure test 402
2007-03-30 00:08:41 +00:00
Dan Fandrich
c26320d94f
Added ftps upload test 401
2007-03-29 22:50:23 +00:00
Dan Fandrich
c563a53c16
Eliminated extra / in scp/sftp URLs.
2007-03-29 19:19:06 +00:00
Dan Fandrich
e37a49086e
Add another option to tighten the test environment.
2007-03-29 18:46:09 +00:00
Dan Fandrich
f776c1d2eb
Abort if attempting to run as root.
2007-03-29 05:25:11 +00:00
Dan Fandrich
31b1e988f4
Only show exit status in verbose mode.
2007-03-28 04:36:09 +00:00
Dan Fandrich
884171aecf
Don't launch sshd as a daemon so its output can be logged.
2007-03-28 04:05:55 +00:00
Dan Fandrich
282127fbff
Tighten up a few more OpenSSH options
2007-03-27 04:01:39 +00:00
Dan Fandrich
2166645ce4
Added SFTP and SCP upload tests in test602 & test603
2007-03-26 19:23:00 +00:00
Dan Fandrich
844f5b6b45
Added test600 and test601, SFTP and SCP file retrieval tests.
2007-03-26 18:04:05 +00:00
Gunter Knauf
424063235b
catch up new lib extension when build with gcc/nlmconv.
2007-03-26 17:18:36 +00:00
Dan Fandrich
3b355421ec
Added sshserver.pl
2007-03-24 06:29:58 +00:00
Dan Fandrich
0dd1219668
Fixed a memory leak when specifying a proxy with a file: URL and added
...
test case 288 to verify it.
2007-03-24 02:15:20 +00:00
Dan Fandrich
b7131009fb
Changed the test harness to attempt to gracefully shut down servers
...
before resorting to the kill -9 hammer.
Added test harness infrastructure to support scp/sftp tests, using
OpenSSH as the server.
2007-03-24 01:01:28 +00:00
Daniel Stenberg
0c817b6614
language fix
2007-03-18 23:16:36 +00:00
Daniel Stenberg
ff314d7600
detect and show if built with yassl, but also set the "openssl" flag internally
...
since that is the API yassl attempts to provide
2007-03-18 22:37:23 +00:00
Daniel Stenberg
c1f3edbdd1
openssl/bio.h doesn't exist when we build with yassl so avoid trying
2007-03-16 22:44:46 +00:00
Dan Fandrich
a20a6f67c5
Fixed the test case to use a truly invalid urlglob range.
2007-03-16 04:34:53 +00:00
Dan Fandrich
ae07fd2ba8
libcurl supplies its own crypto hash functions when SSL is disabled, so
...
'crypto' tests aren't dependent on SSL. Compiling with
--disable-crypto-auth will cause test failures, however.
2007-03-12 20:50:16 +00:00
Yang Tse
40087ce7c0
change max allowed time for this test to complete to 90 seconds
2007-03-10 00:19:05 +00:00
Dan Fandrich
e12d46ac50
Updated the test harness to add a new "crypto" feature check and updated the
...
appropriate test case to use it. For now, this is treated the same as the
"SSL" feature because curl doesn't list it separately.
2007-03-09 23:39:42 +00:00
Dan Fandrich
1962ebf8e7
Updated the test harness to check for protocol support before running each
...
test, fixing KNOWN_BUGS #11 . Fixed some tests to more accurately specify
their required servers and features.
2007-03-09 21:01:39 +00:00
Dan Fandrich
7c144d5a7e
Made a few cleanups.
2007-03-08 20:00:28 +00:00
Dan Fandrich
0f0540d00b
Added SSL as a required feature for test case 400.
2007-03-08 19:50:32 +00:00
Dan Fandrich
1bfa7dfe39
Added test infrastructure to support basic FTPS tests. This currently
...
supports only ftps:// URLs with --ftp-ssl-control specified, which
implicitly encrypts the control channel but not the data channels. That
allows stunnel to be used with an unmodified ftp server in exactly the
same way that the test https server is set up.
Added test case 400 as a basic FTPS test.
2007-03-08 02:38:49 +00:00
Yang Tse
e5f8e5e57a
stricter newline policy
2007-03-03 05:16:57 +00:00
Yang Tse
53a3abc76b
30 seconds isn't long enough for this test on a loaded server.
2007-03-03 04:27:19 +00:00
Yang Tse
bfd6474f6b
stricter newline policy
2007-03-03 02:06:44 +00:00
Yang Tse
cef5b14baa
Reduce the posibility of leaving the sockfilter hanging around when
...
tearing down the test ftp server due to a read error condition.
2007-03-01 16:42:02 +00:00
Yang Tse
e817eb6cec
log a 1120 chars long string to aid in quoted-printable and soft
...
line break detection in daily build logs.
2007-02-27 23:46:48 +00:00
Dan Fandrich
fe0afb211e
5 seconds isn't always enough time to start a server on a loaded system.
2007-02-22 18:35:57 +00:00
Yang Tse
141b3d0c2f
remove redundant check in timestamp detection
2007-02-22 17:34:02 +00:00
Yang Tse
69565afab0
Check for stdbool.h at configuration stage, and include it if available.
...
Check for lowercase 'bool' type at configuration stage. If not available
provide a suitable replacement with a type definition of 'unsigned char'
in setup_once.h
Move definitions of TRUE and FALSE to setup_once.h
2007-02-22 02:51:54 +00:00
Daniel Stenberg
f19d333ef6
- Ravi Pratap provided work on libcurl making pipelining more robust and
...
fixing some bugs:
o Don't mix GET and POST requests in a pipeline
o Fix the order in which requests are dispatched from the pipeline
o Fixed several curl bugs with pipelining when the server is returning
chunked encoding:
* Added states to chunked parsing for final CRLF
* Rewind buffer after parsing chunk with data remaining
* Moved chunked header initializing to a spot just before receiving
headers
2007-02-21 21:59:40 +00:00
Yang Tse
29bb6f65f1
Move header file inclusion logic and definition of timeval
...
struct for platforms that don't have it to setup_once.h
2007-02-20 12:12:27 +00:00
Yang Tse
37f07a54bd
Several corrections & changes to what has been stated in revision 1.45
...
1) The maketgz script does not insert the timestamp in curlver.h,
it actually updates it. For CVS versions it is the "CVS" string.
2) testcurl.pl will always print the "date" string which represents
the moment the test build is run.
3) testcurl.pl may not print the "timestamp" string since the script
may end before it is printed out. (i.e. unable to update from CVS)
4) The "timestamp" string printed will be the same as the "date" one
unless one of the following conditions is met.
*) It is a tarball-based build. Timestamp will be creation time.
*) CVS update has been done. Timestamp will be end of CVS update.
2007-02-20 05:28:41 +00:00
Yang Tse
da8c666e4f
add tutil_tvdiff_secs() for completeness
2007-02-20 01:09:38 +00:00
Yang Tse
78a1e5d1a6
fix typo
2007-02-19 19:46:07 +00:00
Yang Tse
116f60e063
Show libcurl's timestamp. This timestamp is only available in curlver.h
...
for tarball-based tests and builds, the maketgz script inserts it when
the tarball is created. For CVS-based tests and builds the timestamp we
show is the current UTC build time as it is the CVS version timestamp.
In this way, all builds will have a valid source code timestamp which
isn't related to the moment the tests and build is performed, with the
exception of CVS-based ones which have the same "date" and "timestamp"
2007-02-19 19:41:48 +00:00
Yang Tse
75fca27f8e
log a message, stating the need of openssl to run this test
2007-02-19 04:51:47 +00:00
Yang Tse
f2cd2882a0
Oops missing var
2007-02-19 03:59:41 +00:00
Yang Tse
31e598d2f3
add debug messages for initialization failures
2007-02-19 02:03:58 +00:00
Yang Tse
d9bf55570b
Move portable error number symbolic name definitions to setup_once.h
2007-02-17 13:51:24 +00:00
Yang Tse
789fd0b74a
Replicate the configure tests that determined that timeval was available.
2007-02-17 11:43:52 +00:00
Dan Fandrich
3f140a6008
getpart implicitly drags in some networking functions, so it needs to be
...
linked to the networking libraries.
2007-02-17 08:16:53 +00:00
Dan Fandrich
a0a47f2767
Better separate the library dependencies into those required by libcurl
...
and those required by other components to avoid forcing unneeded
dependencies into the target objects.
2007-02-17 01:29:01 +00:00
Dan Fandrich
213017e9cf
Remove C99isms
2007-02-17 01:25:32 +00:00
Yang Tse
d46cab4a94
add debug messages for fopen() failures
2007-02-16 19:41:25 +00:00
Yang Tse
4dc453c087
add debug messages for fopen() failures
2007-02-16 19:17:05 +00:00
Yang Tse
a1d5983991
use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling
2007-02-16 18:19:35 +00:00
Yang Tse
4894ce16fc
use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling
2007-02-16 16:01:19 +00:00
Yang Tse
5a267c4312
compiler warning fix
2007-02-14 13:46:08 +00:00
Yang Tse
7033a1c072
enhance HTTP server request input writing,
...
retrying upon EINTR errors.
2007-02-14 00:28:01 +00:00
Daniel Stenberg
4efa0d9f68
ftp@example.com is now the new anonymous FTP password. I opted for 'ftp' on
...
the left side of @ to make it short(er).
2007-02-13 22:50:16 +00:00
Daniel Stenberg
7f70dbcad5
Rob Crittenden added support for NSS (Network Security Service) for the
...
SSL/TLS layer. http://www.mozilla.org/projects/security/pki/nss/
2007-02-12 22:32:37 +00:00
Yang Tse
8c9233f6b2
Include both testutil.c and testutil.h, and not just testutil.c, in the
...
list of source files for those tests that use it. Otherwise testutil.h
might not be found by the compiler.
2007-02-09 12:41:57 +00:00
Yang Tse
6fcf98f617
Some tests were using functions curlx_tvnow and curlx_tvdiff which are not
...
part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx
The documented way of using them would be to use timeval.c as a source code file.
The above described method works very well when statically linking libcurl and
apps, test programs, but has several drawbacks when you build a true shared
libcurl (i.e. Name space clash at linkage stage as functions are defined more
than once. Windows makefiles are not capable of handling this system of
source-level sharing)
So...
Now testutil.h and testutil.c define and implement tutil_tvnow and tutil_tvdiff
which replace curlx_tvnow and curlx_tvdiff for the libtest programs. Doing this
we avoid the above described problems, and the code in the testsuite does not
impose the need to keep those functions public in libcurl even when not part of
the API.
2007-02-09 01:17:24 +00:00
Yang Tse
2f4fe0175b
Some tests were using functions curlx_tvnow and curlx_tvdiff which are not
...
part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx
The documented way of using them would be to use timeval.c as a source code file.
The above described method works very well when statically linking libcurl and
apps, test programs, but has several drawbacks when you build a true shared
libcurl (i.e. Name space clash at linkage stage as functions are defined more
than once. Windows makefiles are not capable of handling this system of
source-level sharing)
So...
Now testutil.h and testutil.c define and implement tutil_tvnow and tutil_tvdiff
which replace curlx_tvnow and curlx_tvdiff for the libtest programs. Doing this
we avoid the above described problems, and the code in the testsuite does not
impose the need to keep those functions public in libcurl even when not part of
the API.
2007-02-09 01:11:14 +00:00
Yang Tse
9b6474378a
Year 2038 has its own problems (32 bit integer overflow).
...
So cookie expiration date is lowered to expire at most in 2035.
2007-02-05 02:38:25 +00:00
Gisle Vanem
a7748c2024
Constify argument to suburl(). Remove trailing space.
2007-02-04 12:12:02 +00:00
Yang Tse
c26ec47e90
compiler warning fix
2007-02-02 17:16:06 +00:00
Yang Tse
f71c8c7d84
fix leftover updating cookie expiration date
2007-02-02 11:49:15 +00:00
Yang Tse
68f3c2adca
reported in bug: #1566077 the former URL mentioned in the generated cookie
...
jar has died and we now instead point out our own version of that
2007-02-02 02:12:34 +00:00
Yang Tse
2a8e2edf83
fix test case 62 which was failing due to cookies expiring 1 Feb 2007
2007-02-02 01:36:08 +00:00
Yang Tse
401598c2fe
more fixes for the testsuite cookie expiration issue
2007-02-02 01:05:50 +00:00
Yang Tse
d60848d04b
cookie expiration time got us with pants at our knees.
...
Next time in 2038 :-)
2007-02-02 00:10:40 +00:00
Yang Tse
c2639e0738
when using select() instead of poll, skip the test if the number of
...
open file descriptors is greater than FD_SETSIZE minus SAFETY_MARGIN,
also skip the test if any of the open file descriptors has a number
greater than FD_SETSIZE minus SAFETY_MARGIN.
2007-01-31 15:34:53 +00:00
Yang Tse
d7d5baa0e2
fix temp string buffer variable name
2007-01-30 13:21:39 +00:00
Yang Tse
bad67830b3
skip test on platforms on which we use select() instead
...
of poll() and select() happens to be bound by FD_SETSIZE
2007-01-30 03:48:29 +00:00
Daniel Stenberg
a4b39c6ab8
the same source file is re-used for multiple tests and I missed to add the
...
timval.c dependency on some of those
2007-01-29 20:37:02 +00:00
Gisle Vanem
d10e174fd1
Some compilers lacks <sys/time.h>. Include "timeval.h" to simplify the #ifdefs.
2007-01-29 20:24:00 +00:00
Daniel Stenberg
4d8dcf7b77
the libtest source codes that use curlx_tv* functions MUST use the
...
lib/timeval.c source code since those functions are not in the API (and might
not be accessible)
2007-01-29 10:09:06 +00:00
Daniel Stenberg
abdbd3100f
- Michael Wallner reported that when doing a CONNECT with a custom User-Agent
...
header, you got _two_ User-Agent headers in the CONNECT request...! Added
test case 287 to verify the fix.
2007-01-29 09:26:36 +00:00
Yang Tse
e09450103b
Compiler warning fix
2007-01-28 03:51:10 +00:00
Yang Tse
b6f889085d
update copyright year notice
2007-01-27 03:43:05 +00:00
Gunter Knauf
abb4cdafe9
set proper lib extension for non-configure mingw32 builds on Win32.
2007-01-25 14:06:38 +00:00
Dan Fandrich
44ac2776ae
Fixed a dangling pointer problem that prevented the http_proxy environment
...
variable from being properly used in many cases (and caused test case 63
to fail).
2007-01-25 01:35:43 +00:00
Dan Fandrich
f68323da7d
Ignore XML DOCTYPEs and declarations.
2007-01-23 20:24:26 +00:00
Dan Fandrich
33bea767eb
Convert (most of) the test data files into genuine XML. A handful still
...
are not, due mainly to the lack of support for XML character entities
(e.g. & => & ). This will make it easier to validate test files using
tools like xmllint, as well as edit and view them using XML tools.
2007-01-23 02:25:56 +00:00
Dan Fandrich
6da70628c6
Make the test script tag parser a bit more robust.
...
Check for the .exe extension on mingw32 builds.
2007-01-18 20:32:46 +00:00
Dan Fandrich
3bae748256
Added precheck that curl supports the 'openssl' engine in test 307.
2007-01-18 18:04:20 +00:00
Dan Fandrich
521c4b303d
Fixed some tag typos in the test data files.
2007-01-17 20:36:56 +00:00
Dan Fandrich
a2effd123a
Disabled test 307 for now.
2007-01-17 19:23:32 +00:00
Dan Fandrich
32fe5b14ec
Added simple OpenSSL crypto engine tests.
2007-01-16 18:34:58 +00:00
Dan Fandrich
f11d3c329c
Added TFTP upload tests.
2007-01-15 21:06:12 +00:00
Dan Fandrich
b0d13fa4cb
Leave the TFTPD test server running after a file upload.
...
Flush the protocol log data so it's immediately available to the test harness.
2007-01-15 21:03:53 +00:00
Dan Fandrich
5ec5b95f54
Added test for TFTP retrieve of boundary case 512 byte file.
2007-01-10 23:40:22 +00:00
Dan Fandrich
7efb955fd0
Added test of TFTP server error reporting.
2007-01-10 03:32:19 +00:00
Daniel Stenberg
e61e09f658
prevent compiler warning since we use base64.h from libcurl which now has
...
function(s) using SessionHandle pointers
2007-01-04 23:04:50 +00:00
Daniel Stenberg
88c8d72a21
Alexey Simak found out that when doing FTP with the multi interface and
...
something went wrong like it got a bad response code back from the server,
libcurl would leak memory. Added test case 538 to verify the fix.
I also noted that the connection would get cached in that case, which
doesn't make sense since it cannot be re-use when the authentication has
failed. I fixed that issue too at the same time, and also that the path
would be "remembered" in vain for cases where the connection was about to
get closed.
2006-12-11 09:32:58 +00:00
Daniel Stenberg
090f5a9a45
added the new test 282
2006-11-25 13:32:48 +00:00
Daniel Stenberg
da58d03ff7
Venkat Akella found out that libcurl did not like HTTP responses that simply
...
responded with a single status line and no headers nor body. Starting now, a
HTTP response on a persistent connection (i.e not set to be closed after the
response has been taken care of) must have Content-Length or chunked
encoding set, or libcurl will simply assume that there is no body.
To my horror I learned that we had no less than 57(!) test cases that did bad
HTTP responses like this, and even the test http server (sws) responded badly
when queried by the test system if it is the test system. So although the
actual fix for the problem was tiny, going through all the newly failing test
cases got really painful and boring.
2006-11-25 13:32:04 +00:00
Yang Tse
268fe09322
Revert ftpserver.pl back to revision 1.74 Adding change done in 1.76
...
This is done to back out changes done in revisions 1.77 and 1.75
2006-11-20 16:58:41 +00:00
Yang Tse
7a557e984a
Revert runtests.pl back to revision 1.212
...
This is done to back out changes done from revisions 1.213 to 1.217
2006-11-20 16:58:04 +00:00
Yang Tse
f1a55cbe6d
Revert ftp.pm back to revision 1.5 Adding copyright notice.
...
This is done to back out changes done from revisions 1.6 to 1.10
2006-11-20 16:57:01 +00:00
Yang Tse
1e35d95df8
Add some message logging
2006-11-20 10:35:25 +00:00
Yang Tse
d8387b418d
stop slaves before stopping servers
2006-11-20 06:22:51 +00:00
Yang Tse
adea16a294
Revert to KILL test servers until all test servers
...
have proper TERM and INT signal handlers implemented.
2006-11-20 03:25:17 +00:00
Daniel Stenberg
7f2d5cab2d
log the sleep, like when done in test 190
2006-11-19 22:48:40 +00:00
Yang Tse
8db353e1d7
Avoid passing child pid and test server pid, using the running
...
servers hash, and adjust message arguments accordingly.
2006-11-19 03:47:56 +00:00
Yang Tse
e6978117a7
Comment out the use of the "warnings" module now that ftp.pm seems to
...
be clear of warnings. Uncomment it if this module is further modified.
The "warnings" module requires perl 5.006 or later. Previous perl
versions don't have it and die on missing modules.
2006-11-19 03:47:11 +00:00
Yang Tse
0b5e1a9b2f
Avoid keeping dupe pids When forked pid and test server pid is the same one.
2006-11-18 04:07:01 +00:00
Yang Tse
2e17a97474
Fix warning "Use of uninitialized value in ...".
...
If the list has only one item avoid sort subroutine.
2006-11-18 04:05:42 +00:00
Yang Tse
74ddbd8a3b
The hash of running servers is now a hash of hashes which for each running
...
server holds not only its two main pids, but also the pidfile of the test
server and the 'slavepidfiles' for ftp* servers. This allows a better control
when stopping servers.
Now from runtests.pl when test servers are stopped they are signalled in
sequence TERM, INT and KILL allowing time in between for them to die. This
will give us a chance of gracefully stopping test servers, which we didn't
have when we were killing them in first instance.
2006-11-17 16:44:22 +00:00
Daniel Stenberg
e264f699d4
Tor Arntsen spotted this mistake
2006-11-13 13:48:55 +00:00
Yang Tse
17d4f9513e
Remove showing stderr log files unconditionally for tests 518 and 537.
...
Add failure checking for servers when fork()ed.
Use same code path in 'stopserver' when called with a single or multiple pids.
2006-11-09 13:20:42 +00:00
Yang Tse
318a7584f3
add a couple more of debugging messages
2006-11-03 14:13:25 +00:00
Yang Tse
78081a1652
reduce max size of dinamically allocated arrays to minimize the nasty
...
behaviour some versions of IRIX exhibit of committing suicide on big
mallocs instead of just returning a friendly null pointer
2006-11-03 10:05:21 +00:00
Yang Tse
1dee2cd55e
fix comments and renumber rlimit return codes
...
fix closing of fd's when limit is reached
2006-11-03 01:57:25 +00:00
Yang Tse
426ecfd136
fix comments and renumber rlimit return codes
2006-11-03 01:56:55 +00:00
Yang Tse
7f1870da5f
remove leftover comment
2006-11-02 20:56:40 +00:00
Yang Tse
2149a095f7
update and split test cases 518 and 537 into its own source code file
2006-11-02 20:50:18 +00:00
Yang Tse
e8d21adbaa
code cleanup
2006-11-02 15:47:24 +00:00
Yang Tse
fa28531322
use our internal string functions and replace sprintf with snprintf
2006-11-02 03:45:07 +00:00
Yang Tse
deef85ca9a
Update protocol verification end of lines
2006-11-02 01:21:28 +00:00
Yang Tse
4f4427ff41
check symbol HAVE_UNISTD_H instead of UNISTD_H to include unistd.h
2006-11-02 00:34:21 +00:00
Yang Tse
905ca77c9e
test 518 is all about testing libcurl functionality
...
when more than FD_SETSIZE file descriptors are open.
This means that if for any reason we are not able to
open more than FD_SETSIZE file descriptors then test
518 should not be run.
test 537 is all about testing libcurl functionality
when the system has nearly exhausted the number of
free file descriptors. Test 537 will try to run with
very few free file descriptors.
2006-11-01 18:33:50 +00:00
Yang Tse
f51c567de3
Show stderr log file for test 518 unconditionally.
...
In this way we'll be able to sort out problems that might
arise in the prechek phase of the 518 test.
Once that 518 has been verified this change will be undone.
2006-10-31 01:30:42 +00:00
Yang Tse
9b2acca63e
Sync comment with code and add three messages more
2006-10-31 01:24:03 +00:00
Yang Tse
afcd9f1b1c
Address some pitfalls in the rlimit() function check that were
...
preventing execution of this test on many platforms
2006-10-30 17:24:31 +00:00
Yang Tse
609044aea2
Compiler warning fix
2006-10-29 21:19:23 +00:00
Daniel Stenberg
5aa0db8681
a small unification of the error text on failed server startups
2006-10-27 21:07:08 +00:00
Yang Tse
772a985dc3
Update copyright year, since the file has been modified
2006-10-27 03:47:57 +00:00
Yang Tse
32ad212ac9
30 seconds isn't long enough for this test on a loaded server.
2006-10-27 01:58:59 +00:00
Gisle Vanem
125830ab4b
Use proper 'stat' structure for fstat(). I.e. 'struct _stati64' and '_fstati64()'
...
on Win32.
2006-10-26 14:30:11 +00:00
Yang Tse
5b75b423e6
Improved rlimit logic:
...
- Take in account RLIM_INFINITY.
- Verify that soft limit is actually changed when doing so.
- Show errno in case getrlimit or setrlimit fails.
- Keep file descriptors open only while runing this test.
2006-10-26 13:55:24 +00:00
Yang Tse
cd3029f36f
30 seconds isn't long enough for this test on a loaded server.
2006-10-26 09:50:21 +00:00
Daniel Stenberg
cde5e35d9b
Fixed CURLOPT_FAILONERROR to return CURLE_HTTP_RETURNED_ERROR even for the
...
case when 401 or 407 are returned, *IF* no auth credentials have been given.
The CURLOPT_FAILONERROR option is not possible to make fool-proof for 401
and 407 cases when auth credentials is given, but we've now covered this
somewhat more.
You might get some amounts of headers transferred before this situation is
detected, like for when a "100-continue" is received as a response to a
POST/PUT and a 401 or 407 is received immediately afterwards.
Added test 281 to verify this change.
2006-10-25 20:40:14 +00:00
Yang Tse
b4700f026b
Add project notice and file Id
2006-10-25 09:20:44 +00:00
Yang Tse
d771fa7c48
Compiler warning fix
2006-10-25 08:52:00 +00:00
Yang Tse
384c8f3560
Use curl_global_init() and curl_global_cleanup().
...
Improve cleanup in case of initialization failure.
2006-10-25 05:59:46 +00:00
Yang Tse
c54a4301ee
Abort test if it seems that it would have run forever. This is just to prevent
...
test hanging and actually is an indication that there's a condition that is
not being properly handled at some point in the library.
Remove a pair of braces and adjust indentation appropriately.
2006-10-24 15:51:42 +00:00
Yang Tse
13e60c55a1
Avoid trying to compare more than strlen bytes.
2006-10-23 19:16:19 +00:00
Dan Fandrich
9b8b1a68f0
30 seconds isn't long enough for this test on a loaded server.
2006-10-23 19:15:14 +00:00
Yang Tse
4ec9316155
Replace is*() macros with our own IS*() ones.
2006-10-23 19:14:54 +00:00
Daniel Stenberg
90933ac660
rely on the global LDADD instead of having specific ones for every program
2006-10-21 13:00:51 +00:00
Daniel Stenberg
deb81b2ad4
Nir Soffer made the tests/libtest/Makefile.am use a proper variable for all
...
the single test applications' link and dependences, so that you easier can
override those from the command line when using make.
2006-10-21 11:40:04 +00:00
Daniel Stenberg
4e717cdb30
Armel Asselin separated CA cert verification problems from problems with
...
reading the (local) CA cert file to let users easier pinpoint the actual
problem. CURLE_SSL_CACERT_BADFILE (77) is the new libcurl error code.
2006-10-21 11:32:05 +00:00
Yang Tse
33acd6f041
Compiler warning fix
2006-10-21 10:54:41 +00:00
Yang Tse
d997ff6aa8
Oops! Actually set the limit to 30 seconds.
2006-10-20 15:45:12 +00:00
Yang Tse
b9ccecf86e
Decrease the posibility of aborting a test which actually is not
...
stale by replacing loop counters with timeouts. In this way the
main loop of the test will be allowed to run up to 30 seconds on
any platform before aborting it.
2006-10-20 15:39:54 +00:00
Yang Tse
19e07771d1
Set loop2 counter limit to 60 on this test to avoid a false positive.
2006-10-19 23:35:52 +00:00
Yang Tse
ef267ab449
Replace tabs with spaces and Compiler warning fix.
2006-10-19 22:49:33 +00:00
Yang Tse
4f6ed683e8
Compiler warning fix
2006-10-19 22:48:33 +00:00
Yang Tse
c818e7064f
When aborting, show loop counter values when more than one counter exists.
2006-10-19 21:12:27 +00:00
Yang Tse
ead6ab2ef7
Abort test if it seems that it would have run forever. This is just to prevent
...
test hanging and actually is an indication that there's a condition that is
not being properly handled at some point in the library.
Loop counter limits might need to be further increased on false positives.
2006-10-19 17:29:25 +00:00
Yang Tse
5df4be1165
Check for USE_WINSOCK instead of WIN32 where the check was done
...
to verify winsock API availability.
2006-10-18 21:05:40 +00:00
Daniel Stenberg
b61fbbde46
buildconf already runs ares/buildconf by itself if there is an ares subdir
...
present, so there's no use to doing it again in this script!
2006-10-17 11:46:42 +00:00
Yang Tse
e150150d9f
Remove redundant __CYGWIN__ symbol check
2006-10-11 16:01:16 +00:00
Yang Tse
943f0733bb
Compiler warning fix
2006-10-10 23:58:02 +00:00
Yang Tse
8274447dd9
Call curl_global_cleanup() in all code paths before exiting test
2006-10-10 23:50:37 +00:00
Daniel Stenberg
cbcdd337aa
Added test case 536 in an attempt to add Bogdan Nicula's problematic case
...
with multi interface and pipelining. This test just works and did not repeat
the problem his test code showed, but could still serve as a useful test.
2006-10-09 21:29:53 +00:00
Daniel Stenberg
c144adf77c
used for test 535 too
2006-10-09 21:26:09 +00:00
Yang Tse
15e3dfe1d3
Compiler warning fix
2006-10-09 11:21:40 +00:00
Daniel Stenberg
a1de9367ec
Bogdan Nicula's second test case (posted Sun, 08 Oct 2006) converted to test
...
case 535 and it now runs fine. Again a problem with the pipelining code not
taking all possible (error) conditions into account.
2006-10-09 06:58:05 +00:00
Daniel Stenberg
2ad7fcbc2f
test 534 added in an attempt to repeat Bogdan Nicula's bug...
2006-10-08 10:51:53 +00:00
Daniel Stenberg
2c62dfd124
modified lib533 to accept both URLs on the command line
2006-10-08 08:50:12 +00:00
Daniel Stenberg
ef66497a0d
Fix a "sockfilt" leak. When a new 'data' connection sockfilt server is started,
...
make sure that a previously used one is killed first (since they re-use the
same .pid file etc)
2006-10-08 08:43:32 +00:00
Daniel Stenberg
befc30bc55
Bogdan Nicula's hanging test case was converted to test case 533 and the test
...
now runs fine.
2006-10-06 21:19:57 +00:00
Daniel Stenberg
ca5846cde9
catch silly mistakes better
2006-10-06 21:19:40 +00:00
Daniel Stenberg
552b963e6d
Dmitriy Sergeyev provided an example source code that crashed CVS libcurl
...
but that worked nicely in 7.15.5. I converted it into test case 532 and
fixed the problem.
2006-10-04 21:11:08 +00:00
Daniel Stenberg
5e0d9aea32
Support for FTP third party transfers is now dropped
2006-09-30 20:31:11 +00:00
Daniel Stenberg
ae13c93b7d
Reported in #1561470 ( http://curl.haxx.se/bug/view.cgi?id=1561470 ), libcurl
...
would crash if a bad function sequence was used when shutting down after
using the multi interface (i.e using easy_cleanup after multi_cleanup) so
precautions have been added to make sure it doesn't any more - test case 529
was added to verify.
2006-09-28 21:26:06 +00:00
Daniel Stenberg
68e9f75708
As reported in bug: #1566077 the former URL mentioned in the generated cookie
...
jar has died and we now instead point out our own version of that
2006-09-27 21:00:45 +00:00
Daniel Stenberg
f1d707705e
allow user in passwd state for test 280 to work (--ftp-alternative-to-user)
2006-09-24 10:30:02 +00:00
Daniel Stenberg
0992e391ba
filled in some docs for the FTP server control commands
2006-09-23 20:39:34 +00:00
Daniel Stenberg
b22aaeef6a
added simple test of --ftp-alternative-to-user
2006-09-23 20:39:15 +00:00
Daniel Stenberg
e7d90e08b9
Added test case 531 in an attempt to repeat bug report #1561470
...
(http://curl.haxx.se/bug/view.cgi?id=1561470 ) that is said to crash when an
FTP upload fails with the multi interface. It did not, but I made a failed
upload still assume the control connection to be fine.
2006-09-21 20:52:20 +00:00
Daniel Stenberg
ec4a16f2e0
Armel Asselin fixed problems when you gave a proxy URL with user name and
...
empty password or no password at all. Test case 278 and 279 were added to
verify.
2006-09-20 21:49:41 +00:00
Gisle Vanem
56bf97ffc9
'in6addr_any' must be placed in .c-file. Added 'REAL_WIN32' for
...
all Win32 targets except CygWin. Cleanup.
2006-09-13 13:41:53 +00:00
Daniel Stenberg
e55d4fd5c1
nicer reporting of disabled tests
2006-09-13 10:48:03 +00:00
Daniel Stenberg
5ee231415f
added CVS id and clarified the comment lines
2006-09-13 10:18:01 +00:00
Daniel Stenberg
c866771cd2
Added a generic way to disable test cases when "all" is run, and added the
...
FTP 3rd party transfers to that file for now until I have them sorted out.
2006-09-13 10:16:36 +00:00
Yang Tse
5a6c89661a
Cygwin preprocessor adjustments
2006-09-12 01:17:16 +00:00
Daniel Stenberg
29dc39fce1
- Fixed my breakage from earlier today so that doing curl_easy_cleanup() on a
...
handle that is part of a multi handle first removes the handle from the
stack.
- Added CURLOPT_SSL_SESSIONID_CACHE and --no-sessionid to disable SSL
session-ID re-use on demand since there obviously are broken servers out
there that misbehave with session-IDs used.
2006-09-11 17:18:18 +00:00
Gisle Vanem
e134a40208
Added select_test() function to allow selecting on no sockets on
...
Winsock.
2006-09-10 19:01:04 +00:00
Gisle Vanem
145084b699
Print usage in case 'arg2 == NULL'.
2006-09-09 16:55:21 +00:00
Daniel Stenberg
e9160a31e0
removed the comment that isn't valid for this file, just a copy'n paste error
2006-09-08 12:03:55 +00:00
Daniel Stenberg
e3c15fc4b9
test 530 is the first ever HTTP pipelining test for libcurl
2006-09-08 11:56:56 +00:00
Daniel Stenberg
b7eeb6e67f
Major overhaul introducing http pipelining support and shared connection
...
cache within the multi handle.
2006-09-07 21:49:20 +00:00
Daniel Stenberg
a932803eac
Invoke memanalyze from the source path and hush up about killing the FTP
...
server as part of test cases
2006-09-06 10:03:34 +00:00
Daniel Stenberg
dc9f154823
added missing test
2006-08-31 22:18:08 +00:00
Dan Fandrich
cd6c58216a
Use /usr/bin/env to invoke perl like the other test scripts.
2006-08-23 21:20:00 +00:00
Daniel Stenberg
cfdcae4bc7
Based on a patch by Armel Asselin, the FTP code no longer re-issues the TYPE
...
command on subsequent requests on a re-used connection unless it has to.
2006-08-19 21:18:36 +00:00
Daniel Stenberg
490cccba3c
Andrew Biggs pointed out a "Expect: 100-continue" flaw where libcurl didn't
...
send the whole request at once, even though the Expect: header was disabled
by the application. An effect of this change is also that small (< 1024
bytes) POSTs are now always sent without Expect: header since we deem it
more costly to bother about that than the risk that we send the data in
vain.
2006-08-18 22:54:57 +00:00
Yang Tse
ee3514ccdc
Replace exit() with return() in main()
2006-08-14 17:00:08 +00:00
Yang Tse
b33f47804d
Allow again proper compilation outside of the source tree
2006-08-07 18:06:37 +00:00
Yang Tse
aa791ee5cf
Fix compiler warnings.
2006-07-29 09:15:03 +00:00
Yang Tse
2c81bfead5
Replace send() and recv() with swrite() and sread() macros.
2006-07-28 18:01:23 +00:00
Daniel Stenberg
c10d15aa0f
test case 277 - HTTP RFC1867-type formposting with custom Content-Type
2006-07-27 22:44:56 +00:00
Yang Tse
ab4256d53a
Abort if unable to write pid file, and close socket when aborting.
2006-07-19 15:28:30 +00:00
Yang Tse
46c5e562bf
Abort if unable to write pid file.
2006-07-19 15:26:28 +00:00
Yang Tse
42f5a90d09
-Use curl_socket_t instead of int.
...
-Log errno in message if setsockopt() fails.
-Close listener socket on major errors.
2006-07-17 22:44:40 +00:00
Yang Tse
431c4bd6e3
tests/libtest/lib506.c version 1.11 is now also logging CURLSHOPT_LOCKFUNC, CURLSHOPT_UNLOCKFUNC and CURLSHOPT_USERDATA, so we now also have to check them here.
2006-07-17 16:47:07 +00:00
Yang Tse
773bec5ae5
Fix compiler warning "enumerated type mixed with another type"
2006-07-17 14:32:19 +00:00
Yang Tse
2aa4710745
Minor cleanup
2006-07-17 03:38:13 +00:00
Yang Tse
ccfce89423
Null terminate string in buffer before feeding it to strtol()
2006-07-14 06:31:41 +00:00
Yang Tse
498aad8587
Change to meaningful var names and take care of a compiler warning on IRIX 6.5.22 MIPSPro C 7.3 64bit
2006-07-13 18:50:51 +00:00
Yang Tse
f0694c582e
Remove var not used.
2006-07-12 10:41:07 +00:00
Yang Tse
f90f0c98d9
Log a message if not all data is sent.
2006-07-12 09:39:35 +00:00
Yang Tse
95aecc5dbb
Fix compiler warning: comparison between signed and unsigned
2006-07-12 09:03:48 +00:00
Yang Tse
8272874704
Place parenthesis surrounding macro parameters so that the use of sread and swrite is more intuitive.
2006-07-12 06:52:40 +00:00
Yang Tse
86f4cead16
sread now returns ssize_t
2006-07-12 06:14:49 +00:00
Yang Tse
88a1a10e6f
Pay attention when typecasting an operation
2006-07-12 06:09:53 +00:00
Yang Tse
624e657210
sread now returns ssize_t
2006-07-12 05:54:06 +00:00
Yang Tse
58176d1484
Use platform's native types for recv() and send() arguments.
2006-07-12 05:19:00 +00:00
Daniel Stenberg
28611704d9
Ates Goral pointed out that libcurl's cookie parser did case insensitive
...
string comparisons on the path which is incorrect and provided a patch that
fixes this. I edited test case 8 to include details that test for this.
2006-07-08 18:52:08 +00:00
Gisle Vanem
cc5174a89a
Fix "'x' might be used uninitialized in this function" warnings.
2006-06-10 17:35:28 +00:00
Daniel Stenberg
7929600798
stricter type use to please compilers
2006-06-09 08:25:16 +00:00
Daniel Stenberg
6a03ab3ad4
lib525.c does a FTP upload with PORT using multi interface
2006-06-08 22:43:21 +00:00
Daniel Stenberg
2bd3033f68
NTLM2 session response support
2006-06-07 14:14:04 +00:00
Daniel Stenberg
edb5444fa3
reverted the previous .libs check for libs, but instead make mingw32 builds
...
more similar to other configure builds (== use .la for libext and no binext)
2006-05-27 11:36:05 +00:00
Daniel Stenberg
3718737091
better check for libs created in the .libs directory since libtool does this
...
kind of magic
2006-05-25 11:04:08 +00:00
Daniel Stenberg
f689d06ca9
make sure we pass a time_t * to localtime(), and the timeval struct members
...
are not always time_t ones
2006-05-24 21:39:52 +00:00
Daniel Stenberg
4a8dfb3461
based on Tor Arntsen's fix, this should correct test case 271 to again run
...
fine
2006-05-24 15:22:03 +00:00
Daniel Stenberg
973ed24dc8
1 - allow much longer time for the test FTP server to startup and get verified
...
2 - store the time it took to verify it and allow that time to be used as
%FTPTIME[23] in command lines to allow us to adjust better to slow hosts
since test 190 failed on my slow solaris machine just because it hadn't
gotten time to run all the way the test assumed all machines would reach
before the time-out elapsed.
2006-05-11 06:34:30 +00:00
Daniel Stenberg
975534370f
My Solaris test server was simply too slow to be able to respond within 4
...
seconds even when everything is fine! Now we allow a test server 8 seconds
to respond to still be considered ok.
2006-05-10 21:38:46 +00:00
Daniel Stenberg
00312e95fe
removed variable declarations shadowing previously declared variables
2006-05-10 09:53:52 +00:00
Daniel Stenberg
95152aec68
David McCreedy brought line end conversions when doing FTP ASCII
...
transfers. They are done on non-windows systems and translate CRLF to LF.
2006-04-26 07:40:37 +00:00
Daniel Stenberg
e5babd086d
if configure found a fork(), sws supports --fork which is *NOT* used by the
...
ordinary test suite. Also removed the perror() calls and instead made the
logging output the errno code to ease error tracking using logs.
2006-04-10 13:11:52 +00:00
Daniel Stenberg
c212ebbdda
output the exit code from stunnel to stderr in case it is non-zero
2006-04-10 13:10:25 +00:00
Daniel Stenberg
83b8de3d43
support --fork and pass that on to sws
2006-04-10 13:09:56 +00:00
Daniel Stenberg
e174d374f2
Scan for 'stunnel4' before 'stunnel' since debian have them setup this way
...
and it should break most other systems. The "funny" part is that debian
actually have a 'stunnel' setup to simulate stunnel v3 but it breaks our own
stunnel-version-detect-and-adjust-to-it system.
Added initial support for optionally running servers with fork support.
2006-04-10 13:03:20 +00:00
Daniel Stenberg
4edb93508d
Use correct content-length. Found out by patching the libcurl read to only
...
read one byte at a time...
2006-04-10 12:26:08 +00:00
Daniel Stenberg
b0adcd6a46
cut off a bit more of the type-2 ntlm message since it differs between
...
hosts
2006-04-05 12:46:03 +00:00
Daniel Stenberg
be285cde3f
Michele Bini modified the NTLM code to work for his "weird IIS case"
...
(http://curl.haxx.se/mail/lib-2006-02/0154.html ) by adding the NTLM hash
function in addition to the LM one and making some other adjustments in the
order the different parts of the data block are sent in the Type-2 reply.
Inspiration for this work was taken from the Firefox NTLM implementation.
I edited the existing 21(!) NTLM test cases to run fine with these news. Due
to the fact that we now properly include the host name in the Type-2 message
the test cases now only compare parts of that chunk.
2006-04-05 12:35:48 +00:00
Daniel Stenberg
bcc62cc9e3
#1451929 ( http://curl.haxx.se/bug/view.cgi?id=1451929 ) detailed a bug that
...
occurred when asking libcurl to follow HTTP redirects and the original URL had
more than one question mark (?). Added test case 276 to verify.
2006-03-28 08:03:25 +00:00
Daniel Stenberg
33df856925
If run on a curl built shared, detect this and invoke libtool for gdb
...
accordingly.
2006-03-03 14:37:44 +00:00
Daniel Stenberg
ce09cedd2e
added test524
2006-03-03 13:12:39 +00:00
Daniel Stenberg
7d68101f83
Prevent uploading to a URL that has no file name part.
2006-03-03 13:09:30 +00:00
Gisle Vanem
f592ea6c30
Fix typo.
2006-02-25 18:57:20 +00:00
Dan Fandrich
d29147565c
Fixed test case 57 (KNOWN_BUG #18 )
2006-02-22 23:55:28 +00:00
Daniel Stenberg
10beb36b1c
Ulf Hrnhammar fixed a format string (printf style) problem in the Negotiate
...
code. It should however not be the cause of any troubles. He also fixed a
few similar problems in the HTTP test server code.
2006-02-18 22:27:01 +00:00
Daniel Stenberg
e96445bd02
how silly, the cookie expired! ;-)
2006-02-06 20:02:14 +00:00
Daniel Stenberg
67bf4f28ff
Michal Marek provided a patch for FTP that makes libcurl continue to try PASV
...
even after EPSV returned a positive response code, if libcurl failed to
connect to the port number the EPSV response said. Obviously some people are
going through protocol-sensitive firewalls (or similar) that don't understand
EPSV and then they don't allow the second connection unless PASV was
used. This also called for a minor fix of test case 238.
2006-01-24 14:40:43 +00:00
Daniel Stenberg
fcfd6d9504
Duane Cathey was one of our friends who reported that curl -P [IP]
...
(CURLOPT_FTPPORT) didn't work for ipv6-enabed curls if the IP wasn't a
"native" IP while it works fine for ipv6-disabled builds!
In the process of fixing this, I removed the support for LPRT since I can't
think of many reasons to keep doing it and asking on the mailing list didn't
reveal anyone else that could either. The code that sends EPRT and PORT is
now also a lot simpler than before (IMHO).
2006-01-19 23:52:03 +00:00
Daniel Stenberg
67a83c1b34
David Shaw finally removed all traces of Gopher and we are now officially
...
not supporting it. It hasn't been functioning for years anyway, so this is
just finally stating what already was true. And a cleanup at the same time.
2006-01-16 22:14:37 +00:00
Daniel Stenberg
bebf70667d
Andrew Benham fixed a race condition in the test suite that could cause the
...
test script to kill all processes in the current process group!
2006-01-13 12:16:16 +00:00
Daniel Stenberg
bda1e9aeab
Made the copyright year match the latest modification's year.
2006-01-09 13:17:14 +00:00
Daniel Stenberg
8a0ca3066e
modified output to prevent the autobuild system to trap on the 'FAILED' output
...
mistaking it for an actual failed test case
2006-01-04 23:02:40 +00:00
Daniel Stenberg
81b9793807
Added remake of the arpa/tftp.h file to make the TFTP server build on systems
...
without the real header file.
2006-01-03 22:47:07 +00:00
Daniel Stenberg
7278f17e8f
killed trailing whitespace
2006-01-03 22:44:58 +00:00
Daniel Stenberg
66c7427df0
Andres Garcia made the TFTP test server build with mingw ("I also had to copy
...
the 'tftp.h' file from a linux box, since it doesn't come with mingw.")
2006-01-03 22:19:15 +00:00
Daniel Stenberg
687cf0235e
modified to hush compiler warnings
2006-01-03 12:18:22 +00:00
Daniel Stenberg
74a299fd08
1. sws now supports two new "commands" and 2. if built with
...
CURL_SWS_FORK_ENABLED defined it forks for each new connection and thus can
support any amount of connection clients (used for hiper tests and not for the
standard plain curl test suite)
2006-01-02 12:19:12 +00:00
Dan Fandrich
178afd81a9
Fixed lcc compiler warnings.
2005-12-19 19:47:14 +00:00
Yang Tse
d6c5d24af3
Cleanup windows header includes. Where aplicable, inclusion of
...
windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h
2005-12-18 15:36:14 +00:00
Dan Fandrich
6005a461bb
Log CPPFLAGS environment variable along with the others.
2005-12-13 19:07:33 +00:00
Dan Fandrich
e2df946eee
Fixed some compiler warnings on lcc.
2005-12-13 18:54:31 +00:00
Yang Tse
b1fece74e3
Fix compiler warning
2005-12-08 16:43:32 +00:00
Yang Tse
93d59520e4
If unable to get curl's version, log all failure details.
2005-12-08 11:29:47 +00:00
Daniel Stenberg
59b6cb9e91
Yang Tse: fixed compiler warning
2005-12-06 07:47:37 +00:00
Daniel Stenberg
e06afaeb7a
Yang Tse: With last change logging directory needs to be created sooner.
2005-12-06 07:44:18 +00:00
Daniel Stenberg
1d8212e53a
Yang Tse: make runtests.pl more talkative when unable to find out curl's
...
version.
2005-12-05 19:23:56 +00:00
Daniel Stenberg
272231fb09
Another Yang Tse warning cleanup raid!
2005-12-05 14:10:48 +00:00
Daniel Stenberg
a5fcb26ab1
modified to the new error text for range error
2005-11-10 22:22:38 +00:00
Daniel Stenberg
80f2e3f263
test 275 makes a CONNECT through a proxy and then gets two pages from the
...
same server
2005-10-30 23:15:49 +00:00
Daniel Stenberg
966fa848a0
Nis Jorgensen filed bug report #1338648
...
(http://curl.haxx.se/bug/view.cgi?id=1338648 ) which really is more of a
feature request, but anyway. It pointed out that --max-redirs did not allow
it to be set to 0, which then would return an error code on the first
Location: found. Based on Nis' patch, now libcurl supports CURLOPT_MAXREDIRS
set to 0, or -1 for infinity. Added test case 274 to verify.
2005-10-27 22:05:38 +00:00
Daniel Stenberg
be9c873a6e
Dave Dribin made libcurl understand and handle cases when the server
...
(wrongly) sends *two* WWW-Authenticate headers for Digest. While this should
never happen in a sane world, libcurl previously got into an infinite loop
when this occurred. Dave added test 273 to verify this.
2005-10-20 20:07:32 +00:00
Daniel Stenberg
68917eb517
added test case 272 for -z download over FTP when the timestamp is identical
...
to the remote one
2005-10-05 06:23:45 +00:00
Daniel Stenberg
4ec55a964d
fixed the proper path to the tftpd server
2005-09-30 14:25:50 +00:00
Daniel Stenberg
da3992d2e9
added test 271
2005-09-19 22:04:14 +00:00
Daniel Stenberg
48908e4633
test 271, the first ever TFTP test
2005-09-19 22:04:06 +00:00
Daniel Stenberg
f5ae149338
seems to work for test 271 on Linux now!
2005-09-19 22:03:16 +00:00
Daniel Stenberg
90559bed53
renamed sendfile() since some systems have a system call named like this -
...
now the functions are named sendtftp() and recvtftp() instead.
2005-09-16 10:52:38 +00:00
Daniel Stenberg
973a18cf03
In the Solaris 7 header files for tftp, the th_stuff struct member is an
...
unsigned short. Trying a typecast here to fix.
2005-09-16 10:50:43 +00:00
Daniel Stenberg
3c666ce57a
prevent warnings on re-defining MIN
2005-09-16 07:19:54 +00:00
Daniel Stenberg
da3ecc91f8
use int "subscripts" to prevent warnings from picky compilers
2005-09-16 06:14:30 +00:00
Daniel Stenberg
09c8f558f7
use internal *printf() clones
2005-09-16 05:49:53 +00:00
Daniel Stenberg
528a149def
ifdef for includes, added checking for two not previously checked files (one
...
being necessary for solaris builds)
2005-09-15 21:50:50 +00:00
Daniel Stenberg
29e36afb6b
use make -k when running the tests
2005-09-15 21:49:26 +00:00
Daniel Stenberg
0e39543d35
ignore this too
2005-09-15 20:36:58 +00:00
Daniel Stenberg
0de20d8ee6
build tftpd too!
2005-09-15 20:36:28 +00:00
Daniel Stenberg
cd5de5c0e5
First version of the TFTP server. Basic functionality is there.
2005-09-15 20:32:59 +00:00
Daniel Stenberg
bd5afc26bd
added TFTP and TFTP-ipv6 support
2005-09-15 20:25:02 +00:00
Daniel Stenberg
9542dfdcdc
moved test2file() to util.c
2005-09-15 20:22:43 +00:00
Daniel Stenberg
b9c8de598b
Thanks to Scott Davis' detailed reports, I found this premature detection
...
of the end of a chunked-encoded POST request.
2005-09-07 10:51:37 +00:00
Daniel Stenberg
7e845e7cfd
Added FTP_SKIP_PASV_IP and --ftp-skip-pasv-ip
2005-09-04 05:16:06 +00:00
Gunter Knauf
75dbb3189a
quick hack to make it working again on Win32 - however we should consider to set some defaults depending on the compiler architecture we guess we are since it doesnt work well if we prefer building the msvc makefile with gmake instead of nmake because we found gmake first in path....
2005-08-30 18:37:08 +00:00
Daniel Stenberg
a4773fcbbb
Toby Peterson added CURLOPT_IGNORE_CONTENT_LENGTH to the library, accessible
...
from the command line tool with --ignore-content-length. This will make it
easier to download files from Apache 1.x (and similar) servers that are
still having problems serving files larger than 2 or 4 GB. When this option
is enabled, curl will simply have to wait for the server to close the
connection to signal end of transfer. I wrote test case 269 that runs a
simple test that this works.
2005-08-24 10:57:28 +00:00
Daniel Stenberg
1e038c4bc6
valgrind version 3 renames the --logfile command line option to --log-file...
2005-08-24 10:49:57 +00:00
Daniel Stenberg
e22ac39da4
detabify
2005-08-18 08:47:56 +00:00
Daniel Stenberg
9ad92b3007
added test 268 that makes curl -d @nonexisting
2005-08-12 22:09:21 +00:00
Daniel Stenberg
c0d343d56d
do a POST with NTLM and add two custom headers
2005-08-11 21:33:40 +00:00
Gunter Knauf
f451bb7c49
fix for NetWare crossbuilds to display the right config.h when build on Win32.
2005-08-11 18:02:09 +00:00
Daniel Stenberg
6508d446e1
Support realloc() on a NULL pointer properly (printf(%p) on a NULL pointer
...
outputs (nil) and not a 0x0 or similar.
2005-08-04 23:05:36 +00:00
Gisle Vanem
34a827bbfe
Needs 'struct_stat'. Increased verbosity.
2005-07-28 13:20:27 +00:00
Daniel Stenberg
465e19dbe9
Adrian Schuur added trailer support in the chunked encoding stream. The
...
trailer is then sent to the normal header callback/stream.
2005-07-12 18:15:34 +00:00
Daniel Stenberg
20005a83d2
Andrew Bushnell provided enough info for me to tell that we badly needed to
...
fix the CONNECT authentication code with multi-pass auth methods (such as
NTLM) as it didn't previously properly ignore response-bodies - in fact it
stopped reading after all response headers had been received. This could
lead to libcurl sending the next request and reading the body from the first
request as response to the second request. (I also renamed the function,
which wasn't strictly necessary but...)
The best fix would to once and for all make the CONNECT code use the
ordinary request sending/receiving code, treating it as any ordinary request
instead of the special-purpose function we have now. It should make it
better for multi-interface too. And possibly lead to less code...
Added test case 265 for this. It doesn't work as a _really_ good test case
since the test proxy is too stupid, but the test case helps when running the
debugger to verify.
2005-07-03 22:25:15 +00:00
Daniel Stenberg
27926030f9
add more info when this script gets confused, and added getaddrinfo and
...
freeaddrinfo to the trace output
2005-06-30 14:07:52 +00:00
Daniel Stenberg
30c93d66eb
verify that the URL decoding is done properly too
2005-06-22 22:24:47 +00:00
Daniel Stenberg
3b60bb7259
David Shaw's fix that unifies proxy string treatment so that a proxy given
...
with CURLOPT_PROXY can use a http:// prefix and user + password. The user
and password fields are now also URL decoded properly.
Test case 264 added to verify.
2005-06-22 22:24:10 +00:00
Daniel Stenberg
29aafb9cea
Andres Garcia's text mode fix for the 'data' part
2005-06-03 14:06:03 +00:00
Daniel Stenberg
300b4a9158
Todd Kulesza reported a flaw in the proxy option, since a numerical IPv6
...
address was not possible to use. It is now, but requires it written
RFC2732-style, within brackets - which incidently is how you enter numerical
IPv6 addresses in URLs. Test case 263 added to verify.
2005-05-31 13:03:26 +00:00
Daniel Stenberg
52071f3476
added keywords
2005-05-31 12:57:21 +00:00
Daniel Stenberg
a7846189cd
Eric Cooper reported about a problem with HTTP servers that responds with
...
binary zeroes within the headers. They confused libcurl to do wrong so the
downloaded headers become incomplete. The fix is now verified with test case
262.
2005-05-29 22:30:48 +00:00
Daniel Stenberg
e3a530eb61
Andrs Garca fixed a warning appearing on windows
2005-05-27 11:01:41 +00:00
Daniel Stenberg
50e9522a06
silense a warning
2005-05-25 22:12:57 +00:00
Daniel Stenberg
72e532cb67
no more time/re-start of sockfilt, no more redirect of stdin/stdout when
...
talking to sockfilt
2005-05-25 12:27:19 +00:00
Daniel Stenberg
ac5635f77d
added function for individual ftp slave kills
2005-05-25 12:26:38 +00:00
Daniel Stenberg
640d67c119
modified output logging, fixed the ftpslave killing
2005-05-25 12:26:20 +00:00
Daniel Stenberg
3e79693e3b
utilize the whole usec in the log and don't output to stderr if the logfile
...
can't be opened
2005-05-25 12:04:52 +00:00
Daniel Stenberg
d55d3c2fd0
nicer raw logging and put code into (nicer) functions
2005-05-25 12:04:24 +00:00
Daniel Stenberg
3aced17c75
don't restart sockfilt after only 5 seconds of inactivity
2005-05-24 21:09:49 +00:00
Daniel Stenberg
6a63c51f7c
Andres Garcia's mode=text patch to make these do fine on Windows
2005-05-24 10:03:13 +00:00
Daniel Stenberg
632cf13767
add test case 261, response code 226 to TYPE
2005-05-24 09:40:58 +00:00
Daniel Stenberg
c654b79c53
added keywords
2005-05-21 22:38:19 +00:00
Daniel Stenberg
bee7b874ea
added -nobuildconf
2005-05-20 11:24:55 +00:00
Daniel Stenberg
9c3fc592f7
keywords added
2005-05-20 11:15:24 +00:00
Daniel Stenberg
4eab7a1ebc
shorter name
2005-05-20 11:15:15 +00:00
Daniel Stenberg
3d985688e4
sum up
2005-05-20 11:14:44 +00:00
Daniel Stenberg
17ea2631cd
Add support for text mode on stdout tests as well, and add the mode=text
...
to the docs.
2005-05-20 10:40:32 +00:00
Daniel Stenberg
b749910e6c
include ctype.h for isdigit()
2005-05-19 09:55:53 +00:00
Daniel Stenberg
6ff092f140
removed duplicate
2005-05-19 07:12:16 +00:00
Daniel Stenberg
4a091bbd8a
Bug report #1204435 identified a problem with malformed URLs like
...
"http://somehost?data " as it added a slash too much in the request ("GET
/?data/"...). Added test case 260 to verify.
2005-05-18 20:01:01 +00:00
Daniel Stenberg
45bce1062a
ignore resolve too
2005-05-18 10:05:38 +00:00
Daniel Stenberg
8cb344bf3c
use less code and prevent compiler warning
2005-05-18 10:01:46 +00:00
Daniel Stenberg
c84839eb91
scan for gmake and make to prefer gmake on systems that have it
2005-05-17 12:07:08 +00:00
Daniel Stenberg
1f878aee69
Made test case 241 precheck that the given name resolves to an ipv6 address,
...
or the test is skipped. Ideally, we should let this test case go over a few
frequently used IPv6 localhost aliases...
2005-05-17 10:27:11 +00:00
Daniel Stenberg
84fd4686e2
Moved more generic functions to util.[ch]
...
Added resolve.c to simply resolve a given host name
2005-05-17 10:22:22 +00:00
Daniel Stenberg
1a31bff9fe
return, not exit, on several places
2005-05-16 07:07:00 +00:00
Daniel Stenberg
5d9fc28fa7
Modified the default HTTP headers used by libcurl:
...
A) Normal non-proxy HTTP:
- no more "Pragma: no-cache" (this only makes sense to proxies)
B) Non-CONNECT HTTP request over proxy:
- "Pragma: no-cache" is used (like before)
- "Proxy-Connection: Keep-alive" (for older style 1.0-proxies)
C) CONNECT HTTP request over proxy:
- "Host: [name]:[port]"
- "Proxy-Connection: Keep-alive"
2005-05-11 09:52:59 +00:00
Daniel Stenberg
315a9c95d5
prevent 64bit warnings
2005-05-10 11:21:57 +00:00
Daniel Stenberg
e010ac9706
allow the ares/config.h display to fail
2005-05-10 11:19:12 +00:00
Daniel Stenberg
b2b66f749a
no need to display src/config.h anymore since it is a duplicate of lib/config.h
...
but we could use having a look at ares/config.h when that is used
2005-05-09 07:45:30 +00:00
Daniel Stenberg
ef5eea689a
Added an active disconnected state, to make the code clearer.
2005-05-07 13:52:07 +00:00
Daniel Stenberg
fd191deb49
removed unnecessary logging to ease REAL debuggin
2005-05-07 08:55:37 +00:00
Daniel Stenberg
2b00ed7ef8
Added two test cases for multipart formpost over a proxy with --anyauth. Our
...
HTTP test server is a bit limited though, as it never responds to the POST
request until all data has been sent (and received)...
2005-05-06 23:22:33 +00:00
Daniel Stenberg
d960ea959d
When a server is clearly running, curl is now invoked to verify that it can
...
download a file from the server before the server is considered fine to use
for the given test case. This should fix the cases where the server can run
but curl cannot work with it.
2005-05-06 23:21:34 +00:00
Daniel Stenberg
c06da7c84a
now add --trace-time by default for curl tests
2005-05-04 21:58:47 +00:00
Daniel Stenberg
cea117b509
removed lots of (now) redundant logging
2005-05-04 21:57:07 +00:00
Daniel Stenberg
6078c938b2
modify a value we are allowed to
2005-05-04 21:51:09 +00:00
Daniel Stenberg
9e95dd4821
improved logging (all FTP protocol data, both ways) to possibly help us realize
...
why sometimes the control connection dies after a RETR has been sent
2005-05-04 21:49:30 +00:00
Daniel Stenberg
7dde3d1825
*MAN* was this hard to track down. Had I just read the docs properly from the
...
start... Anyway, fork() + exec() makes _two_ pids (in perl) that we need to
track and kill after use. Thankyouverymuch.
2005-05-03 23:14:43 +00:00
Daniel Stenberg
a0fe950b75
add more info to the log to ease debugging
2005-05-03 23:13:24 +00:00
Daniel Stenberg
ed9e10f2d8
another <case> converted to sysread
2005-05-02 11:55:17 +00:00
Daniel Stenberg
02ae3c2810
read from the open2 filehandle with sysread, not <handle>
2005-05-02 11:31:15 +00:00
Daniel Stenberg
669ebb5f71
Fixed the FTP server read stuff when waiting for a connect after a PASV/EPSV.
...
Made the ftp server use the passed in pidfile name, and made runtests.pl
pass it in properly.
2005-05-02 10:22:09 +00:00
Daniel Stenberg
9a3e0e52cb
fix the server for the slow response case
2005-05-02 10:03:12 +00:00
Daniel Stenberg
6f4ff1f2bf
When starting the ftp server, wait a few seconds to make really sure that
...
a pidfile for the server appears as otherwise it failed.
2005-05-02 09:08:44 +00:00
Daniel Stenberg
d3eea61f1f
Make sure there's no pidfile if we cannot start the initial sockfilt tool -
...
this happens for some ipv6-enabled hosts on which sockfilt cannot listen
on ipv6.
2005-05-02 09:08:02 +00:00
Daniel Stenberg
e71bd416f4
blank a few more environment variables before running a test
2005-05-02 07:54:25 +00:00
Daniel Stenberg
c4dbed040b
fixed to use fork()+exec() to start test servers
2005-05-01 13:20:53 +00:00
Daniel Stenberg
366b62af2d
always use the libcurl-provided *printf() functions
2005-05-01 12:56:09 +00:00
Daniel Stenberg
a6955aa486
util.h added as "source" to make it get added in dist archives
2005-05-01 12:51:27 +00:00
Daniel Stenberg
ad30341fa2
logfile name is const
2005-04-30 23:35:51 +00:00
Daniel Stenberg
23da55a9f1
Moved common code to util.[ch] instead of having it duplicated in sws.c
...
and sockfilt.c. For good-to-have functions for the servers written in C.
2005-04-30 23:30:55 +00:00
Daniel Stenberg
63621bae81
Set mode text on the section that is written by curl in text mode, to allow
...
the runtests.pl to check this differently on operating systems that
differentiate on this.
2005-04-28 21:07:07 +00:00
Daniel Stenberg
85f9e6c4b9
basic signal handler for sigint and sigkill
2005-04-28 21:06:17 +00:00
Daniel Stenberg
967ec296c0
fixed the attribute parser to better handle multiple ones, with or without
...
quotes around the contents
2005-04-28 21:05:40 +00:00
Daniel Stenberg
c6aae9b1d7
moved two functions to ftp.pm, made some more changes on stopping servers
...
and fixed the textmode attribute thing for windows a bit
2005-04-28 21:04:58 +00:00
Daniel Stenberg
913c370c25
moved in functions from runtests.pl to enable the ftpserver to use the
...
killslaves function
2005-04-28 21:04:08 +00:00
Daniel Stenberg
e5472bbd21
AF_INET6 for ipv6 addresses!
2005-04-28 14:31:25 +00:00
Daniel Stenberg
957c258c6d
no, the kill servers messages need to be verbose, they're too frequent
2005-04-28 14:25:48 +00:00
Daniel Stenberg
abee109cd1
display killed pids to make it easier to see for autobuilds etc
2005-04-28 14:03:08 +00:00
Daniel Stenberg
502e5ae6e1
historic thing we will not use
2005-04-28 13:55:34 +00:00
Daniel Stenberg
b8417be1f2
removed ftpsserver.pl
2005-04-28 13:55:16 +00:00
Daniel Stenberg
9e037431b4
When staring a HTTP server, use the pidfile preferably since it turns out
...
sometimes the server can start but curl cannot speak to it, and then we must
remember the server (in order to kill it properly) anyway.
Also, make sure to kill all servers on exit everywhere.
2005-04-28 13:54:48 +00:00
Daniel Stenberg
f71b3676bb
ignore more generated files
2005-04-28 11:22:18 +00:00
Daniel Stenberg
50fe7b5e35
remove unused ftps-server code and fixed two warnings
2005-04-28 08:23:25 +00:00
Daniel Stenberg
9fb253388b
if diff -u makes zero output, try diff -c instead
2005-04-28 08:20:33 +00:00
Daniel Stenberg
8cf1786296
kill slave processes when they fail
2005-04-28 07:36:55 +00:00
Daniel Stenberg
51b17b299c
1. no longer ask the server for the HTTPS pid, as it returns the HTTP pid
...
(problem identified by Dan F)
2. initial text mode fix for file checks, to allow better text file testing
on windows (with regard to line endings)
3. fixed to use the proper ftpserver pidfile to find pid
2005-04-28 06:50:42 +00:00
Daniel Stenberg
8465a367a4
listen(..., 1) as 0 doesn't work on Tru64!
2005-04-27 12:28:04 +00:00
Daniel Stenberg
3bcfe678ab
display listening port in log
2005-04-27 12:27:23 +00:00
Daniel Stenberg
d5403f3a5b
show what error codes we test for too, and show 10 test case numbers
2005-04-27 10:12:41 +00:00
Daniel Stenberg
26abb48533
keyword update
2005-04-27 09:59:47 +00:00
Daniel Stenberg
177848ed27
detect SSL library properly and display it on startup
2005-04-27 09:59:29 +00:00
Daniel Stenberg
01165e08e0
Fred New reported a bug where we used Basic auth and user name and password in
...
.netrc, and when following a Location: the subsequent requests didn't properly
use the auth as found in the netrc file. Added test case 257 to verify my fix.
2005-04-25 21:39:48 +00:00
Daniel Stenberg
c12159ce21
show up to 5 (random) test cases using the keyword
2005-04-22 22:29:48 +00:00
Daniel Stenberg
4485503ecc
keywords added
2005-04-22 21:59:08 +00:00
Daniel Stenberg
f0057977b7
ignore the memdump file when showing files after a failure
2005-04-22 20:47:35 +00:00
Daniel Stenberg
e8e43f06af
copyright this year
2005-04-22 20:47:21 +00:00
Daniel Stenberg
b8d7a13ea3
modified the test case success reporting, added "test N out of Y" and
...
"remaining: [time]" outputs to hint users about what to expect
2005-04-22 11:51:06 +00:00
Daniel Stenberg
78a76dc905
test 256 is like test 38 but with proxy + proxy auth
2005-04-22 10:15:21 +00:00
Daniel Stenberg
5fa5fff0e9
keywords
2005-04-22 10:06:58 +00:00
Daniel Stenberg
53a8e5655b
added CURLOPT_PORT test when using proxy
2005-04-19 08:10:04 +00:00
Daniel Stenberg
63d109f7be
Olivier reported that even though he used CURLOPT_PORT, libcurl clearly still
...
used the default port. He was right. I fixed the problem and added the test
cases 521, 522 and 523 to verify the fix.
2005-04-18 19:41:04 +00:00
Daniel Stenberg
c904b6b5bf
Toshiyuki Maezawa reported that when doing a POST with a read callback,
...
libcurl didn't properly send an Expect: 100-continue header. It does now.
2005-04-18 17:14:58 +00:00
Daniel Stenberg
4382204e1b
better fix for the socket -1 case
2005-04-18 08:59:46 +00:00
Daniel Stenberg
6d3114efe2
ignore sockfilt
2005-04-18 08:51:04 +00:00
Daniel Stenberg
b62baaed95
safety measure to avoid using -1 as socket
2005-04-18 08:49:46 +00:00
Daniel Stenberg
9b391e531b
allow some more time
2005-04-18 08:49:21 +00:00
Daniel Stenberg
a0c7a6d22b
ARGH my stupidity is endless. Ipv4-only hosts don't send EPRT or LPRT.
2005-04-18 07:56:43 +00:00
Daniel Stenberg
14424f7058
Modified the FTP server to use the new 'sockfilt' program to do all the socket
...
level stuff. The FTP server communicates with sockfilt using perl's open2().
This enables easier IPv6 support and hopefully FTP-SSL support in the future.
Added four test cases for FTP-ipv6.
2005-04-18 06:57:44 +00:00
Daniel Stenberg
6063dff8d0
Modified to not mix ordinary print to STDOUT with a system() that prints to
...
stdout, since I've found cases on Solaris where the second output mixes with
the first and thus the big check-script doesn't properly find the first
string in the output stream.
2005-04-18 05:46:10 +00:00
Daniel Stenberg
53280a196b
keywords added
2005-04-16 23:15:19 +00:00
Daniel Stenberg
0bf9a5704b
minor edits, report the test cases without keywords
2005-04-16 23:15:12 +00:00
Daniel Stenberg
8182d17ae1
starting to produce a summary in HTML
2005-04-16 12:43:32 +00:00
Daniel Stenberg
6c2f583f51
keywords added
2005-04-16 00:00:35 +00:00
Daniel Stenberg
a72eaddda3
initial tool to report info/keywords of the test cases
2005-04-15 23:48:58 +00:00
Daniel Stenberg
dc050e45df
started adding "keywords" for each test, to better allow us to sum up what
...
kind of tests we have and how many tests that test certain features
2005-04-15 23:48:31 +00:00
Daniel Stenberg
2056a538b9
Two new slowdown tests for better testing of the FTP response reader function
...
when the response come in many small chunks.
2005-04-14 22:52:42 +00:00
Daniel Stenberg
cd1144dc24
make the ftp server support reply/servercmd, and make SLOWDOWN work, and
...
update the docs accordingly
2005-04-14 22:52:08 +00:00
Daniel Stenberg
d7b11d4c33
fix port number
2005-04-13 12:37:38 +00:00
Daniel Stenberg
67805b6dc5
requires OpenSSL, as our GnuTLS doesn't provide support for
...
CURLOPT_SSL_CTX_FUNCTION (yet).
2005-04-12 07:19:34 +00:00
Daniel Stenberg
0050ab2a3d
support tests that requires 'OpenSSL' specificly
2005-04-12 07:18:48 +00:00
Daniel Stenberg
fb3c85ab2f
fixed the 304 response-with-content-length problem reported by Cory Nelson
2005-04-08 16:59:13 +00:00
Daniel Stenberg
6a6c0e7a73
test time-conditioned FTP uploads
2005-04-05 21:07:27 +00:00
Daniel Stenberg
74816fed6c
Hardeep Singh reported a problem doing HTTP POST with Digest. (It was actually
...
also affecting NTLM and Negotiate.) It turned out that if the server responded
with 100 Continue before the initial 401 response, libcurl didn't take care of
the response properly. Test case 245 and 246 added to verify this.
2005-04-03 22:46:25 +00:00
Daniel Stenberg
b4c9789d5f
Test 245 was just added in an attempt to repeat Hardeep Singh's recent bug.
...
But this works just fine on my host. Plain HTTP POST using Digest.
2005-04-03 22:18:27 +00:00
Daniel Stenberg
f6b1173437
copyright this year
2005-03-31 14:42:28 +00:00
Daniel Stenberg
346992c366
Attempt to make this code more forgiving for systems that doesn't detect
...
the failed connect "immediately".
2005-03-31 14:10:54 +00:00
Daniel Stenberg
ab4086bc24
Updated the copyright year since changes have been this year.
2005-03-31 07:02:02 +00:00
Daniel Stenberg
677a74fa1b
Made the server send data to the control/data connections using two dedicated
...
functions. This enabled me to add a function that automatically delays between
each byte, to proper test curl's ability to read FTP server responses sent in
many (small) chunks. See also upcoming libcurl fixes...
2005-03-29 09:09:58 +00:00
Daniel Stenberg
8a076d1dba
Based on Augustus Saunders' comments and findings, the HTTP output auth
...
function was fixed to use the proper proxy authentication when multiple ones
were added as accepted. test 239 and test 243 were added to repeat the
problems and verify the fixes.
2005-03-28 22:19:31 +00:00
Daniel Stenberg
31443724c6
modified some log outputs, added comment about auth required as used in
...
test 154
2005-03-28 22:15:17 +00:00
Daniel Stenberg
0e7614919b
can you spell copy and paste error for me loud and clear? ;-P
2005-03-22 19:58:00 +00:00
Daniel Stenberg
2bf72937d2
provide HTML and PDF versions of the man pages in the dist archive
2005-03-22 19:46:49 +00:00
Daniel Stenberg
3e5a32671c
Make NTLM tests depend on the NTLM feature at not SSL, since the NTLM support
...
is no longer only present when built with SSL support.
2005-03-21 08:14:32 +00:00
Daniel Stenberg
d34f32b39e
format mistake
2005-03-21 07:45:18 +00:00
Daniel Stenberg
5b6b6283f3
some additional debug output
2005-03-19 01:00:00 +00:00
Dan Fandrich
987cdebefb
Fixed spelling of --runtestopts
2005-03-18 18:41:50 +00:00
Dan Fandrich
6b978db369
Netware builds don't use configure.
2005-03-18 18:03:38 +00:00
Daniel Stenberg
44f2024bab
adjust to use plain 'make' even for cross-compiles if using configure-
...
style build
2005-03-18 09:21:25 +00:00
Dan Fandrich
5b3730feae
Change the bogus address used in test237 to be more reliable when run
...
on a host with a buggy resolver that strips all but the bottom 8 bits of
each octet. The resolved address in this case (192.0.2.127) is guaranteed
never to belong to a real host (see RFC3330).
2005-03-17 20:50:17 +00:00
Daniel Stenberg
bbba9d568f
added descriptions
2005-03-17 12:16:24 +00:00
Daniel Stenberg
e8ddf84871
don't set TEST_F to blank when --runtestopts isn't used, as that will override
...
the default options set in the Makefile
2005-03-17 09:44:09 +00:00
Daniel Stenberg
67f04d2d5f
support multiple error codes for a test case since some things just vary
...
between platforms
2005-03-17 08:17:48 +00:00
Daniel Stenberg
d26e932858
add new option
2005-03-17 08:04:08 +00:00
Daniel Stenberg
73b9d0840c
add new file
2005-03-17 08:04:00 +00:00
Daniel Stenberg
2ea4326c40
its a start
2005-03-17 08:03:46 +00:00
Dan Fandrich
233237740d
Added the --runtestsopts option to testcurl.pl to override the default
...
options used by runtests.pl during testing (useful for disabling valgrind).
2005-03-17 00:57:17 +00:00
Daniel Stenberg
4a6cc54eb5
check for the HTTPS server in a manner similar to how we check for the HTTP
...
server
2005-03-16 22:02:09 +00:00
Daniel Stenberg
9a5c21c16f
test EPSV and PASV response handling when they get well-formated data back
...
but using illegal values
2005-03-15 12:33:08 +00:00
Daniel Stenberg
06ffb47ef2
initial man page attempt for testcurl.pl
2005-03-15 12:13:37 +00:00
Daniel Stenberg
562d2de303
Added lots of new command line options, made confsuffix get set based on
...
targetos only and not build os. Commented away the line that enables perl
warnings.
2005-03-15 07:35:36 +00:00
Dan Fandrich
677ddd6160
Make nonexistent host names absolute so tests will pass on machines
...
with a wildcard DNS search domain.
2005-03-15 04:04:50 +00:00
Daniel Stenberg
387aaba810
show LDFLAGS too
2005-03-14 12:26:29 +00:00
Daniel Stenberg
2f8085af15
David Houlder added --form-string
2005-03-12 19:39:27 +00:00
Daniel Stenberg
0e4e28fdda
no more rewriting of the setup file
2005-03-11 00:20:30 +00:00
Daniel Stenberg
d26cfd5791
skip the test of "2094 Nov 6" for now, since the 64bit time_t systems return
...
different values for it...
2005-03-09 07:56:32 +00:00
Daniel Stenberg
702664e959
Dominick Meglio reported that using CURLOPT_FILETIME when transferring a FTP
...
file got a Last-Modified: header written to the data stream, corrupting the
actual data. This was because some conditions from the previous FTP code was
not properly brought into the new FTP code. I fixed and I added test case 520
to verify. (This bug was introduced in 7.13.1)
2005-03-08 08:09:14 +00:00
Daniel Stenberg
cb9bb31f7d
test 236: FTP resume upload but denied access to remote file
2005-03-07 08:29:28 +00:00
Daniel Stenberg
7657186bf6
added valgrind.pm to the dist
2005-03-06 22:33:05 +00:00
Daniel Stenberg
aa47ac4c06
Added test case 235 that makes a resumed upload of a file that isn't present
...
on the remote side. This then converts the operation to an ordinary STOR
upload. This was requested/pointed out by Ignacio Vazquez-Abrams.
It also proved (and I fixed) a bug in the newly rewritten ftp code (and
present in the 7.13.1 release) when trying to resume an upload and the servers
returns an error to the SIZE command. libcurl then loops and sends SIZE
commands infinitely.
2005-03-04 23:52:06 +00:00
Dan Fandrich
9798432f56
Fixed some compiler warnings. Fixed a low incidence memory leak in the test server.
2005-02-24 18:54:23 +00:00
Daniel Stenberg
527f70e540
Curl_base64_decode() now returns an allocated buffer
2005-02-22 12:10:30 +00:00
Daniel Stenberg
b7721deb02
added test case 234 which is like 233 but uses --location-trusted instead so
...
thus the second request to the new host will use authentication fine
2005-02-19 22:33:06 +00:00
Daniel Stenberg
5ba188ab2d
Ralph Mitchell reported a flaw when you used a proxy with auth, and you
...
requested data from a host and then followed a redirect to another
host. libcurl then didn't use the proxy-auth properly in the second request,
due to the host-only check for original host name wrongly being extended to
the proxy auth as well. Added test case 233 to verify the flaw and that the
fix removed the problem.
2005-02-18 23:53:07 +00:00
Daniel Stenberg
160d6b26b0
Moved out the valgrind report parser to valgrind.pm, to make it easier to
...
test it outside the test suite. Now we also disable valgrind usage if libcurl
was built shared, as then valgrind is only testing the wrapper-script running
shell which is pointless.
2005-02-10 08:50:33 +00:00
Daniel Stenberg
6a2e21ec8c
FTP code turned into state machine. Not completely yet, but a good start.
...
The tag 'before_ftp_statemachine' was set just before this commit in case
of future need.
2005-02-09 13:06:40 +00:00
Daniel Stenberg
6a99ab098c
Bugfixed the parser that scans the valgrind report outputs. I noticed that it
...
previously didn't detect and report the "Conditional jump or move depends on
uninitialised value(s)" error.
When I fixed this, I caught a few curl bugs with it. And then I had to spend
time to make the test suite IGNORE these errors when OpenSSL is used since it
produce massive amounts of valgrind warnings (but only of the "Conditional..."
kind it seems).
So, if a test that requires SSL is run, it ignores the "Conditional..."
errors, and you'll get a "valgrind PARTIAL" output instead of "valgrind OK".
2005-01-30 12:56:36 +00:00
Daniel Stenberg
b03adde546
properly mark tests as requiring feature 'SSL'
2005-01-30 12:53:05 +00:00
Daniel Stenberg
0859cd2444
when using valgrind, include a much longer stack trace
2005-01-29 13:06:31 +00:00
Daniel Stenberg
54b02ecf09
adjusted to the moved unlock of the DNS entry
2005-01-28 22:22:59 +00:00
Daniel Stenberg
cf38a4c470
test the EPRT/LPRT/PORT somewhat more
2005-01-27 23:03:02 +00:00
Daniel Stenberg
aacc79a3a3
Use the same work-around for the memdebug stuff as in the command line client,
...
to allow the contents of the env var decide the file name.
2005-01-27 22:40:56 +00:00
Daniel Stenberg
289a42f050
Make the debug build get the debug dump file path from the environment
...
variable to allow the test suite to better control where it ends up.
2005-01-27 15:51:03 +00:00
Daniel Stenberg
ade1e79b37
verify a part of the PORT line
2005-01-27 12:59:40 +00:00
Daniel Stenberg
2415724d5f
Make the server ignore the given PORT address, to make it possible to test
...
curl's -P option easier.
2005-01-26 23:18:31 +00:00
Daniel Stenberg
177dbc7be0
Ian Ford asked about support for the FTP command ACCT, and I discovered it is
...
present in RFC959... so now (lib)curl supports it as well. --ftp-account and
CURLOPT_FTP_ACCOUNT set the account string. (The server may ask for an account
string after PASS have been sent away. The client responds with "ACCT [account
string]".) Added test case 228 and 229 to verify the functionality. Updated
the test FTP server to support ACCT somewhat.
2005-01-25 22:13:12 +00:00
Daniel Stenberg
f2e71edcbd
A minor "syntax error" in numerous test files corrected
2005-01-25 21:45:03 +00:00
Daniel Stenberg
7e42cb61f7
FTP third transfer support overhaul. See CHANGES for details.
2005-01-21 09:32:32 +00:00
Daniel Stenberg
291a908f19
Added support for "verify" => "stripfile" to strip contents of the file that
...
is being checked.
Also made the server retrying sleep only one second instead of three, to reduce
some waiting when fooling around with the servers.
2005-01-20 22:48:43 +00:00
Daniel Stenberg
b264a03f89
Support file names passed to RETR that don't start with a number. In that
...
case, all non-numeric prefixing letters are cut off to figure out the test
number.
2005-01-20 22:47:31 +00:00
Daniel Stenberg
7472ede32a
Philippe Hameau found out that -Q "+[command]" didn't work, although some code
...
was written for it. I fixed and added test case 227 to verify it. The curl.1
man page didn't mention the '+' so I added it.
2005-01-20 22:22:12 +00:00
Daniel Stenberg
b5065e462b
add support for NOOP
2005-01-20 22:05:44 +00:00
Daniel Stenberg
a38520c90d
added test226 too
2005-01-19 22:00:54 +00:00
Daniel Stenberg
3050ae57c0
Stephan Bergmann made libcurl return CURLE_URL_MALFORMAT if an FTP URL
...
contains %0a or %0d in the user, password or CWD parts. (A future fix would
include doing it for %00 as well - see KNOWN_BUGS for details.) Test case 225
and 226 were added to verify this
2005-01-19 21:56:02 +00:00
Daniel Stenberg
7bfd58d41f
Add support for server 'ftp2' which is a second FTP server. Useful for 3rd
...
party transfer tests or tests that need two FTP servers.
2005-01-17 20:20:34 +00:00
Daniel Stenberg
3851c6aae2
support the new --id command line option, that allows a second (or third or
...
whatever) instance to run without overwriting the previous' logfiles
2005-01-17 19:49:12 +00:00
Daniel Stenberg
cf51f7fb65
output better error detection, like when ipv6 can't resolve
2005-01-15 09:21:51 +00:00
Daniel Stenberg
f70b87b4c5
verify the protocol too
2005-01-14 09:39:20 +00:00
Daniel Stenberg
b5b77f6367
disable the valgrind log checking
2005-01-07 21:11:24 +00:00
Daniel Stenberg
5a8097a4d5
fixed the valgrind log check and make it possible to disable it for a specific
...
test, see test 509
2005-01-07 21:11:13 +00:00
Daniel Stenberg
9cdf6fb64b
added test 199
2005-01-07 21:09:50 +00:00
Daniel Stenberg
10b5327b19
test enforced chunked encoding with PUT on a local file
2004-12-21 20:19:05 +00:00
Daniel Stenberg
4ba1eb26fa
Added test case 217 that verified CURLINFO_HTTP_CONNECTCODE, and I made the
...
-w option support 'http_connect' to make it easier to verify!
2004-12-21 19:59:35 +00:00
Daniel Stenberg
1225ad58bd
set debug curl too when -c is used
2004-12-21 10:10:40 +00:00
Daniel Stenberg
ff54a74b4d
duplicate ! typo
2004-12-17 10:09:06 +00:00
Daniel Stenberg
0b85e53af2
fix skip-reason
2004-12-16 22:45:06 +00:00
Daniel Stenberg
b7acdbcb4c
two more ftp directory re-use tests added
2004-12-16 22:22:11 +00:00
Daniel Stenberg
e47b5d4e6c
Provide better reasons for why test cases are skipped. Also, don't show the
...
SKIPPED stuff in the short output. Some platforms get quite a lot of SKIPPED
and they don't add much value and only clutter screen space.
2004-12-16 14:18:11 +00:00
Daniel Stenberg
d3b414724b
Dinar in bug report #1086121 , found a file handle leak when a multipart
...
formpost (including a file upload part) was aborted before the whole file was
sent.
2004-12-16 09:52:36 +00:00
Daniel Stenberg
d88b3d3d5d
fixed how backslashes are treated in glob strings
2004-12-15 09:23:24 +00:00
Daniel Stenberg
dc28a9c0c1
make sure the ipv6 http server gets its pid stored in a separate file
2004-12-14 21:52:16 +00:00
Daniel Stenberg
1faef62d59
use the correct variables, not fixed values
2004-12-14 21:25:23 +00:00
Daniel Stenberg
0d0d5e7ee3
Harshal Pradhan fixed changing username/password on a persitent HTTP
...
connection.
2004-12-14 21:22:51 +00:00
Daniel Stenberg
4f567d0f81
mistake
2004-12-14 21:22:12 +00:00
Gisle Vanem
d02b2c4308
Fixed missing braces warning.
2004-12-13 11:31:01 +00:00
Daniel Stenberg
4b1350e467
when failing to verify a HTTP server, display what curl said on stderr to
...
help debugging. (when using ipv6 I fell over this server that didn't have
the ipv6 module loaded)
2004-12-12 23:31:45 +00:00
Gisle Vanem
22a0c57746
Missing 'in6addr_any' in MingW's lib. ld bug?
2004-12-12 20:14:25 +00:00
Daniel Stenberg
9b3b7ad22e
HTTP IPv6 support added to the test suite
2004-12-11 21:41:00 +00:00
Daniel Stenberg
eee70dcf8e
two new test cases for proxy-CONNECT with NTLM (one doing GET, one doing POST)
2004-12-10 14:48:03 +00:00
Daniel Stenberg
8c833d375a
ignore the getpart tool
2004-12-09 09:58:45 +00:00
Daniel Stenberg
18f14ae23d
close the connection when a bad test number was requested
2004-12-09 09:58:25 +00:00
Daniel Stenberg
a1f7987ad8
HTTP PUT a to a FTP URL with username+password - over HTTP proxy
2004-12-06 12:54:50 +00:00
Daniel Stenberg
2c27e4ee76
Bug report #1078066 : when a chunked transfer was pre-maturely closed exactly
...
at a chunk boundary it was not considered an error and thus went unnoticed.
Added test case 207 to verify.
2004-12-03 09:31:25 +00:00
Daniel Stenberg
2f26069a41
test 206 - HTTP proxy CONNECT auth Digest
2004-12-02 17:11:19 +00:00
Daniel Stenberg
d6c155ff47
added comment about port number in CONNECT string being used as test number
2004-12-02 17:11:09 +00:00
Gisle Vanem
e587a56fc0
Use "HAVE_SYS_TYPES_H".
2004-12-01 13:41:22 +00:00
Daniel Stenberg
113531432a
make the "check" actually open all those file desciptors as well to make sure
...
it works, as it has proved to not work in some cases (like on Tor Arntsen's
AIX 5100-06 xlc 5.0 --disable-shared runs).
2004-12-01 10:34:46 +00:00
Daniel Stenberg
8b37844e5f
fixed test case errors
2004-11-30 10:20:59 +00:00
Daniel Stenberg
1445e62312
three new compress test cases
2004-11-30 09:54:16 +00:00
Daniel Stenberg
4781ff88fd
Fixed the array comparison function even more, made the temporary files used
...
for diff output get created in the log/ dir and no longer deletes them since
they help in understanding the problem, fixing the test case and fixing curl
problems.
2004-11-30 09:53:53 +00:00
Daniel Stenberg
fe0585ec91
no longer use the MIME::Base64.pm package as it seems to not be standard
...
on lots of perl versions, provide our own base64 decoder
2004-11-30 09:27:11 +00:00
Daniel Stenberg
18c0b49f3d
added test 221 to test a broken gzip content download
2004-11-29 22:37:52 +00:00
Daniel Stenberg
5d69c956ee
added test 220 - simple gzip auto decompress
2004-11-29 22:15:42 +00:00
Daniel Stenberg
b7c6bc20be
removed comment
2004-11-29 21:44:40 +00:00
Daniel Stenberg
9bb4a95e08
include setup.h first
2004-11-29 21:44:23 +00:00
Daniel Stenberg
c073625fb9
zero terminate the buffer spitout() returns, as the sws.c code depends on
...
that!
2004-11-29 18:26:09 +00:00
Daniel Stenberg
85dd4bfb8d
make it possible for a test case to depend on the feature 'libz'
2004-11-29 12:23:02 +00:00
Daniel Stenberg
0eb8414750
Enable test cases to provide sections base64-encoded to be able to test
...
with binary data.
2004-11-29 12:10:09 +00:00
Daniel Stenberg
09717d3fc8
utility to base encode data passed on stdin
2004-11-29 12:09:05 +00:00
Daniel Stenberg
81a3246a56
stricter newline policy
2004-11-29 12:01:07 +00:00
Daniel Stenberg
0d7446c134
add more info to the stderr output
2004-11-28 08:57:03 +00:00
Daniel Stenberg
a34a4af36a
last-second-before-commit changes corrected
2004-11-26 08:41:39 +00:00
Daniel Stenberg
bf51f05a50
FTP improvements:
...
If EPSV, EPRT or LPRT is tried and doesn't work, it will not be retried on
the same server again even if a following request is made using a persistent
connection.
If a second request is made to a server, requesting a file from the same
directory as the previous request operated on, libcurl will no longer make
that long series of CWD commands just to end up on the same spot. Note that
this is only for *exactly* the same dir. There is still room for improvements
to optimize the CWD-sending when the dirs are only slightly different.
Added test 210, 211 and 212 to verify these changes. Had to improve the
test script too and added a new primitive to the test file format.
2004-11-25 22:21:49 +00:00
Daniel Stenberg
3e1caa6185
HTTP "auth done right". See lib/README.httpauth
2004-11-24 16:11:35 +00:00
Daniel Stenberg
a5abce7982
oops, use the precheck too!
2004-11-23 10:05:10 +00:00
Daniel Stenberg
be5cc378c8
introducing the client/precheck concept to allow test 518 to *only* run when
...
it actually can run and test the FD_SETSIZE stuff it is meant to test
2004-11-23 09:50:16 +00:00
Daniel Stenberg
a4e1ac7952
David Phillips fix for test 518 and my extension to make it not run on
...
systems that can't run it fine.
2004-11-22 22:26:46 +00:00
Gisle Vanem
cca9fca894
ifdef for portable "/dev/null".
2004-11-19 13:50:41 +00:00
Daniel Stenberg
1a05a90f1c
David Phillips' FD_SETSIZE fix
2004-11-19 08:52:33 +00:00
Daniel Stenberg
66f6f43056
added test case 517: 22 tests of the curl_getdate() function
2004-11-15 21:49:35 +00:00
Daniel Stenberg
59c063dfd3
Fix behaviour when passing NULL to CURLOPT_POSTFIELDS and CURLOPT_HTTPPOST.
2004-11-11 23:11:04 +00:00
Daniel Stenberg
96cf615e9d
Added --retry and --retry-delay first attempt with four related test cases.
2004-10-27 21:29:55 +00:00
Daniel Stenberg
e9b3e1d031
log client disconnects
2004-10-27 14:18:57 +00:00
Daniel Stenberg
a00e7f0f5e
Tomas Pospisek filed bug report #1053287 that proved -C - and --fail on a
...
file that was already completely downloaded caused an error, while it
doesn't if you don't use --fail! I added test case 194 to verify the fix.
Grrr. CURLOPT_FAILONERROR is now added to the list stuff to remove in
libcurl v8 due to all the kludges needed to support it.
2004-10-25 11:28:40 +00:00
Daniel Stenberg
e1607f5705
just nicer output when this is seen
2004-10-25 11:28:15 +00:00
Daniel Stenberg
cce931f27d
the array sizes _can_ differ and the arrays can still match, since chomp
...
is used at times but it doesn't decrease the array size
2004-10-25 11:28:01 +00:00
Daniel Stenberg
b2d8e0b476
revert the charset fix as it broke the solaris tests (native iconv doesn't
...
like that name)
2004-10-19 18:46:12 +00:00
Daniel Stenberg
f4bef25b5e
CURLINFO_NUM_CONNECTS and more
2004-10-19 15:30:08 +00:00
Daniel Stenberg
7b95a25adc
bug 1049275 fixes test 165
2004-10-19 06:04:25 +00:00
Daniel Stenberg
e8f85cba0f
Eric Vergnaud pointed out that libcurl didn't treat ?-letters in the user name
...
and password fields properly in URLs, like
ftp://us?er:pass?word@site.com/. Added test 191 to verify the fix.
2004-10-14 13:44:54 +00:00
Daniel Stenberg
1aba99b1e7
use quotes to make gdb usage on this easier
2004-10-14 13:44:16 +00:00
Daniel Stenberg
b534f74bf4
correction
2004-10-12 18:20:36 +00:00
Daniel Stenberg
1eddbb1b47
attempt to make the configure output appear in the build log when it runs
...
on my solaris 2.7 box too (currently unknown perl version)
2004-10-10 07:51:25 +00:00
Daniel Stenberg
a6d4d3eeac
use curlx_strnequal() from the private lib sources instead of strncasecmp()
...
for maximum portability
2004-10-07 22:57:24 +00:00
Daniel Stenberg
ceefe2e248
test resume and redirect
2004-10-06 14:58:07 +00:00
Daniel Stenberg
9a2aed7d7a
Chih-Chung Chang reported that if you use CURLOPT_RESUME_FROM and enabled
...
CURLOPT_FOLLOWLOCATION, libcurl reported error if a redirect happened even if
the new URL would provide the resumed file. Test case 188 added to verify the
fix (together with existing test 99).
2004-10-06 13:37:12 +00:00
Daniel Stenberg
95def48071
Made the dns entry remain locked while a connection to the host remains to
...
allow verbose output during this period. Bertrand Demiddelaer reported and
helped fixing.
2004-10-04 10:36:51 +00:00
Daniel Stenberg
e2fe03df8e
removed trailing whitespace
2004-10-03 08:15:40 +00:00
Daniel Stenberg
8e87223195
- Based on Fedor Karpelevitch's formpost path basename patch, file parts in
...
formposts no longer include the path part. If you _really_ want them, you
must provide your preferred full file name with CURLFORM_FILENAME.
Added detection for libgen.h and basename() to configure. My custom
basename() replacement function for systems without it, might be a bit too
naive...
Updated 6 test cases to make them work with the stripped paths.
2004-10-01 06:36:11 +00:00
Daniel Stenberg
23550fe5de
Dan Fandrich's fix to use 127.0.0.1 instead of localhost to not depend on
...
it resolving nicely
2004-09-22 18:21:45 +00:00
Daniel Stenberg
25bf23105d
Location: problem with bad original URL, identified in bug report #1029478
2004-09-16 21:28:38 +00:00
Daniel Stenberg
f5e1beddf1
no more getdate.c to care about
2004-09-15 08:07:20 +00:00
Daniel Stenberg
ca52c963c7
1. cookie expire-strings MUST use GMT timezones
...
2. adjusted date strings to upcoming date parser rewrite
2004-09-11 19:12:37 +00:00
Daniel Stenberg
0ec4c66fba
fixed -F to support setting type= even on parts that aren't file-uploads
2004-09-10 21:47:52 +00:00
Daniel Stenberg
b8b56248bd
- Bug report #1025986 . When following a Location: with a custom Host: header
...
replacement, curl only replaced the Host: header on the initial request
and didn't replace it on the following ones. This resulted in requests with
two Host: headers.
Now, curl checks if the location is on the same host as the initial request
and then continues to replace the Host: header. And when it moves to another
host, it doesn't replace the Host: header but it also doesn't make the
second Host: header get used in the request.
This change is verified by the two new test cases 184 and 185.
2004-09-10 20:58:51 +00:00
Daniel Stenberg
2b1673c9c8
Now the test servers and test cases can run on a custom port number. There's
...
no fixed port numbers in use anymore. Starting now, the default ports the
servers use are 8990 - 8993. There's no option to modify these yet, but
changing the $base option in the top of the runtests.pl script.
2004-09-08 08:08:38 +00:00
Daniel Stenberg
d46e235c2a
added test 183 to verify that we properly send good Host: headers when
...
getting multiple URLs over a single proxy connection
2004-08-24 14:40:32 +00:00
Daniel Stenberg
20057aee2e
prevent files named ".nfs[something]" from being displayed when failing
2004-08-24 09:23:40 +00:00
Daniel Stenberg
b233c13dca
verify that transferring a zero byte FTP file results in a zero byte local
...
file
2004-08-23 14:41:19 +00:00
Daniel Stenberg
464be27479
Provide support for "transferring" zero bytes FTP files and comparing that
...
the output file actually is zero bytes after the transfer.
2004-08-23 14:40:43 +00:00
Daniel Stenberg
723bfe42e7
Roman Koifman pointed out that libcurl send Expect: 100-continue on POSTs and
...
PUTs even when told to use HTTP 1.0, which is not correct.
2004-08-23 12:34:55 +00:00
Daniel Stenberg
45197b188e
Roland Krikava's cookies over proxy fix.
2004-08-16 07:24:25 +00:00
Daniel Stenberg
b7575b39c4
mingw32 builds make .a libs
2004-07-29 07:37:36 +00:00
Daniel Stenberg
115dd6f095
Bertrand Demiddelaer made the testing work with valgrind 2.1
2004-07-26 15:45:03 +00:00
Daniel Stenberg
d784526dae
libs built with libtool are named .la in the build dir
2004-07-25 06:03:10 +00:00
Daniel Stenberg
6769ab2797
if --enable-ares is used, we must run 'buildconf' in the ares dir before
...
we run configure.
2004-07-24 21:24:03 +00:00
Daniel Stenberg
0359ae8f40
test downloading from a server claiming negative content-length
2004-07-16 21:00:50 +00:00
Gunter Knauf
ab64bf6fb1
added Borland support.
2004-07-15 02:34:58 +00:00
Daniel Stenberg
0c54013ee3
An Andres Garcia fix: add a typecast to make it work better
2004-07-14 14:20:53 +00:00
Gunter Knauf
dd4d5bb1e0
fixed Win32 prebuild section; fixed minor cosmetic bug.
2004-07-06 02:37:52 +00:00
Gunter Knauf
9a6df07d3d
be a bit more verbose when things go wrong.
2004-07-05 23:35:49 +00:00
Gunter Knauf
c59c429a69
added additional check to avoid calling a non-existant external script.
2004-07-05 23:07:59 +00:00
Gunter Knauf
69f9d0c916
the simple way was too simple, so added --mktarball option.
2004-07-05 22:35:00 +00:00
Gunter Knauf
94c4a18541
added simple way to create a tarball just before the build is deleted.
2004-07-05 21:41:28 +00:00
Gunter Knauf
bdcf8d626d
changed to reflect recent NetWare makefile changes;
...
moved call to buildconf.bat down so that it takes place in the build dir.
2004-07-05 21:32:18 +00:00
Daniel Stenberg
185baf036b
NOBODY set TRUE after a POST makes a good HEAD now
2004-06-30 11:09:16 +00:00
Gunter Knauf
fd17cf2e3c
fixed argument parsing; added --setup option.
2004-06-29 13:20:37 +00:00
Daniel Stenberg
0badcf381a
extended to include a cookie with 4998 bytes of content
2004-06-22 21:21:54 +00:00
Gunter Knauf
53189fb2d7
added new --target option for autobuilding other targets than GNU-like.
2004-06-22 20:02:49 +00:00
Daniel Stenberg
38dc548a87
retry to read the sent request a few times if it doesn't exist the first time
2004-06-22 07:09:47 +00:00
Daniel Stenberg
2a701a1aac
modified some logging output
2004-06-22 06:44:14 +00:00
Daniel Stenberg
7291772b1f
added test case 513
2004-06-21 14:08:48 +00:00
Daniel Stenberg
67341c4cbe
when the client disconnects prematurely, dump the request as received thus
...
far
2004-06-21 14:00:11 +00:00
Daniel Stenberg
d7fe136d54
test 177 HTTP POST with --digest that gets a 302 response
2004-06-19 10:10:50 +00:00
Daniel Stenberg
b92e2ab6b1
new daring features, not used by any current test
2004-06-17 08:06:03 +00:00
Daniel Stenberg
0a83fa90bb
skip the pid from the logging
2004-06-15 10:28:56 +00:00
Daniel Stenberg
daeb143177
test 176, use --ntlm and POST when the server doesn't require any auth
2004-06-15 09:20:04 +00:00
Daniel Stenberg
9f752120c0
added test case 175, use HTTP POST and DIGEST set but the server requires no
...
auth
2004-06-15 08:50:15 +00:00
Daniel Stenberg
2ed0728cef
added test 174, HTTP POST --anyauth to server without auth requirements.
...
An attempt to repeat a reported auth problem. Works for me!
2004-06-14 09:16:39 +00:00
Daniel Stenberg
1770563fff
refuse running the torture tests without a debug build
2004-06-14 08:25:54 +00:00
Daniel Stenberg
e99d1e97de
test 173 added: HTTP RFC1867-formpost a file from stdin with "faked" filename
2004-06-04 12:24:47 +00:00
Daniel Stenberg
a8db25f48b
the test targets won't invoke the test suite if curl is built cross-compiled.
...
Pointed out by Chris Gaukroger.
2004-06-03 14:38:07 +00:00
Daniel Stenberg
195d769c4b
corrected to use the proxy user name for proxy auth, as was just bugfixed!
2004-06-03 10:42:53 +00:00
Daniel Stenberg
da6eea9b38
delete trailing whitespace
2004-05-28 09:52:15 +00:00
Daniel Stenberg
fd802db39f
initial support for "uploading" to file:// URLs
2004-05-25 21:47:29 +00:00
Daniel Stenberg
4ed58463f7
better name
2004-05-24 09:01:45 +00:00
Daniel Stenberg
59f904d8de
Robert D. Young reported that CURLOPT_COOKIEFILE and CURLOPT_COOKIE could
...
not be used both in one request. Fixed it and added test case 172 to verify.
2004-05-24 07:13:48 +00:00
Daniel Stenberg
755f98e768
While talking to host a.b.c, libcurl did wrongly not accept cookies that were
...
set to the domain .a.b.c (that is with a dot prefix). This is now fixed and
test case 171 verifies it.
2004-05-21 20:40:15 +00:00
Daniel Stenberg
ff52ba7f7b
NTLM requires SSL
2004-05-19 11:25:21 +00:00
Daniel Stenberg
ca6d430561
added test 170
2004-05-19 10:32:25 +00:00
Daniel Stenberg
91601b3bf4
David Byron's test case with -F that used to crash
2004-05-19 10:31:58 +00:00
Daniel Stenberg
7e186f9a63
just code formatting and killed whitespace
2004-05-19 09:24:18 +00:00
Daniel Stenberg
f39f7c28f0
'make test-torture' in the root now runs a full torture test
2004-05-17 10:54:00 +00:00
Daniel Stenberg
a807065ccc
removed debug output and trailing whitespace
2004-05-17 10:53:34 +00:00
Daniel Stenberg
67532e916c
grrr, fix the check again if no ftp server at all is running
2004-05-17 10:51:51 +00:00
Daniel Stenberg
e11710714c
When waiting for the second connect, we now use alarm to timeout the waiting.
...
This is necessary in case the client never connects or somehow fails to do
it timely. The timeout used now is only 2 seconds, which might cause problems
on really slow hosts but longer times are painful when doing torture testing
on FTP test cases.
I'm not sure how this 'alarm' functionality works on Windows or other systems
that don't actually have the alarm() function.
2004-05-17 08:02:23 +00:00
Daniel Stenberg
5b0bfc298f
improved the check for our own ftp server
2004-05-17 07:59:10 +00:00
Daniel Stenberg
0383f7f19d
modified to not leak memory if a libcurl function returns failure, for better
...
memory leak detection
2004-05-17 07:45:20 +00:00
Daniel Stenberg
eb946690d2
make it not leak memory when it returns prematurely
2004-05-17 06:55:04 +00:00
Daniel Stenberg
e2e593a036
clean up properly on failure to enable easier libcurl leak detection
2004-05-14 09:22:12 +00:00
Daniel Stenberg
4ab0d74250
enable memory debugging the same way the curl command line tool already does
2004-05-14 08:40:33 +00:00
Daniel Stenberg
d1542bf549
made 'runtests.pl -t' run over all the tests just like other command lines
...
Also made -t imply -n to disable valgrind, it runs sloooow otherwise.
This now manages to run all tests OK up to test case 100 (the first FTP one)
for me.
2004-05-13 07:52:33 +00:00
Daniel Stenberg
f42b10242f
revert the accidentally added use of strace
2004-05-11 18:57:03 +00:00
Daniel Stenberg
bbafb2eb27
curl_global_init_mem() allows the memory functions to be replaced.
...
memory.h is included everywhere for this.
2004-05-11 11:30:23 +00:00
Daniel Stenberg
e18d27b78a
James Bursa's adjustments to make the -t option work for any test case.
...
The -t is the "torture" test that first runs the test and counts the number
of allocations performed during it, then it runs the test repeatedly over and
over again and makes alloc number N fail to verify that we detect and return
properly from error cases everywhere.
2004-05-10 09:01:45 +00:00
Daniel Stenberg
135394f511
don't use -i when checking for our own server
2004-05-10 06:29:52 +00:00
Daniel Stenberg
686ba84128
James Bursa's fix to make this deal with malloc(0) as OK to free()
2004-05-07 18:54:09 +00:00
Daniel Stenberg
84b52e92f4
simplied the creation of new urls
2004-05-06 13:29:04 +00:00
Daniel Stenberg
0aa7d11cc9
%ld for long
2004-05-06 13:21:32 +00:00
Daniel Stenberg
933f7cecae
int/long fix
2004-05-06 12:44:08 +00:00
Daniel Stenberg
58387b91f9
printf %s with plain 'char *', not unsigned ones to silence icc's picky
...
warnings
2004-05-06 10:57:07 +00:00
Daniel Stenberg
358b72bb12
fixed typo
2004-05-05 20:12:59 +00:00
Daniel Stenberg
6c408c885a
Temporary disable the logic that runs gdb on a core dump, as it can't blindly
...
assume that the curl file is a proper binary, it is often a script file
produced by libtool.
2004-05-05 14:34:35 +00:00
Daniel Stenberg
69f4dda74a
added a third URL to the torture testing, this one also hangs at some point
...
for a reason I don't know
2004-05-05 06:11:13 +00:00
Daniel Stenberg
fc6eff13b5
General HTTP authentication cleanup and fixes
2004-05-04 07:52:53 +00:00
Daniel Stenberg
98bf69f8f1
improved the name of the test
2004-05-03 14:57:58 +00:00
Daniel Stenberg
6e118ce50f
Display "exit OK" when the exit code has been verified to be OK, and added
...
initial basic valgrind-log scan for memory leaks it could detect.
2004-04-30 10:37:40 +00:00
Daniel Stenberg
e2aaf22d5d
support the new libcurl IDN feature, also a first attempt to display a stack
...
trace if a test results in a 'core' file and gdb is present
2004-04-30 08:03:07 +00:00
Daniel Stenberg
3304589043
idn is a new feature that can be made required for a test
2004-04-30 08:00:42 +00:00
Daniel Stenberg
0247642bb6
added test 166, formpost with white space in file name
2004-04-30 06:46:34 +00:00
Daniel Stenberg
15f9a93c25
include the full size of the sent response in the log
2004-04-30 05:51:37 +00:00
Daniel Stenberg
e99287734b
Gisle fixed the counting of calloc()s
2004-04-29 14:33:19 +00:00
Daniel Stenberg
8349dde0f1
Introducing IDN host name testing. Test case 165 requires an IDN-capable
...
libcurl.
2004-04-29 13:43:04 +00:00
Daniel Stenberg
da91d6ac66
remove newline from matching pattern
2004-04-29 13:31:57 +00:00
Daniel Stenberg
7548115a0e
ignore cnonce lines too as they are based on the current time and will differ
...
from time to time!
2004-04-29 13:24:50 +00:00
Daniel Stenberg
84a322ab23
test 512 does some basic curl_easy_duphandle() testing
2004-04-29 10:57:10 +00:00
Daniel Stenberg
707f217b2d
new test case for a simple curl_easy_duphandle() test
2004-04-29 10:56:22 +00:00
Daniel Stenberg
e6b45a66ec
updated to work with the new Digest code
2004-04-29 10:47:13 +00:00
Daniel Stenberg
2f53da5e7a
make the loop use a fixed number of attempts to prevent eternal loops
2004-04-27 10:59:43 +00:00
Daniel Stenberg
a33c53a36b
Removed the FTPS test cases, they only annoy us as they don't work for anyone
...
anywhere. We need to write a better ftps-server for test purposes and then
we can re-introduced FTPS tests.
2004-04-26 12:04:34 +00:00
Daniel Stenberg
b9432d1296
test164 HTTP range with multiple ranges
2004-04-24 09:33:25 +00:00
Daniel Stenberg
a27072bebb
minor format fix
2004-04-23 08:40:20 +00:00
Daniel Stenberg
47059f45fe
added test 163 - a simple test case that use -F field<file, to verify that
...
we can pass on "odd" characters (newline, CR, tab) like this.
2004-04-23 08:40:11 +00:00
Daniel Stenberg
daced8041d
No longer uses the valgrind option '--logfile-fd', we use the --logfile
...
option instead (even though it appends the pid to the file name, making it
harder to figure out its name to parse it after a test has run).
Also made sure we only use valgrind for the actual test command command lines,
not when for example running curl to detect if there are any already running
servers are present etc.
2004-04-23 08:38:43 +00:00
Daniel Stenberg
42f60ecb36
require SSL as otherwise NTLM doesn't work!
2004-04-23 06:04:52 +00:00
Daniel Stenberg
2ff30d067c
- David Byron found and fixed a small bug with the --fail and authentication
...
stuff added a few weeks ago. Turns out that if you specify --proxy-ntlm and
communicate with a proxy that requires basic authentication, the proxy
properly returns a 407, but the failure detection code doesn't realize it
should give up, so curl returns with exit code 0. Test case 162 verifies
this.
2004-04-22 20:07:41 +00:00
Daniel Stenberg
1d3f76df71
If only a partial file was transfered, we consider that a fatal problem so
...
we won't try to QUIT the control connection and risk "hanging" waiting for
a response. Test case 161 verifies this. The quit-sending function was
also made static.
2004-04-22 13:09:00 +00:00
Daniel Stenberg
4dc9179f4b
modified how valgrind is run to make sure that file handle 3 exists when
...
we tell valgrind to use that to send the logfile to
2004-04-22 10:33:55 +00:00
Daniel Stenberg
e373f1fd73
log the WAIT command
2004-04-21 06:56:54 +00:00
Daniel Stenberg
0e31d41d4e
test160 - for a more controlled testing of the case where libcurl starts
...
to re-use a connection that is closed when re-used and libcurl should then
make a new fresh connection and use instead
2004-04-20 08:35:37 +00:00
Daniel Stenberg
760cecac8d
make the first response get a "connection: close" header as that is how
...
most 1.1 connections will be closed. The case where it gets closed anyway
is subject for a new separate test.
2004-04-20 07:36:09 +00:00
Daniel Stenberg
6f8b4395ec
changed the logging to work when the logfile is removed during testing
2004-04-19 15:20:30 +00:00
Daniel Stenberg
5506f8767c
Make the server include "Connection: close" in the headers of the replies
...
it actually will close. This is after all what HTTP 1.1 says a server should
do.
2004-04-19 08:41:36 +00:00
Daniel Stenberg
25e98179be
Gisle Vanem: patches to make sws.c compile under MingW/MSVC is
...
attached. And some cosmetic fixes.
2004-04-17 11:38:41 +00:00
Daniel Stenberg
4661cc7403
don't display the . and .. files when dumping the log/ contents
2004-04-16 07:02:17 +00:00
Daniel Stenberg
bc11929395
remade the logging function to better deal with removed logfiles during
...
the execution of the tests
2004-04-16 07:01:47 +00:00
Daniel Stenberg
43f8a1f5de
change the log format to look similar to sws
...
added various logging info
2004-04-15 13:55:37 +00:00
Daniel Stenberg
f57efa1899
clean the log directory between each single test, so that we can better
...
display all logs and only logs with relevant data when a test fails and -p
is used.
2004-04-15 13:37:19 +00:00
Daniel Stenberg
4f84e6d9e2
removed the fixed dir depth limit in the FTP code
2004-04-15 07:52:39 +00:00
Daniel Stenberg
bf6e1053cf
display interesting log files on failure, if -p is used
2004-04-14 07:04:45 +00:00
Daniel Stenberg
c3dd928e29
enable verbose as well
2004-04-14 06:53:34 +00:00
Daniel Stenberg
aba6c2b89d
Added test case 511 in an attempt to repeat bug report #934666 "storage leak
...
in ftp.c", but it shows no leaking.
2004-04-14 06:30:37 +00:00
Daniel Stenberg
79aaa85a51
full-test passes -p to runtests as well to get more details in case of failure
2004-04-13 05:58:19 +00:00
Daniel Stenberg
392a543eff
Initial support for dumping the contents of the files in log/ when failing
...
when -p is used. For easier bug-hunting of autobuild failures. This still
only shows what files that are present in log/, as I believe we need to
filter which files we show on a failure.
2004-04-13 05:57:50 +00:00
Daniel Stenberg
1e9cb272f1
added test 159, use --ntlm together with -0
2004-04-07 15:01:11 +00:00
Daniel Stenberg
72b1144b8c
getting only a 100 Continue response and nothing else, when talking HTTP,
...
is now treated as an error by libcurl
2004-04-07 14:27:54 +00:00
Daniel Stenberg
a7fd6f9007
require ssl since ntlm needs it
2004-04-06 15:16:07 +00:00
Daniel Stenberg
8ed44e8dfb
New authentication code added, particularly noticable when doing POST or PUT
...
with Digest or NTLM. libcurl will now use HEAD to negotiate the authentication
and when done perform the requested POST.
2004-04-06 15:14:10 +00:00
Daniel Stenberg
a56164c8e0
added swsbounce
2004-03-31 12:24:08 +00:00
Daniel Stenberg
75d66b9c62
test 153 tests Digest authorization and stale=true stuff
2004-03-31 11:51:21 +00:00
Daniel Stenberg
2ff9f55001
Added "swsbounce" magic: if this keyword is present in a <data> section it
...
sets the "swsbounce" magic mode. If there follows a request for the SAME
test number and the SAME part number, this mode will make the server bump
the part number internally and thus return a different <dataNUM> section
than it otherwise would.
Test case 153 uses this in case you need an example. It is pretty involved
and hard-to-use, but then the situation is pretty special over all. Enjoy.
2004-03-31 11:50:44 +00:00
Daniel Stenberg
dd2add82ee
Fixed how the user name is extracted from http_proxy environment variable
...
when set.
2004-03-31 10:46:06 +00:00
Daniel Stenberg
a90cd1a45c
David Byron's new test cases for the --fail and auth stuff.
2004-03-30 06:41:33 +00:00
Daniel Stenberg
5e92b2906b
All test targets now run 'make all' before they prcoeed with the actual
...
testing so that all test files are build first properly. David Byron reported.
2004-03-29 12:38:41 +00:00
Daniel Stenberg
712d0374f7
fix to figure out the "real" windows path when built and run with mingw
...
Andrs Garca helped out!
2004-03-29 09:26:31 +00:00
Daniel Stenberg
f28389c87b
Tor Arntsen fixed how this is invoked
2004-03-25 12:16:42 +00:00
Daniel Stenberg
50b0e72f7b
detect daily snapshots using the new path for this test
2004-03-25 11:39:29 +00:00
Daniel Stenberg
5d8ec172a6
invoke this script via env, as it is more likely to exist at a fixed path
...
while perl often is installed in /usr/local/bin or elsewhere
2004-03-25 08:22:03 +00:00
Daniel Stenberg
0d6d9af7ab
Tor Arntsen's mkdir-fix to make this run with perl 5.0005
2004-03-24 21:28:31 +00:00
Daniel Stenberg
41cd36b830
Avoid doing chdir .., as it breaks the ability to use symlinks properly.
...
chdir to absolute directory names instead. (this flaw exists in the shell
version too)
2004-03-24 10:52:21 +00:00
Daniel Stenberg
5947e4e9fd
distribute testcurl.pl too starting now
2004-03-23 16:11:01 +00:00
Daniel Stenberg
e992aa6a54
Greg Hewgill's version of testcurl.sh rewritten in perl for greater
...
portability. I put it in this directory instead of the root since I think
perhaps it makes more sense.
2004-03-23 16:07:02 +00:00
Daniel Stenberg
0fd88d7c8f
minor variable type cleanups
2004-03-23 08:50:28 +00:00
Daniel Stenberg
4e84ac4db8
minor edits to make picky compilers whine less
2004-03-23 08:46:08 +00:00
Daniel Stenberg
dd1ba7633e
Enabled 'NT responses' in the NTLM type-3 message.
2004-03-22 13:50:30 +00:00
Daniel Stenberg
f8ff0f6bef
minor variable type fix
2004-03-12 12:05:33 +00:00
Daniel Stenberg
93f96835f8
use size_t for string lengths
2004-03-10 08:12:09 +00:00
Daniel Stenberg
dad0715d79
Added -I$(top_srcdir)/include, since lib/setup.h might include files from
...
the external curl include dir.
2004-03-09 21:49:46 +00:00
Daniel Stenberg
8cbfe5d24a
Andrs Garca-fix to make it build with mingw
2004-03-09 08:38:25 +00:00
Daniel Stenberg
498666bdc3
issue 12 fix
2004-03-05 12:54:18 +00:00
Daniel Stenberg
2cd6403011
Major rewrite of the test HTTP server to allow more fancy features to make
...
better tests with the issue12-patch applied.
This change also includes Andrs Garca's win32-fixes.
Made the logging look better/more readable in sws.log
2004-03-05 08:32:11 +00:00
Daniel Stenberg
87a1c7033e
removed include stuff now handled by test.h
2004-03-03 10:09:30 +00:00
Daniel Stenberg
6e3fa90c9e
We let this file include more generic headers that many libtests need anyway
...
to reduce the amount of #include stuff in each single libNNN.c file.
unistd.h was added to prevent select() warnings on FreeBSD
2004-03-03 10:09:16 +00:00
Daniel Stenberg
b0c51d198c
large_file is a new feature we can require for a specific test
2004-03-01 16:25:24 +00:00
Daniel Stenberg
71335e5b99
support 'large_file' as a feature to require for specific tests (such as
...
test 99)
2004-03-01 16:24:54 +00:00
Daniel Stenberg
d6eb28400b
added test 99, very basic initial large file test
2004-03-01 16:18:40 +00:00
Daniel Stenberg
78f52c05a9
Report the correct size when 'verifiedserver' is requested.
2004-03-01 07:16:45 +00:00
Daniel Stenberg
77268e0649
Joe Halpin made the FTP code send 'QUIT' on the control connection before
...
it disconnects the TCP connection, like a good ftp client should!
2004-02-27 07:08:37 +00:00
Daniel Stenberg
1ceb77b4dc
we need to hide this warning since it otherwise appears on all verifiedserver
...
requests to the ftp server!
2004-02-26 22:56:32 +00:00
Daniel Stenberg
3430ce7907
Kill the server when this test is done, as other FTP-tests sometimes
...
have problems otherwise.
2004-02-26 22:40:33 +00:00
Daniel Stenberg
9b6350d0b0
adjusted to work with the modified fopen() line and the new calloc line
2004-02-26 14:53:17 +00:00
Daniel Stenberg
38b6016dfa
added the ever-present source header
2004-02-26 11:46:17 +00:00
Daniel Stenberg
4427d91479
runtests.pl now provides the srcdir to the ftpserver so that it can pass
...
that to loadtest properly.
2004-02-26 09:19:59 +00:00
Daniel Stenberg
0c03ed6013
modified loadtest() to produce better error message when it fails to load
...
a test file
2004-02-26 09:19:16 +00:00
Daniel Stenberg
b2cff76722
typecast to int when printfing CURLcode
2004-02-25 15:43:15 +00:00
Daniel Stenberg
8777ba7e42
include sys/select.h to prevent picky compiler warnings when using select()
...
without proto
2004-02-20 08:51:43 +00:00
Daniel Stenberg
236337ce86
fix protos to prevent warnings
2004-02-20 07:19:18 +00:00
Daniel Stenberg
224ccc780a
added getpart.h for the spitout() proto
2004-02-20 07:19:01 +00:00
Daniel Stenberg
ccde85d198
%HTTPPORT supported in subVariables
2004-02-20 07:14:58 +00:00
Daniel Stenberg
9e7657d6ed
mention what ports the test suite uses
2004-02-20 07:05:10 +00:00
Daniel Stenberg
7ac455fca3
When trying to see if there's a friendly http server on "our" port, we
...
only accept return code 7 to indicate that there's no server present.
2004-02-20 06:59:17 +00:00
Daniel Stenberg
8794cb286b
refer to FILEFORMAT
2004-02-19 21:21:12 +00:00
Daniel Stenberg
7729c63be0
fixed the no-ssl version to return int as well
2004-02-19 15:39:06 +00:00
Daniel Stenberg
eebcf90942
provide protos to the functions to prevent warnings
2004-02-19 13:03:04 +00:00
Daniel Stenberg
fa8ecd3d53
typecast the type to an int on return
2004-02-19 13:00:33 +00:00
Daniel Stenberg
134cb66129
return int from test()
2004-02-19 13:00:05 +00:00
Daniel Stenberg
349a15b089
provide a test() proto
2004-02-19 12:59:57 +00:00
Daniel Stenberg
debbcf81bb
ignore more
2004-02-17 07:57:31 +00:00
Daniel Stenberg
12b71e422f
return an int
2004-02-13 12:18:34 +00:00
Daniel Stenberg
d25a0a1bc8
return an int, not a CURLcode
2004-02-13 12:17:42 +00:00
Daniel Stenberg
372b141d5b
make the path const
2004-02-13 07:05:15 +00:00
Daniel Stenberg
199b2f4602
no need to run make test in the data dir anymore
2004-02-12 14:43:13 +00:00
Daniel Stenberg
49ab1d914c
provide a source path to the servers to make them find the tests when run
...
outside the source dir, not needing any symlinks
2004-02-12 14:40:08 +00:00
Daniel Stenberg
f9a6e7b68d
stop doing the weirdo symlinks
2004-02-12 14:39:28 +00:00
Daniel Stenberg
93e32e6f62
Modified the default HTTP Accept: header to only be Accept: */*
2004-02-09 12:46:41 +00:00
Daniel Stenberg
f8a5ec1380
Removed, this was only used to work out what went wrong with test 91, and
...
we seem to have nailed that one now!
2004-02-09 11:41:07 +00:00
Daniel Stenberg
b440c6638f
return 'res' to better discover test failures and to stop compiler warnings
...
about it never being used
2004-02-09 08:28:00 +00:00
Daniel Stenberg
648c5b05c0
Uninitialized variable set.
2004-02-09 08:25:48 +00:00
Daniel Stenberg
d292088a83
added the missing stdin section
2004-02-05 21:51:45 +00:00
Daniel Stenberg
e97ce57d0b
Made a test that sends data on stdin to PUT, with a given length and
...
chunked transfer-encoding disabled. Fixed to work after Len Krause's
bug report.
2004-02-05 15:21:46 +00:00
Daniel Stenberg
a5c4442ebf
changed the test() function to return type int
2004-02-05 12:34:17 +00:00
Daniel Stenberg
b6592e29a4
added test 97, a simple test with -d post and a replacede content-type
...
header using -H
2004-02-02 07:13:29 +00:00
Daniel Stenberg
f385b1976e
when we receive a request overflow, we still dump the incoming request to
...
the dump file to make it easier to understand and debug the situation
2004-01-30 09:27:27 +00:00
Daniel Stenberg
3d99b566a6
added lib510.c for callback POST using chunked encoding
2004-01-30 09:26:23 +00:00
Daniel Stenberg
99a3e2d769
added test 510, callback-based POST using chunked encoding
2004-01-30 09:25:45 +00:00
Daniel Stenberg
9b24c9a754
adjusted to the corrected chunked transfer-encoding extra trailing CRLF
2004-01-29 07:43:56 +00:00
Daniel Stenberg
958987c214
Chunked-transfers should have an additional CRLF after the final 0 CRLF
...
sequence.
2004-01-28 17:07:22 +00:00
Daniel Stenberg
ed75842df0
added the extra newline that this needs to succeed
2004-01-28 17:03:49 +00:00
Daniel Stenberg
f35398e414
send a connection: close in the initial reply to see if things differ
2004-01-27 13:35:55 +00:00
Daniel Stenberg
dc932f739a
CONNECT response headers are now passed back as "regular" headers
2004-01-27 12:54:22 +00:00
Daniel Stenberg
68826c25f8
removed Basic in the initial response to see if it makes any difference
...
in the failure frequency
2004-01-21 08:51:54 +00:00
Daniel Stenberg
60787171c7
added this test, this is basicly a copy of test 91 but we return the first
...
response with a size 5 instead of size 0, to see if this has an impact on
the failure frequency - test 91 still fails occationally.
2004-01-16 12:40:42 +00:00
Daniel Stenberg
80ef1bad86
removed unused stuff
2004-01-16 06:50:41 +00:00
Daniel Stenberg
4a4295290d
we no longer distribute the non-working tests 400 - 403
2004-01-13 13:34:10 +00:00
Daniel Stenberg
3c1bb36193
use the *correct* header!
2004-01-13 08:57:01 +00:00
Daniel Stenberg
90be1d157e
modified the TODO, we already do persistant tests
2004-01-13 07:39:42 +00:00
Daniel Stenberg
8433068f3a
added our standard header
2004-01-13 07:38:26 +00:00
Daniel Stenberg
e043cf22e2
added standard source header
2004-01-13 07:37:29 +00:00
Daniel Stenberg
206039cb76
fix the include path to point to the libcurl's source dir too for the setup.h
...
inclusion
2004-01-13 07:36:13 +00:00
Daniel Stenberg
4ba05e1128
include setup.h from the lib dir instead to get even more private stuff
...
from the libcurl build, but right now for the USE_SSLEAY define.
2004-01-13 07:35:28 +00:00
Daniel Stenberg
3a61c98b65
Peter Sylvester brought code that now allows a callback to modified the URL
...
even when the multi interface is used, and then libcurl will simulate a
"follow location" to that new URL. Test 509 was added to test this feature.
2004-01-12 15:26:32 +00:00
Daniel Stenberg
b291bbc9a6
better skip reasons, longer waiting for startup of servers (due to slow/loaded
...
host), added retrying/waiting for slow stunnel startups
2004-01-12 14:34:48 +00:00
Daniel Stenberg
053f6c85ef
updated year in the copyright string
2004-01-07 09:19:33 +00:00
Daniel Stenberg
b60e0fa97e
David J Meyer's large file support.
2004-01-05 22:29:29 +00:00
Daniel Stenberg
a3ad4295c9
Check the error code AFTER the protocol and data. Only changed to perhaps
...
get some further input on the notorious test case 91 failures!
2003-12-17 15:33:04 +00:00
Daniel Stenberg
989ec98ebd
modified and corrected test 506
2003-12-16 09:49:36 +00:00
Daniel Stenberg
1d85f950bf
test 95 added, verifies my fix for bug report #848371
2003-11-25 09:06:33 +00:00
Daniel Stenberg
b3803903d1
requires a SSL-capable client
2003-11-25 08:44:48 +00:00
Daniel Stenberg
50e690f2dd
test proxy CONNECT requiring basic auth but we don't provide any
2003-11-24 16:17:18 +00:00
Daniel Stenberg
2f9f843e8a
new way to trick sws to return special data on CONNECT
2003-11-24 16:12:41 +00:00
Daniel Stenberg
dac045029a
disable ftps-tests for now, we must make them work with the updated ftps
...
functionality
2003-11-24 07:17:16 +00:00
Daniel Stenberg
2769f3b245
request a file over proxy without credentials, and get a 407 back
2003-11-20 09:52:48 +00:00
Daniel Stenberg
b9d3c71178
-n disables valgrind now
2003-11-13 10:05:44 +00:00
Daniel Stenberg
527850928d
Define TRUE and FALSE unless already present. I've moved away those
...
definitions from the global curl header and thus this needs to do it
themselves.
2003-11-06 13:07:54 +00:00
Daniel Stenberg
f023b4cc79
back to GMT again
2003-10-31 21:37:03 +00:00
Daniel Stenberg
decdb93ccb
my own system had a bad valgrind, so check that it works at least somewhat
...
before we use it
2003-10-31 21:34:39 +00:00
Daniel Stenberg
5554f1ccba
updated for the cut off GMT string
2003-10-30 09:06:52 +00:00
Daniel Stenberg
41535eaea9
only use siginterrupt() if it really exists on the platform
2003-10-30 07:32:04 +00:00
Daniel Stenberg
0334509754
Stop using stunnel.pm, we pass in the path from the main script instead.
...
Also made it easier to stop the test suite with control-c.
2003-10-29 16:27:43 +00:00
Daniel Stenberg
e9c835ad06
David Hull made the file: URL parser also accept the somewhat sloppy file
...
syntax: file:/path. I added test case 203 to verify this.
2003-10-29 09:53:21 +00:00
Daniel Stenberg
0701b973df
stunnel.pm is no more
2003-10-29 09:13:53 +00:00
Daniel Stenberg
ec59aa259f
stunnel.pm is removed
2003-10-29 09:13:36 +00:00
Daniel Stenberg
ffc6d062d8
now check for and use valgrind, inserted and modified the check for stunnel
...
and we no longer use the stunnel.pm
2003-10-29 09:12:47 +00:00
Daniel Stenberg
757a7d0851
removed, functionality added to runtests.pl
2003-10-29 09:12:09 +00:00
Daniel Stenberg
ba12c5deda
slightly quieter torture test by default
2003-10-27 06:40:48 +00:00
Daniel Stenberg
245ab7c796
avoid dependence on the order of the fields in the timeval struct, pointed out
...
by Gisle Vanem
2003-10-25 06:03:50 +00:00
Daniel Stenberg
f991a69cce
tests the new -C - fix
2003-10-24 21:58:43 +00:00
Daniel Stenberg
da0b380655
don't select() forever, set a timeout so at least the test fails nice
2003-10-24 20:58:34 +00:00
Daniel Stenberg
ed7ac3c932
better name, it isn't https
2003-10-24 20:39:39 +00:00
Daniel Stenberg
d46afd2b6a
make it work with Negotiate support enabled too
2003-10-24 20:21:01 +00:00
Daniel Stenberg
faabd44658
improved the torture testing
2003-10-24 13:00:19 +00:00
Daniel Stenberg
2fe5f5ab4b
supports -l now to display the actual line that was prevented by memlimit
2003-10-24 12:59:58 +00:00
Daniel Stenberg
b53a5e92c0
Introducing -t to "torture" the memory allocations/failing/bail-outing in
...
curl and libcurl. -t is not used anywhere automated yet, and it does already
identify memory leaks on failed allocations. Work to do.
2003-10-24 08:53:59 +00:00
Daniel Stenberg
69bdb82586
produce a single summary of the amount of allocations on -v
2003-10-24 08:09:33 +00:00
Daniel Stenberg
db074518c3
allow gdb to check the libtest dir for sources too (for the 500- tests)
2003-10-22 12:46:45 +00:00
Daniel Stenberg
475166fc8b
Modified to be able to repeat Kevin Roth's problem
2003-10-22 11:12:30 +00:00
Daniel Stenberg
294adcae9d
modified test 91 to look more like Kevin Roth's error case
2003-10-21 14:08:16 +00:00
Daniel Stenberg
1fd16e7b04
test case 91 added, an attempt to repeat a problem reported by Kevin Roth
...
on Oct 20, 2003.
2003-10-21 06:56:51 +00:00
Daniel Stenberg
d70550f949
finally we support >128 letter passwords so this test was fixed to work
2003-10-17 09:28:32 +00:00
Daniel Stenberg
022996e5c7
Dirk Manske made the share-locking around DNS lookups a bit "looser" so that
...
multiple DNS lookups can run simultaneously faster. The downside is that
resolving the same host name now can be made at once from multiple threads,
but the upside is that threads now don't alwys have to wait for the others'
resolves. Test case 506 updated accordingly.
2003-10-12 13:57:41 +00:00
Daniel Stenberg
c29740f0d8
portability fix by using setup.h from the lib directory
2003-10-09 08:12:43 +00:00
Daniel Stenberg
af19ff51e6
not used anymore
2003-10-09 08:08:48 +00:00
Daniel Stenberg
f52534522c
test case 508 added to test callback-based POST
2003-10-07 14:43:48 +00:00
Daniel Stenberg
fcacd38036
Test 90 added: --anyauth that picks NTLM with a redirect and then another
...
NTLM request.
2003-09-15 22:29:41 +00:00
Daniel Stenberg
c4aca23ec4
minor difference in how the part number magic is made
2003-09-15 21:43:03 +00:00
Daniel Stenberg
20943292ff
make the NTLM part numbers get increased instead of plainly assigned, as
...
this then makes redirection tests work (as the new test 89)
2003-09-15 21:42:46 +00:00
Daniel Stenberg
b2ddfb54a7
test 89 verifies -L and ntlm authentication, as bug report #806328 claimed
...
it doesn't work. It works for me.
2003-09-15 21:41:45 +00:00
Daniel Stenberg
76b9631d03
test88, doing PUT with --digest now works
2003-09-15 21:11:47 +00:00
Daniel Stenberg
84bc46ac3b
When people have environment variables set for protocol proxies, we must make
...
sure to clear them before we run the tests as they interfere badly otherwise.
2003-09-12 15:41:14 +00:00
Daniel Stenberg
f193ab4b59
Peter Pentchev found two problems. One realloc problem that could allocate
...
too little data, and one case of not zero-terminating the returned string.
I chose a slightly different patch than the one Peter provided.
2003-09-03 15:37:30 +00:00
Daniel Stenberg
e92b7c73bc
test case 149 is here
2003-08-19 23:38:19 +00:00
Daniel Stenberg
0ea74e3255
switch off globbing to enable [] in file names for -T
2003-08-19 23:38:10 +00:00
Daniel Stenberg
3bd52e3cb1
check the upload
2003-08-19 23:37:40 +00:00
Daniel Stenberg
c7f9c51fe6
teste multiple uploads in one command line
2003-08-19 23:36:22 +00:00
Daniel Stenberg
3a5a6038e7
better ignore pattern
2003-08-19 09:38:49 +00:00
Daniel Stenberg
d412724598
test507 for multi with bad host name
2003-08-19 09:37:28 +00:00
Daniel Stenberg
f95de76789
test507 added
2003-08-19 09:36:47 +00:00
Daniel Stenberg
3974c02bb1
supprt for the new memlimit stuff
2003-08-14 22:38:03 +00:00
Daniel Stenberg
b352ffca15
test87 verifies the new and better check for bad -o #[num] stuff
2003-08-14 13:37:32 +00:00
Daniel Stenberg
2d94856efd
ignore the .pid files
2003-08-14 13:01:07 +00:00
Daniel Stenberg
ae66bd1284
ignore lib506 too
2003-08-14 13:00:34 +00:00
Daniel Stenberg
89d9d4e6c8
better report on why tests are skipped, and also show a count of the amount
...
of test cases that were "considered".
2003-08-14 12:59:54 +00:00
Daniel Stenberg
beaea8cb25
corrected this test case
2003-08-14 11:51:22 +00:00
Daniel Stenberg
409ec90c85
test urlglobbing range requests
2003-08-14 11:50:58 +00:00
Daniel Stenberg
4d423eeabe
test86 added
2003-08-14 11:50:40 +00:00
Daniel Stenberg
019e612225
David Byron's fix that makes this script use 'cygpath' instead of 'pwd' if
...
this runs on windows, to find out the current working directory.
2003-08-12 21:18:39 +00:00
Daniel Stenberg
b933639222
more auth tests
2003-08-12 08:19:23 +00:00
Daniel Stenberg
2f17615790
forgot the backslash
2003-08-11 12:26:18 +00:00
Daniel Stenberg
fdf0c443c3
81 + 82 test NTLM proxy stuff
2003-08-11 12:23:33 +00:00
Daniel Stenberg
d873ba8c9f
added test80
2003-08-11 11:09:26 +00:00
Daniel Stenberg
8093338f39
tunnel through proxy, with both proxy and regular authentication
2003-08-11 11:09:03 +00:00
Daniel Stenberg
a2b2d4cd5c
added test 79, a basic test that fetches an FTP URL over a HTTP proxy
2003-08-11 10:12:35 +00:00
Daniel Stenberg
26f5c53be8
test case 506 added, written by Dirk Manske
2003-08-11 06:44:46 +00:00
Daniel Stenberg
12e78a082e
Gisle Vanem fixed a single-byte overflow
2003-08-08 17:18:21 +00:00
Daniel Stenberg
6e4658c89d
ftp-create-dirs test when MKD fails
2003-08-08 10:32:08 +00:00
Daniel Stenberg
2077e9365a
--ftp-create-dirs test
2003-08-08 10:23:46 +00:00
Daniel Stenberg
6e3adc9b14
Support COUNT in the control file, to set the number of times the custom
...
REPLY is to be sent back before getting blanked and reverted to the built-in
action. Now, we can make CWD fail once and then succeed when retried.
2003-08-08 10:21:47 +00:00
Daniel Stenberg
a9afe6aa84
new -z tests
2003-08-08 08:13:11 +00:00
Daniel Stenberg
9e81fd5703
added CLEANFILES to make distcheck run fine
2003-08-07 14:14:54 +00:00
Daniel Stenberg
6800c45104
fixed syntax error
2003-08-06 23:56:24 +00:00
Daniel Stenberg
bf9a138276
more tests
2003-08-06 23:45:59 +00:00
Daniel Stenberg
b3f9c636b9
new urlglob test
2003-08-06 23:10:58 +00:00
Daniel Stenberg
18975d44a6
minor cleanup
2003-08-06 23:10:36 +00:00
Daniel Stenberg
b201db5cec
explain more how the test case number awareness is sent to the test server(s)
2003-08-06 22:47:55 +00:00
Daniel Stenberg
665a7a3848
505 was missing
2003-08-06 13:49:20 +00:00
Daniel Stenberg
b9fdf3cc3b
added test 146 for a ftp persitency test, as reported on the list
2003-08-05 13:00:00 +00:00
Daniel Stenberg
c462601362
persistant connection test
2003-08-05 12:59:23 +00:00
Daniel Stenberg
c04ce95106
cleaned up after David Byron's comment on the libcurl list, aug 5 2003
2003-08-04 23:13:39 +00:00
Daniel Stenberg
fdda786fa2
added test 73
2003-08-04 22:58:06 +00:00
Daniel Stenberg
831be4f4dd
Verifies Jan Sundin's cookie bug, dated aug 4 2003.
2003-08-04 22:57:58 +00:00
Daniel Stenberg
3270ea55dd
updated as the second proxy-auth header was a proof of a serious info leak
...
bug!!
2003-08-02 23:35:59 +00:00
Daniel Stenberg
2d41b735ec
updated to match the recent ftp patch that makes it check for resumability
2003-07-30 07:52:02 +00:00
Daniel Stenberg
2fbe61960f
Digest *OR* Basic authorization test
2003-07-28 22:17:37 +00:00
Daniel Stenberg
1361fc69b9
updated to the new ftp dir parsing code that allows a preceeding double
...
slash
2003-07-28 09:02:15 +00:00
Daniel Stenberg
9301bc3444
use the correct 'test71' file name for the temp file
2003-07-28 08:23:46 +00:00
Daniel Stenberg
76352c4e2d
got a bug report on -F in config files, so I wrote up this test to verify
...
that is works... and it did! ;-)
2003-07-28 08:21:07 +00:00
Daniel Stenberg
cefc8ba938
CURLDEBUG is the symbol now
2003-07-22 09:57:09 +00:00
Daniel Stenberg
968234e6ae
the fixed skip-blanks in the FTP CWD code called for this adjustment
2003-07-20 00:19:44 +00:00
Daniel Stenberg
c50a601f1a
modified to work fine with the new persistant connection working test suite
...
HTTP server
2003-07-19 23:57:08 +00:00
Daniel Stenberg
bc0fd6db71
swsclose added
2003-07-19 23:56:44 +00:00
Daniel Stenberg
5ef6520d4e
fixed the CONNECT thing again
2003-07-19 23:54:15 +00:00
Daniel Stenberg
2c1925161e
If the data contents contains the word 'swsclose', then this server will
...
disconnect the client after the response have been sent. This also happens
if the respons is zero byte long.
In all other cases (unless an error happens), it will now maintain the
connection to allow proper persistant connection testing. This was required
for the NTLM testing to work so I finally had to fix this. Of course most of
the existing HTTP tests will be adjusted to work with this new rule of test
file syntax for HTTP tests.
Also fixed the log function to deal with varargs for better logging.
2003-07-19 23:44:22 +00:00
Daniel Stenberg
634aef3895
updated to work with Dan Winship's NTLM domain stuff fix
2003-07-15 23:38:06 +00:00
Daniel Stenberg
449e5bc2ad
CURLDEBUG not MALLOCDEBUG anymore
2003-07-04 16:37:16 +00:00
Daniel Stenberg
8736c11d84
adjusted to the NTLM updates
2003-07-04 16:36:31 +00:00
Daniel Stenberg
7968e3c2de
David Byron's patch that allows a client to make the server quit with a
...
magic url.
2003-07-01 15:21:42 +00:00
Daniel Stenberg
79144eba99
new tests
2003-06-26 11:45:04 +00:00
Daniel Stenberg
26e17d89c9
produce a skip-report at the end of all tests, and thus record and count
...
them properly
2003-06-26 11:44:01 +00:00
Daniel Stenberg
9aae16c236
stdout is good enough
2003-06-13 09:09:04 +00:00
Daniel Stenberg
80c194a70a
work more on pids, less on pidfiles to be able to do better kills at the
...
end of the test where the pidfiles aren't found, but "our" server is running
2003-06-13 09:04:08 +00:00
Daniel Stenberg
c832b2db5b
fixed NTLM test 67, added test 68 for bad NTLM name/password
2003-06-13 08:03:45 +00:00
Daniel Stenberg
c78df56801
get and use only the first line of the curl --version output
2003-06-12 23:05:12 +00:00
Daniel Stenberg
e58f30b82a
NTLM test case
2003-06-12 16:39:35 +00:00
Daniel Stenberg
654e3f1101
require the netrc_debug feature the same way we now can require SSL
...
present client-side
2003-06-12 16:38:14 +00:00
Daniel Stenberg
86689dc524
now test cases can be set to be dependent on the presence of "SSL" in the
...
client/library
2003-06-12 16:22:52 +00:00
Daniel Stenberg
55f75af353
describe the NTLM mechanism too
2003-06-11 13:44:58 +00:00
Daniel Stenberg
fb6a51b8fd
basic NTLM support
2003-06-11 13:44:31 +00:00
Daniel Stenberg
6ff5621dd7
more generic
2003-06-10 12:05:12 +00:00
Daniel Stenberg
bc942de6f1
Content-Length: now overrides other means of knowing when the stream has
...
ended.
2003-06-03 07:53:18 +00:00
Daniel Stenberg
4f136a3a76
the 500-599 test case range
2003-06-02 14:48:27 +00:00
Daniel Stenberg
1e14da5c60
more ftp testing using NLST and no contents and bad return code
2003-05-23 11:10:35 +00:00
Daniel Stenberg
f488874ff5
test 66 returns one line of data with no header (HTTP)
2003-05-23 09:46:19 +00:00
Daniel Stenberg
e912f772e0
Document the <dataNUM> thing we use,
2003-05-22 22:37:00 +00:00
Daniel Stenberg
0102726aeb
Digest support added
2003-05-22 22:36:39 +00:00
Daniel Stenberg
1e7aa04040
Digest testing added
2003-05-22 22:36:22 +00:00
Daniel Stenberg
e9154b2549
the proxy environment variables now may contain user name and password
2003-05-19 13:09:41 +00:00
Daniel Stenberg
d398a0dd58
remove debug output
2003-05-19 13:08:48 +00:00
Daniel Stenberg
7723a24297
setenv support added to allow test cases to require a set of environment
...
variables
2003-05-19 13:06:10 +00:00
Daniel Stenberg
aa7420e109
send correct cookies when using a custom Host:
2003-05-02 09:12:26 +00:00
Daniel Stenberg
a290d4b9db
fixed the format slightly
2003-05-02 09:11:53 +00:00
Daniel Stenberg
d166e85e0a
FTP URL with type=a
2003-05-01 17:48:59 +00:00
Daniel Stenberg
078441d477
the test numbers are now only for human readability, the numbers no longer
...
enforces protocol/server
2003-04-30 20:29:31 +00:00
Daniel Stenberg
95f6b15a67
no longer assume that the test number implies servers to run
2003-04-30 20:28:49 +00:00
Daniel Stenberg
ee29dbdb8f
Each test case now specifies which server(s) it needs, without relying on the
...
test number.
2003-04-30 20:25:39 +00:00
Daniel Stenberg
15f3f4c93f
we say welcome to test 142
2003-04-30 20:08:01 +00:00
Daniel Stenberg
6932e94e0e
verify that curl fails fine when an FTP URL with a too deep dir hierarchy
...
is used
2003-04-30 20:07:37 +00:00
Daniel Stenberg
37d1e9351e
ok, make the test run ok too
2003-04-30 19:56:53 +00:00
Daniel Stenberg
4494c0dee0
various new cookie tests with a custom Host: header set
2003-04-30 19:49:51 +00:00
Daniel Stenberg
26afc604ac
modified to work with modified code
2003-04-30 17:16:25 +00:00
Daniel Stenberg
9aefcada19
modified to produce nicer output when a single test fails
2003-04-30 17:15:38 +00:00
Daniel Stenberg
69fc363760
make the diffs with 'diff -u' to make them nicer and easier to read
2003-04-30 17:15:00 +00:00
Daniel Stenberg
208374bcc9
Bryan Kemp's reported problems with curl and PUT from stdin and a faked
...
content-length made me add test case 60, that does exactly this, but it
seems to run fine...
2003-04-23 12:09:58 +00:00
Daniel Stenberg
9a12db1aa2
typecast the setting of the size, as it might be an off_t which is bigger
...
than long and libcurl expects a long...
2003-04-15 14:18:37 +00:00
Daniel Stenberg
4b1203d4c9
include config.h before all system headers, so that _FILE_OFFSET_BITS and
...
similar is set properly by us first
2003-04-15 13:32:26 +00:00
Daniel Stenberg
f7c5b28e76
verify the new url parser fix
2003-04-11 16:22:27 +00:00
Daniel Stenberg
c8ecbda40b
new ftp tests
2003-04-10 11:43:47 +00:00
Daniel Stenberg
072070a22c
oops, committed test code not meant to be here
2003-04-09 12:02:06 +00:00
Daniel Stenberg
136670c58a
three new ftp tests
2003-04-09 11:55:24 +00:00
Daniel Stenberg
28169725fa
<mdtm> added
2003-04-09 11:53:09 +00:00
Daniel Stenberg
5b13106f54
MDTM support added
2003-04-09 11:52:24 +00:00
Daniel Stenberg
7fd91d70bd
adjusted the formpost testcases to the new boundary string construction
2003-04-04 12:30:35 +00:00
Daniel Stenberg
df7bbcfd21
Added log output for when the writing of the input HTTP request is successful
...
or unsuccessful. Used to track down the recent cygwin test suite problems.
2003-04-03 13:43:15 +00:00
Daniel Stenberg
021d406f0c
Modified how we log data to server.input, as we can't keep the file open
...
very much as it makes it troublesome on certain operating systems.
2003-04-03 13:42:06 +00:00
Daniel Stenberg
294569c502
new
2003-04-03 13:39:36 +00:00
Daniel Stenberg
827fd47198
documented the new killserver tag
2003-04-01 08:43:09 +00:00
Daniel Stenberg
e26b917661
kill the ftp server afterwards, it is just so messed up
2003-04-01 08:42:37 +00:00
Daniel Stenberg
92872a2a3c
log when we've returned verification that we are the test server
2003-04-01 08:42:14 +00:00
Daniel Stenberg
16ddb09cb4
support the new <killserver> tag
2003-04-01 08:41:49 +00:00
Daniel Stenberg
d37031f14e
ignore lib505 too
2003-04-01 07:13:28 +00:00
Daniel Stenberg
b4e84ca7d2
lib505.c is a new test case for ftp uploading with rename
2003-04-01 07:13:04 +00:00
Daniel Stenberg
47970b9e6f
Added support for the RNFR/RNTO commands
2003-04-01 07:10:08 +00:00
Daniel Stenberg
b125e8e23a
set binary mode for some file handling and it might work better on some
...
cygwin installations (using DOS-style files somehow?)
2003-03-19 09:26:29 +00:00
Daniel Stenberg
8319ea7078
more defensive checking as platforms differ...
2003-03-17 17:20:26 +00:00
Daniel Stenberg
9b43ade1c0
typecase getpid() to int to prevent compiler warning
2003-03-16 10:46:52 +00:00
Daniel Stenberg
12c72b419c
missing newline added
2003-03-15 17:26:59 +00:00
Daniel Stenberg
a15b7691ca
no server needed
2003-03-15 17:12:46 +00:00
Daniel Stenberg
01618d323b
allow 'none' as server
2003-03-15 17:11:13 +00:00
Daniel Stenberg
24a6100897
* use the pid returned back from test-servers and kill them before starting
...
them the first time
* verify that the server we start really comes up fine and works as
expected before continue
* count test cases where the server can't be run (for whatever reason)
* prefix lots of messages with RUN: to make it easier to realize which script
is saying what when running tests verbose
* remove the generic sleep(1) from each test, makes the suite fly! ;-)
I hope these changes will make the tests run somewhat more reliably on more
platforms.
2003-03-15 16:43:58 +00:00
Daniel Stenberg
0251563c98
report pid back in the WE ROOLZ message
2003-03-15 16:39:15 +00:00
Daniel Stenberg
72673a351b
removed the "banner" when the server is starting
2003-03-15 16:05:47 +00:00
Daniel Stenberg
dcc2f16416
Rick Jones' minor thing to build better on HPUX 11
2003-03-15 14:47:09 +00:00
Daniel Stenberg
38cf0268c0
use include path from BUILD dir since we want the config.h
2003-03-13 15:54:46 +00:00
Daniel Stenberg
babb372eb9
This verifies that my fix for bug report #700275 works.
2003-03-12 14:04:23 +00:00
Daniel Stenberg
5b9b82c1cd
test58 added
2003-03-12 14:03:53 +00:00
Daniel Stenberg
f317f8b149
Add include files to prevent warnings on some (HPUX) systems.
2003-03-12 08:54:45 +00:00
Daniel Stenberg
f8d552dde5
include "config.h" from the lib's private dir
2003-03-12 08:54:11 +00:00
Daniel Stenberg
606f72bb13
Setup include path to the lib dir to enable inclusion of "config.h"
2003-03-12 08:53:44 +00:00
Daniel Stenberg
0f0e4de6a4
mention what happens if size is set to -1
2003-02-28 07:55:01 +00:00
Daniel Stenberg
d34a4b126e
test138 is for RETR without size and without a working SIZE
2003-02-26 17:09:47 +00:00
Daniel Stenberg
de96719a45
support <size>-1</size> to completely disable the SIZE command
2003-02-26 17:05:36 +00:00
Daniel Stenberg
9876ed09fe
added support for RETRNOSIZE in the control file to tell RETR to not
...
include size in the 150-reply
2003-02-26 16:57:00 +00:00
Daniel Stenberg
17cbbe3dc5
added a test case for RETR that doesn't get the size in the 150-reply
2003-02-26 16:56:00 +00:00
Daniel Stenberg
065b87e949
7.10.4-pre2 commit
2003-02-24 18:14:48 +00:00
Daniel Stenberg
10026bb62e
scan through the PATH as well, to find stunnel
2003-02-03 22:15:33 +00:00
Daniel Stenberg
f81d027f60
test case 57 - verifies that the Content-Type extraction does not stop on
...
the first space anymore but cuts off the trailing spaces only.
Bug report #669059 .
2003-01-30 05:03:19 +00:00
Daniel Stenberg
86742e8334
tests that were not run due to restraints (the netrc-tests) were counted
...
as skipped twice, and thus the total number of tests appeared wrong
2003-01-27 13:51:35 +00:00
Daniel Stenberg
a302ff1605
string.h keeps the proto for memset() on some platforms, used for FD_ZERO
2003-01-23 19:41:30 +00:00
Daniel Stenberg
f7bb4e6138
added a default to the switch() in order to prevent a compiler warning
2003-01-23 12:00:15 +00:00
Daniel Stenberg
8b0668b99e
skip the chmod
2003-01-21 15:09:20 +00:00
Daniel Stenberg
ed4dff63b9
make test-full in the root dir should run verbose tests but not stop on
...
single failures
2003-01-21 10:35:34 +00:00
Daniel Stenberg
126e6d6645
pass srcdir to the ftps-server as well
2003-01-21 10:29:06 +00:00
Daniel Stenberg
5796a1b282
runtests.pl now passes the sourcedir path to the httpsserver.pl script
2003-01-21 10:14:25 +00:00
Daniel Stenberg
2ac52705c6
output summary with easy identifyable string prefixes
2003-01-20 15:43:50 +00:00
Daniel Stenberg
f26a338a54
copyright year update in the source header
2003-01-16 21:08:12 +00:00
Daniel Stenberg
94c5c7bd6d
added test 136
2003-01-09 16:48:51 +00:00
Daniel Stenberg
12cfc4c0b0
verify -u username: with ftp to use a blank password
2003-01-09 16:47:55 +00:00
Daniel Stenberg
ba25cad6e2
pass a file name to memanalyze to read from instead of using stdin
2003-01-09 11:26:57 +00:00
Daniel Stenberg
e2d249f8c5
fixed to deal with file names that contain colons, as in Windows
2003-01-09 11:03:02 +00:00
Daniel Stenberg
2288086695
nah, include test.h instead
2003-01-08 09:37:35 +00:00
Daniel Stenberg
61421b7a8f
include curl.h without directory
2003-01-08 09:33:19 +00:00
Daniel Stenberg
3de8f6f38e
better ignore
2003-01-07 09:30:05 +00:00
Daniel Stenberg
5359bc8083
ignore lib504 too
2003-01-07 09:27:32 +00:00
Daniel Stenberg
264e7fc58b
removed fruitless attempts to overload some targets
2002-12-19 16:36:35 +00:00
Daniel Stenberg
5a4c56fc44
don't install the test programs
2002-12-17 09:40:13 +00:00
Daniel Stenberg
a5dc4e32f2
removed junk
2002-12-16 15:32:37 +00:00
Daniel Stenberg
2b839853ec
Added test case 504, using multi interface and a local proxy without anything
...
listening on the port we use.
2002-12-16 15:30:10 +00:00
Daniel Stenberg
66b6cd68ed
better desc
2002-12-16 15:05:31 +00:00
Daniel Stenberg
0ef3d90838
mistake, this only requires http
2002-12-16 14:50:10 +00:00
Daniel Stenberg
811138386f
documented the %-variables
2002-12-13 16:25:39 +00:00
Daniel Stenberg
c433cf7459
fixed another space issue
2002-12-13 16:24:57 +00:00
Daniel Stenberg
e0d6ebc2f2
please mr CVS ignore these
2002-12-13 16:24:04 +00:00
Daniel Stenberg
4938991ab8
set up arg2 to point to argv[2] to be used at will by programs
2002-12-13 16:22:57 +00:00
Daniel Stenberg
13722f536e
added 503
2002-12-13 16:22:17 +00:00
Daniel Stenberg
57f0e3292d
used this to verify bug report 651460
2002-12-13 16:21:18 +00:00
Daniel Stenberg
da5ae565ab
added support for CONNECT, both good and bad
2002-12-13 16:20:07 +00:00
Daniel Stenberg
87c5066242
test case 503 entered the dir
2002-12-13 16:17:27 +00:00
Daniel Stenberg
57572e550f
include files without the curl/ to reduce the risk of us including the wrong
...
set of include files during tests
2002-12-13 14:14:35 +00:00
Daniel Stenberg
dff406a360
one slash too many
2002-12-13 13:41:28 +00:00
Daniel Stenberg
d346ba5c3c
lib502.c for multi interface tests on a single URL without select()
2002-12-13 13:40:25 +00:00
Daniel Stenberg
978541adc2
test 502, multi interface with file://
2002-12-13 13:39:39 +00:00
Daniel Stenberg
637bce2707
bail out on crap received, makes test case 402 *NOT* ruin the test series
...
anymore!
2002-12-12 18:07:10 +00:00
Daniel Stenberg
07e3dc2ee2
missing space added, nows run old tests fine again
2002-12-12 16:46:45 +00:00
Daniel Stenberg
ead065d803
remove test piece
2002-12-12 13:44:26 +00:00
Daniel Stenberg
0150bff7b4
make ftps and https invoke both necessary servers
2002-12-12 13:42:21 +00:00
Daniel Stenberg
0f493b6038
fixes
2002-12-12 13:40:16 +00:00
Daniel Stenberg
f26b709c50
link the test tools this way instead
2002-12-12 13:39:02 +00:00
Daniel Stenberg
ae10d9cf22
no more
2002-12-12 13:36:50 +00:00
Daniel Stenberg
81af9674ed
corrected
2002-12-12 12:49:29 +00:00
Daniel Stenberg
b63df7991a
new subdir added 'libtest'
2002-12-12 12:20:33 +00:00
Daniel Stenberg
a79990465c
supports the new 'tool' and 'server' tags
2002-12-12 12:20:06 +00:00
Daniel Stenberg
ad6bd530ac
describe the new sections added for (better) libcurl testing
2002-12-12 12:15:02 +00:00
Daniel Stenberg
c1b369fd4c
500 + 501 added
2002-12-12 12:13:18 +00:00
Daniel Stenberg
01fcd3c2d5
run tiny specific libcurl-testing tools
2002-12-12 12:12:01 +00:00
Daniel Stenberg
7196d784d3
The first ever attempts to do pure libcurl test cases
2002-12-12 12:11:16 +00:00
Daniel Stenberg
9ae05c4d91
added test56, nearly 100KB big!
2002-12-10 13:01:05 +00:00
Daniel Stenberg
264e6f6efd
Test case for sending insanely big HTTP requests. Mainly done this way to
...
make sure that it isn't all sent off in one single send() but instead
really tests the multiple-part-send logic.
2002-12-10 13:00:32 +00:00
Daniel Stenberg
ec7bccf671
more logging, now logs the full response too, basic support for dealing
...
with chunked transfer-encoding uploads added
2002-12-10 12:59:16 +00:00
Daniel Stenberg
12cfb4f7ee
this fix seems to make the '305 306' test case combination to run ok finally!
2002-11-22 13:48:24 +00:00
Daniel Stenberg
abb1497c98
output all test case numbers with three digits
2002-11-06 08:29:48 +00:00
Daniel Stenberg
c27c9f80d2
kromJx@crosswinds.net made it run properly with stunnel >=4.0
2002-10-23 14:07:34 +00:00
Daniel Stenberg
219d88518c
Added test 55, follow location with a single slash in the original path.
...
This caused curl 7.10.1 to crash.
2002-10-21 12:02:44 +00:00
Daniel Stenberg
7f08cab73e
test 54 added, blank Location: field
2002-10-21 06:18:51 +00:00
Daniel Stenberg
b1ffb79a50
junk cookies test53 added
2002-10-17 07:03:26 +00:00
Daniel Stenberg
d08df97fe5
new redirect tests with ./ and ../
2002-10-04 14:06:12 +00:00
Daniel Stenberg
511ce35631
306 added
2002-09-13 10:57:07 +00:00
Daniel Stenberg
e9b7548dd6
request a page from HTTPS but get no headers
2002-09-13 10:56:23 +00:00
Daniel Stenberg
ba4e69bebc
updated source code boilerplate/header
2002-09-03 11:52:59 +00:00
Daniel Stenberg
73f0e32d1a
new tests
2002-08-30 10:58:37 +00:00
Daniel Stenberg
713cb56fea
show return code when run verbose
2002-08-30 10:50:22 +00:00
Daniel Stenberg
7172fa058a
ignore these
2002-08-26 23:07:31 +00:00
Daniel Stenberg
c0790ccf08
updated for the new SSL -k
...
added two new tests to test the absense of -k to insecure SSL sites
2002-08-26 23:06:16 +00:00
Daniel Stenberg
2df4866cfa
redirect stderr to /dev/null when testing for running test-servers
2002-08-12 09:41:56 +00:00
Daniel Stenberg
8bcdda29d4
all those ignores
2002-08-08 23:13:51 +00:00
Daniel Stenberg
69f6d14b81
extended and improved cookie testing
2002-07-29 22:21:37 +00:00
Daniel Stenberg
813911db59
more nonewline support
2002-06-11 15:11:41 +00:00
Daniel Stenberg
109cbbe9c5
added test135 ftp byte-range download
2002-06-11 12:25:46 +00:00
Daniel Stenberg
17b0723713
James Cone's little work-around for the strict error
2002-05-21 22:39:09 +00:00
Daniel Stenberg
a928f2c4aa
test suite mods for the netrc testing stuff
2002-05-21 22:20:52 +00:00
Daniel Stenberg
c759d8427a
five new test cases for the netrc parsing
2002-05-21 22:14:08 +00:00
Daniel Stenberg
3d0969d1d1
Added source header and made it clear that this code was originally donated
...
to us by Juergen Wilke.
2002-05-21 08:22:00 +00:00
Daniel Stenberg
0c00eb93a0
removed compiler warnings
2002-05-17 08:15:33 +00:00
Daniel Stenberg
044755b30f
handles much larger POSTs, replaced snprintf() with sprintf() since this
...
needs to be more portable and in the test server we can skip the extra
safety
2002-04-26 07:48:05 +00:00
Daniel Stenberg
606e7fd744
updated error code
2002-04-10 14:05:52 +00:00
Daniel Stenberg
8ba410a56e
set the HOME variable to the current dir, to prevent any real ~/.curlrc to
...
play tricks on us!
2002-04-09 14:28:16 +00:00
Daniel Stenberg
2b16b8604a
enough with stupidity, this is a test case that should fail and thus we
...
should use a proper command line that *fails* ;-O
2002-04-05 08:48:45 +00:00
Daniel Stenberg
f630929810
added test 48, verify -I, -d and -G in one command line
2002-04-05 08:42:00 +00:00
Daniel Stenberg
064697fde6
very minor log change
2002-04-04 12:23:54 +00:00
Daniel Stenberg
f1f993a25b
added test 128, ftp upload with --crlf
2002-03-20 10:50:12 +00:00
Daniel Stenberg
30d5401f31
corrected for 7.9.6
2002-03-19 14:53:28 +00:00
Daniel Stenberg
1fe1e39a88
test 32, try -d and -G
2002-03-18 22:26:22 +00:00
Daniel Stenberg
4852f9ffbd
added test 39, tests the new -F features
2002-03-11 15:31:06 +00:00
Daniel Stenberg
ad3cef0fc8
Ralph Mitchell's minor #include patch to prevent some warnings
2002-03-06 09:40:06 +00:00
Daniel Stenberg
2aef351980
memanalyze is now moved to the tests/ dir
2002-03-01 09:20:03 +00:00
Daniel Stenberg
d88c153c7d
include memanalyze.pl in the dist archive
2002-03-01 09:19:28 +00:00
Daniel Stenberg
9e9883082e
moved memanalyze.pl into the tests dir
2002-03-01 09:18:54 +00:00
Daniel Stenberg
f1103b95cf
set CURL_MEMDEBUG to enable memory debugging in case curl is compiled
...
with it
2002-02-28 12:36:25 +00:00
Daniel Stenberg
d1a711eb6a
oops, we weren't doing HTTPS - now we are
2002-02-27 07:50:22 +00:00
Daniel Stenberg
d8dea4dcc7
test 304, HTTPS multipart formpost
2002-02-27 07:49:01 +00:00
Daniel Stenberg
ca161737bc
use the correct time in the cookie jar
2002-02-27 07:41:46 +00:00
Daniel Stenberg
e6a65bb3ef
modified cookie expire date
2002-02-26 13:38:12 +00:00
Daniel Stenberg
ff291eee48
new field1 functionality testing too
2002-02-26 13:18:39 +00:00
Daniel Stenberg
634760cbdc
test 31: "HTTP with weirdly formatted cookies and cookiejar storage"
2002-02-26 13:09:46 +00:00
Daniel Stenberg
b4dfdd8bbc
use env to run perl
2002-02-25 14:08:51 +00:00
Daniel Stenberg
e6ed3478ea
automake usage and options cleanup
2002-02-25 14:08:18 +00:00
Daniel Stenberg
9490278ece
We got this web server's embryo from Georg Horn, muchos gracias.
2002-02-25 12:49:21 +00:00
Daniel Stenberg
c9bc14a222
use the pid file, use the automake subdir
2002-02-25 12:45:20 +00:00
Daniel Stenberg
63708cbfb0
automake this dir too
2002-02-25 12:44:58 +00:00
Daniel Stenberg
d9f307623c
use the former logfile name again since the ftp server also uses that...
2002-02-25 12:14:24 +00:00
Daniel Stenberg
540f77a627
we actually ran all tests just now, feb 25th, 2002 12:11 MET. with the
...
new http server on Linux
2002-02-25 11:12:10 +00:00
Daniel Stenberg
71bb2d0b8b
reply/postcmd support for "wait"
2002-02-25 11:11:03 +00:00
Daniel Stenberg
87dc44e434
portability, step one, use a config.h.in file
2002-02-25 11:00:16 +00:00
Daniel Stenberg
2e9a798f09
create the pidfile and store the pid on invoke
2002-02-25 10:27:29 +00:00
Daniel Stenberg
d86f9611b3
support HUGE requests too
2002-02-25 09:42:58 +00:00
Daniel Stenberg
7cdd6455d7
modified the command to fail properly! ;-)
2002-02-25 09:07:26 +00:00
Daniel Stenberg
417c8fb602
16 tests OK
2002-02-22 15:40:17 +00:00
Daniel Stenberg
85efa64c31
cut off big parts of the banner
2002-02-22 15:17:41 +00:00
Daniel Stenberg
41dd5121f0
adjusted to work on test case 11 better
2002-02-22 13:54:06 +00:00
Daniel Stenberg
94482d7ca5
use -W too
2002-02-22 13:53:41 +00:00
Daniel Stenberg
4d0e51aead
fixed to work with 'nonewline' and thus this passes OK with the new http
...
server and things
2002-02-22 10:51:19 +00:00
Daniel Stenberg
ae8a8c8ba4
support for using protocol without a trailing newline
2002-02-22 10:50:36 +00:00
Daniel Stenberg
7d043f46d5
hide debug output from screen, use log/ for logfiles
2002-02-22 10:40:05 +00:00
Daniel Stenberg
485edb777f
a minor step forwards
2002-02-19 01:04:46 +00:00
Daniel Stenberg
a8c3431ae9
use the new HTTP server input file
2002-02-19 01:04:31 +00:00
Daniel Stenberg
6fe4a6fa9a
cut off the old perl one, this only runs the C coded version
2002-02-19 01:03:45 +00:00
Daniel Stenberg
6d8c7356d6
fixed the huge text just in case anyone actually reads it
2002-02-19 00:26:44 +00:00
Daniel Stenberg
a782c96e81
no .. in path
2002-02-19 00:26:25 +00:00
Daniel Stenberg
83f35463f5
added note about persistancy in the server
2002-02-07 12:52:04 +00:00
Daniel Stenberg
818cdb879e
POSTs seems to work somewhat now
2002-02-07 12:42:59 +00:00
Daniel Stenberg
3eead2d6c4
port number fix, now stores the processed request sent to the server
2002-02-07 12:40:06 +00:00
Daniel Stenberg
3d4511daf3
the initial C code for the new HTTP test server
2002-02-07 09:39:15 +00:00
Daniel Stenberg
bdea56cd3f
big-time alert that this doesn't work
2002-01-30 10:18:47 +00:00
Daniel Stenberg
9468c9c796
bad tag
2002-01-29 10:55:57 +00:00
Daniel Stenberg
b545ac6391
test case 38 added a few new requirements
2002-01-08 09:32:41 +00:00
Daniel Stenberg
a922132e4a
updated
2002-01-08 09:32:21 +00:00
Daniel Stenberg
9474e8d6d2
added some tracability
2002-01-08 09:32:10 +00:00
Daniel Stenberg
6328428568
test case 38, try a HTTP download resume without the server supporting
...
ranges
2002-01-08 09:31:40 +00:00
Daniel Stenberg
b4fdc025a8
-l lists all tests
2002-01-04 13:20:17 +00:00
Daniel Stenberg
b35c26b751
added a little percentage for "ok coverage"
2002-01-03 08:22:05 +00:00
Daniel Stenberg
265bb99382
test case 126 added, this uses RETRWEIRDO that makes the FTP server send two
...
responses at once, to excerise the part of curl to make sure it can cache
(parts of) responses properly.
2001-12-03 13:46:56 +00:00
Daniel Stenberg
f6f3f79aa8
test127~ should not be included!
2001-12-03 07:43:42 +00:00
Daniel Stenberg
10717bd39b
remove the command file after each test
2001-11-29 20:15:59 +00:00
Daniel Stenberg
302bb4a4b3
test126 renamed to test190 as it has to be last among the FTP tests because
...
of some problems in the test server :-/
2001-11-29 20:15:41 +00:00
Daniel Stenberg
81b5af2d1b
test 127 --disable-epsv
2001-11-29 19:58:16 +00:00
Daniel Stenberg
cabb46db3d
adjusted to new FTP commands in the command sequence
2001-11-28 13:45:50 +00:00
Daniel Stenberg
10fdb1d743
EPSV and SIZE adjustments
2001-11-28 13:07:49 +00:00
Daniel Stenberg
0cb12d7e78
added test 30, it checks that we return error on no content returned from a
...
HTTP server
2001-11-04 11:21:32 +00:00
Daniel Stenberg
3bfa06c9a2
improved functionality for new timeout tests
2001-11-02 23:09:25 +00:00
Daniel Stenberg
f34573c8e2
new tests
2001-11-02 23:09:02 +00:00
Daniel Stenberg
1a8cf79ae0
changed the Location: to match one Paul Harrington reports a problem with
2001-10-26 12:36:25 +00:00
Daniel Stenberg
b22a5f756c
test28 added for "Location: extraspace" test
2001-10-26 11:01:33 +00:00
Daniel Stenberg
9f45190fa1
test case 27 added, to make sure cookie replacing don't leak anything
2001-10-24 11:39:48 +00:00
Daniel Stenberg
f933cb3b75
now reports the CORRECT pid on demand
2001-10-24 11:39:15 +00:00
Daniel Stenberg
83da58ce91
added test 37
2001-10-19 11:56:23 +00:00
Daniel Stenberg
8dd6a4e369
don't use 'strict' anymore, as it doesn't work good with the cygwin fixes
...
also, always kill/restart the HTTP server on startup if it is our test server
2001-10-17 11:51:02 +00:00
Daniel Stenberg
71bf8a6985
checkserver() bugged, Kevin Roth detected and fixed
2001-10-10 22:04:42 +00:00
Daniel Stenberg
59a76e4010
Kevin Roth's fixes to make tests work on cygwin
2001-10-10 21:59:10 +00:00
Daniel Stenberg
51afc3d8c5
hm
2001-10-09 12:04:33 +00:00
Daniel Stenberg
0c2f60036a
added chunked encoding tests
2001-10-09 12:03:52 +00:00
Daniel Stenberg
3dcdcfc572
added test 47 - enforced http 1.0 request
2001-10-09 11:34:49 +00:00
Daniel Stenberg
e227a276ce
updated the cookiejar comment
2001-10-08 11:07:06 +00:00
Daniel Stenberg
9efdb68035
Added test 46, cookie jar functionality
2001-09-26 07:06:00 +00:00
Daniel Stenberg
14b898cb05
we can verify files too
2001-09-26 07:05:00 +00:00
Daniel Stenberg
f9977df50d
moved to parent directory
2001-09-24 07:48:00 +00:00
Daniel Stenberg
c9adbc9f1c
Adjusted to run on ipv6-enabled hosts
2001-09-23 12:46:04 +00:00
Daniel Stenberg
f36cea67fe
This verifies that bug report #462600 is fixed, a Location: following when
...
the given URL has no protocol:// part and the Location: redirect contains a
:// section
2001-09-18 18:41:46 +00:00
Daniel Stenberg
28dd4e4f1f
made it respond as a http proxy on CONNECT
2001-09-18 15:26:54 +00:00
Daniel Stenberg
f92dc70beb
added two https test cases
2001-09-18 15:26:32 +00:00
Daniel Stenberg
6d8f1328bf
HTTPS test case
2001-09-18 15:13:40 +00:00
Daniel Stenberg
c5cca4d059
fixed the stunnel PEM path
2001-09-17 08:55:32 +00:00
Daniel Stenberg
0db04c4f56
added stunnel PEM
2001-09-17 08:41:45 +00:00
Daniel Stenberg
5c566c9aa3
added the stunnel PEM file
2001-09-17 08:41:28 +00:00
Daniel Stenberg
822f02313d
changed the PEM path
2001-09-17 08:41:01 +00:00
Daniel Stenberg
0c716d51ad
added README and FILEFORMAT to distrbution archive
2001-09-14 12:07:11 +00:00
Daniel Stenberg
86367d675a
new FTP tests
2001-09-14 12:03:33 +00:00
Daniel Stenberg
bd8cef5a70
the strip stuff
2001-09-14 12:02:02 +00:00
Daniel Stenberg
708431e2ea
fixed the REST again
2001-09-14 12:01:21 +00:00
Daniel Stenberg
600d7b11e6
moved lots of the verbose stuff to do logmsg instead
2001-09-13 12:52:24 +00:00
Daniel Stenberg
afa7648be6
initial test suite file format description
2001-09-13 12:51:32 +00:00
Daniel Stenberg
5c344fc23a
ftp tests added
2001-09-13 12:51:07 +00:00
Daniel Stenberg
54e7246342
cleaned up, now closes the listener port in PASV and it doesn't re-use the
...
same passive port number
2001-09-11 07:45:12 +00:00
Daniel Stenberg
6ef11f0b13
Heikki Korpela fixed the 'make -C' invokes. make -C is banned.
2001-09-01 09:39:40 +00:00
Daniel Stenberg
ce07e79f3c
cookies are stored in the reversed order now (which in turn means that
...
the order is _not_ actually reversed like it used to be)
2001-08-24 10:18:14 +00:00
Daniel Stenberg
08655d8d5d
Georg Huettenegger's patch curl-7.8.1-pre5-patch-20010819
2001-08-21 13:18:07 +00:00
Daniel Stenberg
3e5dbac7a2
added test44 formpost without Expect:, modified test9
2001-08-21 12:46:23 +00:00
Daniel Stenberg
33dc9c1f95
strip off user-agent before checking protocol
2001-08-09 11:58:56 +00:00
Daniel Stenberg
d6ccc33dec
when a test expects an error code but gets a different one, we now output
...
both of them
2001-08-08 07:51:00 +00:00
Daniel Stenberg
56da5a05be
nine new test cases
2001-08-07 12:42:23 +00:00
Daniel Stenberg
ed786290e2
test 202 - two file:// URLs in one command line
2001-08-07 09:21:30 +00:00
Daniel Stenberg
8b2861da85
added test 201, file:// with missing file
2001-08-07 09:16:49 +00:00
Daniel Stenberg
72e67d3b9d
adjusted to the correct treatmeant of file:// URLs
2001-08-06 12:10:00 +00:00
Daniel Stenberg
a6a3673804
7.8.1-pre3 commit
2001-08-06 08:43:37 +00:00
Daniel Stenberg
9b69f6faab
httpsserver.pl added to release archive
2001-08-03 06:39:00 +00:00
Daniel Stenberg
ae55c1c144
added test 43
2001-06-28 13:25:28 +00:00
Daniel Stenberg
1a6143feba
HTTP Location: following over HTTP proxy
2001-06-28 13:24:19 +00:00
Daniel Stenberg
b70a4227b3
now runs ok on IPv6 enabled hosts
2001-06-27 22:04:00 +00:00
Daniel Stenberg
7d82bc81a2
now does OK even on IPv6-enabled hosts
2001-06-27 22:01:37 +00:00
Daniel Stenberg
be449bdea1
better strip
2001-06-27 22:01:08 +00:00
Daniel Stenberg
e18ecaf108
made stdin testing work, also made 'nocheck=true' work when set on the
...
reply data section
2001-06-14 12:16:07 +00:00
Daniel Stenberg
fe67ba6d2b
three more HTTP tests added from the old test suite
2001-06-14 12:05:30 +00:00
Daniel Stenberg
6475600afa
New test cases added
2001-06-12 09:12:59 +00:00
Daniel Stenberg
e450888b15
supports SIZE now
2001-06-12 08:38:11 +00:00
Daniel Stenberg
7bb7550e23
fixes
2001-05-28 21:49:45 +00:00
Daniel Stenberg
ce0e2cc017
better -v use, passes -I to all perl invokes
2001-05-28 15:26:15 +00:00
Daniel Stenberg
ac3ae8f775
changed the check for command1.txt to test1, so that automatic testing
...
in 'make distcheck' will work
2001-05-28 14:32:05 +00:00
Daniel Stenberg
81da4fc995
Added more test cases
2001-05-28 12:31:07 +00:00
Daniel Stenberg
b6ca1be1cd
test case converted to the new file format
2001-05-28 12:30:21 +00:00
Daniel Stenberg
20d67917c4
test: HTTP over proxy
2001-05-28 11:19:44 +00:00
Daniel Stenberg
915b10052c
Removed references to the previous file format, added some tests about
...
the new format but there's still much more to be said and done
2001-05-23 15:05:43 +00:00
Daniel Stenberg
d3516810a7
adjusted to the new test case formats
2001-05-23 15:02:58 +00:00
Daniel Stenberg
68af9a222e
Removed the former files using the old-style test case format, added the
...
new ones. Many more of the old ones must be "ported" to this new format
to make the test suite complete again.
2001-05-23 15:02:24 +00:00
Daniel Stenberg
58c3bdc1a4
new test case file format
2001-05-23 15:00:48 +00:00
Daniel Stenberg
4a6eaf1b95
Added text about the test case numbering
2001-05-21 13:40:54 +00:00
Daniel Stenberg
a8bc40fe4e
doesn't run ssl tests if libcurl wasn't built with ssl support (and reports
...
about the libcurl SSL status)
2001-05-21 13:38:38 +00:00
Daniel Stenberg
9f24645a5b
Added test case 400, the first ftps:// one
2001-05-21 13:31:49 +00:00
Daniel Stenberg
441a957d57
ftps test case data
2001-05-21 13:31:05 +00:00
Daniel Stenberg
f85c29aad8
Added the first https test: 300
2001-05-14 12:25:04 +00:00
Daniel Stenberg
4677f733b2
pid files fixes, ftp server already-running-but-no-control check
2001-05-14 12:09:47 +00:00
Daniel Stenberg
a3a2d200fa
two new FTP file transfer resume test cases added
2001-05-11 11:40:52 +00:00
Daniel Stenberg
bad4c8967b
added ftpsserver.pl stunnel.pm
2001-05-10 07:51:29 +00:00
Daniel Stenberg
a6d9ccf66b
Added stunnel.pem
2001-05-07 21:25:37 +00:00
Daniel Stenberg
9304055df5
'FILE *' changed to 'void *' in all callback functions
2001-05-04 07:47:11 +00:00
Daniel Stenberg
44c246dbf2
new
2001-04-27 07:58:26 +00:00
Daniel Stenberg
a7dc45997f
split curl and libcurl into two strings in the initial display
2001-04-26 08:32:12 +00:00
Daniel Stenberg
775dc07eb5
no name no test
2001-04-24 21:46:37 +00:00
Daniel Stenberg
48f3feed59
SSL based tests
2001-04-24 21:11:34 +00:00
Daniel Stenberg
4ddb3fbbf4
new tests, new server invoke system
2001-04-24 21:09:53 +00:00
Daniel Stenberg
cc872ebc19
fixed
2001-04-24 21:09:27 +00:00
Daniel Stenberg
ba46006896
stunnel and diff are added requirements
2001-04-24 21:09:12 +00:00
Daniel Stenberg
0d6a87ed7a
match the new never-read-body when doing HEAD
2001-03-23 14:26:23 +00:00
Daniel Stenberg
eaaa1a1fd4
test case 39 added, HTTP location and continue
2001-03-19 08:36:08 +00:00
Daniel Stenberg
d4cc810de3
added a missing \
2001-03-14 14:35:35 +00:00
Daniel Stenberg
bea7bbee1b
always append the incoming request to the server.input file, it allows
...
the mainscript to verify a whole series of requests
2001-03-14 14:26:56 +00:00
Daniel Stenberg
fe64570d5d
updated to work with the modified http server
2001-03-14 14:26:16 +00:00
Daniel Stenberg
df6ad8d8d6
Added test case 38
2001-03-14 14:25:57 +00:00
Daniel Stenberg
048e654514
made 'X to Y' sequences not include X twice
2001-03-13 22:14:53 +00:00
Daniel Stenberg
dfbd45142d
corrected the chunked format
2001-03-13 22:13:06 +00:00
Daniel Stenberg
60bbb64a81
EXTRA_DIST got too long, I shortened it now but we have to do something
...
else as it will grow a lot more...
2001-03-13 13:31:14 +00:00
Daniel Stenberg
8e8846d876
Added test case 37, HTTP GET with name+password in the URL
2001-03-13 09:44:09 +00:00
Daniel Stenberg
56a27d608a
Added test case 36:
...
[HTTP GET with badly formatted chunked Transfer-Encoding]
2001-03-12 15:27:01 +00:00
Daniel Stenberg
de7dcdbc54
modified to make the curl client with persistant connection support do
...
correct
2001-03-12 13:47:07 +00:00
Daniel Stenberg
070968abbc
include the failed test case numbers in the end summary
2001-03-12 13:46:23 +00:00
Daniel Stenberg
e97fc2aab5
Added description of the new test case ranges support
2001-03-12 12:58:57 +00:00
Daniel Stenberg
a23ac24192
made it support test case ranges on the command line, specified as
...
"X to Y", where X is smaller than Y.
2001-03-12 12:58:30 +00:00
Daniel Stenberg
9ee14644a7
adjusted to work with the HTTP 1.1-speaking libcurl
2001-03-12 12:45:12 +00:00
Daniel Stenberg
c576e114b9
output the protocol data to stderr when verbose is on
2001-03-12 12:44:44 +00:00
Daniel Stenberg
2a11bdc216
HTTP HEAD tests
2001-03-08 10:39:36 +00:00
Daniel Stenberg
e61ceaf1bd
clarified the 0001-files use a bit, I couldn't understand it myself! :-)
2001-03-08 08:33:17 +00:00
Daniel Stenberg
1118612249
Added test #34 - HTTP GET with chunked Transfer-Encoding
2001-03-08 08:30:35 +00:00
Daniel Stenberg
36c621c9df
more details on debugging with the test suite
2001-03-05 14:08:22 +00:00
Daniel Stenberg
1717963e3d
show the ftp server invoke line when -d is used
2001-03-05 14:03:48 +00:00
Daniel Stenberg
4646a1ffa9
talks more on verbose
2001-03-05 14:03:20 +00:00
Daniel Stenberg
ebd6897b10
runtests -g explained
2001-03-04 18:11:25 +00:00
Daniel Stenberg
5ab8a9d32f
persistant support protocol updates
2001-03-04 18:07:13 +00:00
Daniel Stenberg
cf8704ccdf
7.7 alpha 2 commit
2001-03-04 16:34:20 +00:00
Daniel Stenberg
a1d6ad2610
multiple connection support initial commit
2001-02-20 17:35:51 +00:00
Daniel Stenberg
63b5748eb6
-g runs the specified test(s) with gdb!
2001-02-20 13:58:39 +00:00
Daniel Stenberg
7015c61b86
removed upload.NN files after each test
2001-01-29 15:07:28 +00:00
Daniel Stenberg
30ec0af109
test case 33, HTTP PUT resume
2001-01-29 14:36:49 +00:00
Daniel Stenberg
2fa0d3dd5f
test case 31 and 32 were added
2001-01-27 20:02:11 +00:00
Daniel Stenberg
d69302202d
minor output fix
2001-01-27 18:51:10 +00:00
Daniel Stenberg
227662d2ed
Added -d that enables easier protocol/server debug overview (it invokes
...
the servers with their -v options)
2001-01-27 18:50:54 +00:00
Daniel Stenberg
3cb3d43913
added test 29 and 30, HTTP resume and partial download tests
2001-01-27 18:49:48 +00:00
Daniel Stenberg
6429c378a2
the custom reply engine was not inited properly
2001-01-22 16:16:18 +00:00
Daniel Stenberg
d830f10417
test case 121
2001-01-22 16:05:12 +00:00
Daniel Stenberg
3d6fcbf97b
Added test case 120, ftp with '-Q -'
2001-01-22 16:00:28 +00:00
Daniel Stenberg
133eb220b9
Added files for test case 28
2001-01-19 12:13:37 +00:00
Daniel Stenberg
c5796d9e39
--globoff test case
2001-01-19 12:12:54 +00:00
Daniel Stenberg
a84625eca6
Added two tests for multiple URLs (26 + 27)
2001-01-09 12:24:08 +00:00
Daniel Stenberg
a997d60304
Loic Dachary's updates to get 'make distcheck' work, including running the
...
test suite
2001-01-08 22:18:30 +00:00
Daniel Stenberg
b915ca68f9
'make distcheck' works now
2001-01-08 17:38:23 +00:00
Daniel Stenberg
703fc264f0
Had to add this to get 'make distcheck' to run!
2001-01-08 17:28:53 +00:00
Daniel Stenberg
9ade752fa7
distcheck fixes
2001-01-08 16:31:29 +00:00
Daniel Stenberg
044ca343ad
Loic Dachary's makefile/dist/rpm fixes
2001-01-08 10:00:14 +00:00
Daniel Stenberg
cb1842cb52
uses the PERL variable configure digs up
2000-12-05 09:15:44 +00:00
Daniel Stenberg
0d7ba0ec61
now counts all test cases and presents a counter at the end
2000-11-28 12:49:39 +00:00
Daniel Stenberg
a00bb13766
max-redirs test case data
2000-11-28 09:42:15 +00:00
Daniel Stenberg
9f77434c3a
modified for ftp custom commands
2000-11-27 12:53:50 +00:00
Daniel Stenberg
989ff585b1
allows simple custom modifications for single test cases
2000-11-27 12:53:32 +00:00
Daniel Stenberg
f589c1c024
Added the ftpdN.txt file
2000-11-27 12:53:05 +00:00
Daniel Stenberg
e86f3b9144
ftp graceful error detection check data
2000-11-27 12:52:36 +00:00
Daniel Stenberg
20801181b2
file:// test data
2000-11-27 11:54:35 +00:00
Daniel Stenberg
3723c52057
if the server doesn't output a logfile, the protocol file is not compared
...
with it! This makes tests without server (like for file://) smarter.
2000-11-27 11:53:50 +00:00
Daniel Stenberg
fde82cd4e0
adjusted to modified FTP behaviour
2000-11-22 14:15:46 +00:00
Daniel Stenberg
801626de19
Added a curl-target to make it easier to build from this dir
2000-11-22 14:15:15 +00:00
Daniel Stenberg
ea9ede15e3
HTTP GET fail silently on HTTP error return
2000-11-22 08:57:24 +00:00
Daniel Stenberg
20dd0670ba
I run the perl programs with 'perl [script]' instead, to overcome the
...
hardcoded-path-in-scripts problem.
2000-11-21 19:30:09 +00:00
Daniel Stenberg
43e1e1cd1a
upload check, better ability to specify test cases on the command line
2000-11-21 19:28:11 +00:00
Daniel Stenberg
55b7c1c364
REST support seems to work
...
NLST sends an NLST-looking list
renamed the upload file
2000-11-21 19:25:14 +00:00
Daniel Stenberg
190ecd652a
Added the uploadN.txt description
2000-11-21 19:21:31 +00:00
Daniel Stenberg
2677c27b08
FTP test case data
2000-11-21 19:20:14 +00:00
Daniel Stenberg
2c123051bb
added a command line log that logs all command lines run in the complete
...
test run
2000-11-21 17:07:16 +00:00
Daniel Stenberg
b82fa8d959
FTP test case data
2000-11-21 17:04:59 +00:00
Daniel Stenberg
c84aa663a1
httpN => protN and some other minor updates
2000-11-21 15:51:05 +00:00
Daniel Stenberg
ae58d84429
Added support for verifiedserver that returns a static silly string that
...
allows the test script to verify that it is our test server running on the
particular port
2000-11-21 15:49:34 +00:00
Daniel Stenberg
eb993c28ca
starts and stops both HTTP and FTP servers now
...
checks memanalyze output better
filters PORT output when doing FTP compares
2000-11-21 15:48:40 +00:00
Daniel Stenberg
c1474b9507
http* is now prot* since we're about to use other protocols as well
2000-11-21 14:24:03 +00:00
Daniel Stenberg
708e9cf294
attempt to use a bad protocol
2000-11-21 13:41:11 +00:00
Daniel Stenberg
70778f2cb6
NLST does a LIST (a normal unix ftp client 'ls' becomes NLST)
...
multiple transfers are supported
2000-11-21 13:36:55 +00:00
Daniel Stenberg
bdb411c6ca
STOR works!
2000-11-21 13:22:32 +00:00
Daniel Stenberg
44137c7932
fancier login text
...
removed lots of wasted comments
cleaned up a little
STOR doesn't work
2000-11-21 12:54:08 +00:00
Daniel Stenberg
19a754dc8c
removed the forks, we don't need forking for single-task testing
2000-11-21 12:00:24 +00:00
Daniel Stenberg
641351ee16
runtests.pl -c should be -a
2000-11-21 11:37:58 +00:00
Daniel Stenberg
f22c690b1f
flushes the log handles before fork, now the logs work too!
2000-11-20 16:02:53 +00:00
Daniel Stenberg
05ec503eac
QUIT works, and now I can run a unix ftp client against the server and it
...
runs pretty good
2000-11-20 14:26:09 +00:00
Daniel Stenberg
4b8fd86f04
CWD runs
2000-11-20 13:47:25 +00:00
Daniel Stenberg
16cf5ee1c9
RETR seems to work too
2000-11-20 13:19:22 +00:00
Daniel Stenberg
a7937ed49c
this is now a working ftp server, both PASV and PORT run fine, LIST works,
...
RETR and STORE don't
2000-11-20 13:07:04 +00:00
Daniel Stenberg
d4a4b564ec
extremely long URL test
2000-11-20 09:04:27 +00:00
Daniel Stenberg
b2ad1f68cc
this is the first attempt of a tiny and simple ftp server in perl for curl
...
test purposes
2000-11-20 08:00:33 +00:00
Daniel Stenberg
13e9a4d8f4
added a description about the memory checks
2000-11-20 07:59:25 +00:00
Daniel Stenberg
0def60bf9d
now supports checks for exit codes and check for memory even when curl
...
returns (expected) exit code
2000-11-17 15:58:25 +00:00
Daniel Stenberg
1665435040
graceful failure test
2000-11-17 15:57:35 +00:00
Daniel Stenberg
aa86f697f6
output FAILED properly even when -s is used
2000-11-17 15:34:33 +00:00
Daniel Stenberg
e48747d95d
updated to the new stdout stuff and the new -a option
2000-11-17 15:33:54 +00:00
Daniel Stenberg
f0b8aac325
updated to the new stdout file behaviour of runtests.pl
2000-11-17 15:30:33 +00:00
Daniel Stenberg
ec3054e1f2
make test in root now runs make quiet-test in the test dir
2000-11-17 15:30:01 +00:00
Daniel Stenberg
7c6414ebbd
uses stricter output
2000-11-17 15:15:48 +00:00
Daniel Stenberg
85705e105c
better stdout check, full support for memory debug tests
2000-11-17 15:07:29 +00:00
Daniel Stenberg
874f6024e6
multiple URL test
2000-11-17 15:07:03 +00:00
Daniel Stenberg
2d16e1a777
config file test
2000-11-17 10:05:56 +00:00
Daniel Stenberg
fdd91b2209
moved out the FTP part
2000-11-16 09:06:18 +00:00
Daniel Stenberg
ab9dfac24e
updated to catch bug 122480
2000-11-15 15:48:15 +00:00
Daniel Stenberg
56c0c67dff
'use strict' compliant
...
better complains if there are missing input files for a test case
explaced exit-calls with returns instead
2000-11-15 12:13:24 +00:00
Daniel Stenberg
885184aa14
proxy authorization test case
2000-11-15 12:06:59 +00:00
Daniel Stenberg
e0e67812de
now sorts the test cases when "all" is used
2000-11-15 08:21:14 +00:00
Daniel Stenberg
eb72e001a7
'use strict' compliant
2000-11-15 07:09:37 +00:00
Daniel Stenberg
cdfa5f5d7b
removed some /= 256 that was wrongly left
2000-11-14 11:56:16 +00:00
Daniel Stenberg
0c19d2518c
added help text on -h
2000-11-14 10:28:25 +00:00
Daniel Stenberg
e64b8a8f86
more decriptions
2000-11-14 10:24:26 +00:00
Daniel Stenberg
e2641a394d
removed lots of external program dependencies (for windows compliance)
...
added lots of comments
added -s for short output and made it possible to run specific test cases
from the command line
2000-11-14 10:18:44 +00:00
Daniel Stenberg
bd3dca96f6
somewhat more functioning FTP
2000-11-13 20:47:09 +00:00
Daniel Stenberg
3cd77a19ca
basic and early ftp support
2000-11-13 19:58:40 +00:00
Daniel Stenberg
e02affb5d0
logs stderr as well now, which is good if the program crashes, and also
...
dumps more information in case curl doesn't return success
2000-11-13 18:34:27 +00:00
Daniel Stenberg
336124c3dc
updated
2000-11-13 16:07:17 +00:00
Daniel Stenberg
8e735d1eea
converted shell script to perl
2000-11-13 16:06:16 +00:00
Daniel Stenberg
aa9a60287d
more test case data
2000-11-13 16:05:39 +00:00
Daniel Stenberg
1cc8af2779
if the server is already running when the script is started, it now verifies
...
that it actually is our test server that runs
2000-11-13 11:45:41 +00:00
Daniel Stenberg
3f0aa0648f
defaults to run all available test cases in (1 - last) order
2000-11-13 09:51:01 +00:00
Daniel Stenberg
a58e336d85
updated test cases
2000-11-13 09:44:39 +00:00
Daniel Stenberg
27435f0648
new pid stuff, more filters, various fixes
2000-11-13 09:43:40 +00:00
Daniel Stenberg
69e82e7383
changed pid stuff, made it work with rfc1867 posts and made it work better
...
on paths
2000-11-13 09:42:58 +00:00
Daniel Stenberg
b2daec2477
more details added
2000-11-13 09:41:47 +00:00
Daniel Stenberg
d5b06bcf3b
replaced by a working server!
2000-11-13 08:03:16 +00:00
Daniel Stenberg
d5e6404b8b
uses the new httpd server, runs the tests much faster
2000-11-13 08:02:26 +00:00
Daniel Stenberg
bc84fe1cf3
new perl http server that works better
2000-11-13 08:02:02 +00:00
Daniel Stenberg
6195412005
Added empty actions for all: and install:
2000-11-12 15:11:50 +00:00
Daniel Stenberg
14bcdcfcdd
test files
2000-11-10 15:24:54 +00:00
Daniel Stenberg
3c0194bb72
initial checkin
2000-11-10 15:24:09 +00:00