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