Commit Graph

328 Commits

Author SHA1 Message Date
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 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 2769f3b245 request a file over proxy without credentials, and get a 407 back 2003-11-20 09:52:48 +00:00
Daniel Stenberg f023b4cc79 back to GMT again 2003-10-31 21:37:03 +00:00
Daniel Stenberg 5554f1ccba updated for the cut off GMT string 2003-10-30 09:06:52 +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 f991a69cce tests the new -C - fix 2003-10-24 21:58:43 +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 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 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 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 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 f95de76789 test507 added 2003-08-19 09:36:47 +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 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 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 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 a9afe6aa84 new -z tests 2003-08-08 08:13:11 +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 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 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 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 634aef3895 updated to work with Dan Winship's NTLM domain stuff fix 2003-07-15 23:38:06 +00:00
Daniel Stenberg 8736c11d84 adjusted to the NTLM updates 2003-07-04 16:36:31 +00:00
Daniel Stenberg 79144eba99 new tests 2003-06-26 11:45:04 +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 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 bc942de6f1 Content-Length: now overrides other means of knowing when the stream has
ended.
2003-06-03 07:53:18 +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 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 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 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 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 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 136670c58a three new ftp tests 2003-04-09 11:55: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 294569c502 new 2003-04-03 13:39:36 +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 a15b7691ca no server needed 2003-03-15 17:12: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 d34a4b126e test138 is for RETR without size and without a working SIZE 2003-02-26 17:09:47 +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 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 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 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 87c5066242 test case 503 entered the dir 2002-12-13 16:17:27 +00:00
Daniel Stenberg dff406a360 one slash too many 2002-12-13 13:41:28 +00:00
Daniel Stenberg 978541adc2 test 502, multi interface with file:// 2002-12-13 13:39:39 +00:00
Daniel Stenberg 81af9674ed corrected 2002-12-12 12:49:29 +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 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 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 73f0e32d1a new tests 2002-08-30 10:58:37 +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 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 109cbbe9c5 added test135 ftp byte-range download 2002-06-11 12:25:46 +00:00
Daniel Stenberg c759d8427a five new test cases for the netrc parsing 2002-05-21 22:14:08 +00:00
Daniel Stenberg 606e7fd744 updated error code 2002-04-10 14:05:52 +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 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 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 7cdd6455d7 modified the command to fail properly! ;-) 2002-02-25 09:07:26 +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 9468c9c796 bad tag 2002-01-29 10:55:57 +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 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 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 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 83da58ce91 added test 37 2001-10-19 11:56:23 +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 f9977df50d moved to parent directory 2001-09-24 07:48:00 +00:00