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