Daniel Stenberg
a56164c8e0
added swsbounce
2004-03-31 12:24:08 +00:00
Daniel Stenberg
75d66b9c62
test 153 tests Digest authorization and stale=true stuff
2004-03-31 11:51:21 +00:00
Daniel Stenberg
2ff9f55001
Added "swsbounce" magic: if this keyword is present in a <data> section it
...
sets the "swsbounce" magic mode. If there follows a request for the SAME
test number and the SAME part number, this mode will make the server bump
the part number internally and thus return a different <dataNUM> section
than it otherwise would.
Test case 153 uses this in case you need an example. It is pretty involved
and hard-to-use, but then the situation is pretty special over all. Enjoy.
2004-03-31 11:50:44 +00:00
Daniel Stenberg
dd2add82ee
Fixed how the user name is extracted from http_proxy environment variable
...
when set.
2004-03-31 10:46:06 +00:00
Daniel Stenberg
a90cd1a45c
David Byron's new test cases for the --fail and auth stuff.
2004-03-30 06:41:33 +00:00
Daniel Stenberg
5e92b2906b
All test targets now run 'make all' before they prcoeed with the actual
...
testing so that all test files are build first properly. David Byron reported.
2004-03-29 12:38:41 +00:00
Daniel Stenberg
712d0374f7
fix to figure out the "real" windows path when built and run with mingw
...
Andrés García helped out!
2004-03-29 09:26:31 +00:00
Daniel Stenberg
f28389c87b
Tor Arntsen fixed how this is invoked
2004-03-25 12:16:42 +00:00
Daniel Stenberg
50b0e72f7b
detect daily snapshots using the new path for this test
2004-03-25 11:39:29 +00:00
Daniel Stenberg
5d8ec172a6
invoke this script via env, as it is more likely to exist at a fixed path
...
while perl often is installed in /usr/local/bin or elsewhere
2004-03-25 08:22:03 +00:00
Daniel Stenberg
0d6d9af7ab
Tor Arntsen's mkdir-fix to make this run with perl 5.0005
2004-03-24 21:28:31 +00:00
Daniel Stenberg
41cd36b830
Avoid doing chdir .., as it breaks the ability to use symlinks properly.
...
chdir to absolute directory names instead. (this flaw exists in the shell
version too)
2004-03-24 10:52:21 +00:00
Daniel Stenberg
5947e4e9fd
distribute testcurl.pl too starting now
2004-03-23 16:11:01 +00:00
Daniel Stenberg
e992aa6a54
Greg Hewgill's version of testcurl.sh rewritten in perl for greater
...
portability. I put it in this directory instead of the root since I think
perhaps it makes more sense.
2004-03-23 16:07:02 +00:00
Daniel Stenberg
0fd88d7c8f
minor variable type cleanups
2004-03-23 08:50:28 +00:00
Daniel Stenberg
4e84ac4db8
minor edits to make picky compilers whine less
2004-03-23 08:46:08 +00:00
Daniel Stenberg
dd1ba7633e
Enabled 'NT responses' in the NTLM type-3 message.
2004-03-22 13:50:30 +00:00
Daniel Stenberg
f8ff0f6bef
minor variable type fix
2004-03-12 12:05:33 +00:00
Daniel Stenberg
93f96835f8
use size_t for string lengths
2004-03-10 08:12:09 +00:00
Daniel Stenberg
dad0715d79
Added -I$(top_srcdir)/include, since lib/setup.h might include files from
...
the external curl include dir.
2004-03-09 21:49:46 +00:00
Daniel Stenberg
8cbfe5d24a
Andrés García-fix to make it build with mingw
2004-03-09 08:38:25 +00:00
Daniel Stenberg
498666bdc3
issue 12 fix
2004-03-05 12:54:18 +00:00
Daniel Stenberg
2cd6403011
Major rewrite of the test HTTP server to allow more fancy features to make
...
better tests with the issue12-patch applied.
This change also includes Andrés García's win32-fixes.
Made the logging look better/more readable in sws.log
2004-03-05 08:32:11 +00:00
Daniel Stenberg
87a1c7033e
removed include stuff now handled by test.h
2004-03-03 10:09:30 +00:00
Daniel Stenberg
6e3fa90c9e
We let this file include more generic headers that many libtests need anyway
...
to reduce the amount of #include stuff in each single libNNN.c file.
unistd.h was added to prevent select() warnings on FreeBSD
2004-03-03 10:09:16 +00:00
Daniel Stenberg
b0c51d198c
large_file is a new feature we can require for a specific test
2004-03-01 16:25:24 +00:00
Daniel Stenberg
71335e5b99
support 'large_file' as a feature to require for specific tests (such as
...
test 99)
2004-03-01 16:24:54 +00:00
Daniel Stenberg
d6eb28400b
added test 99, very basic initial large file test
2004-03-01 16:18:40 +00:00
Daniel Stenberg
78f52c05a9
Report the correct size when 'verifiedserver' is requested.
2004-03-01 07:16:45 +00:00
Daniel Stenberg
77268e0649
Joe Halpin made the FTP code send 'QUIT' on the control connection before
...
it disconnects the TCP connection, like a good ftp client should!
2004-02-27 07:08:37 +00:00
Daniel Stenberg
1ceb77b4dc
we need to hide this warning since it otherwise appears on all verifiedserver
...
requests to the ftp server!
2004-02-26 22:56:32 +00:00
Daniel Stenberg
3430ce7907
Kill the server when this test is done, as other FTP-tests sometimes
...
have problems otherwise.
2004-02-26 22:40:33 +00:00
Daniel Stenberg
9b6350d0b0
adjusted to work with the modified fopen() line and the new calloc line
2004-02-26 14:53:17 +00:00
Daniel Stenberg
38b6016dfa
added the ever-present source header
2004-02-26 11:46:17 +00:00
Daniel Stenberg
4427d91479
runtests.pl now provides the srcdir to the ftpserver so that it can pass
...
that to loadtest properly.
2004-02-26 09:19:59 +00:00
Daniel Stenberg
0c03ed6013
modified loadtest() to produce better error message when it fails to load
...
a test file
2004-02-26 09:19:16 +00:00
Daniel Stenberg
b2cff76722
typecast to int when printfing CURLcode
2004-02-25 15:43:15 +00:00
Daniel Stenberg
8777ba7e42
include sys/select.h to prevent picky compiler warnings when using select()
...
without proto
2004-02-20 08:51:43 +00:00
Daniel Stenberg
236337ce86
fix protos to prevent warnings
2004-02-20 07:19:18 +00:00
Daniel Stenberg
224ccc780a
added getpart.h for the spitout() proto
2004-02-20 07:19:01 +00:00
Daniel Stenberg
ccde85d198
%HTTPPORT supported in subVariables
2004-02-20 07:14:58 +00:00
Daniel Stenberg
9e7657d6ed
mention what ports the test suite uses
2004-02-20 07:05:10 +00:00
Daniel Stenberg
7ac455fca3
When trying to see if there's a friendly http server on "our" port, we
...
only accept return code 7 to indicate that there's no server present.
2004-02-20 06:59:17 +00:00
Daniel Stenberg
8794cb286b
refer to FILEFORMAT
2004-02-19 21:21:12 +00:00
Daniel Stenberg
7729c63be0
fixed the no-ssl version to return int as well
2004-02-19 15:39:06 +00:00
Daniel Stenberg
eebcf90942
provide protos to the functions to prevent warnings
2004-02-19 13:03:04 +00:00
Daniel Stenberg
fa8ecd3d53
typecast the type to an int on return
2004-02-19 13:00:33 +00:00
Daniel Stenberg
134cb66129
return int from test()
2004-02-19 13:00:05 +00:00
Daniel Stenberg
349a15b089
provide a test() proto
2004-02-19 12:59:57 +00:00
Daniel Stenberg
debbcf81bb
ignore more
2004-02-17 07:57:31 +00:00