Dan Fandrich
f776c1d2eb
Abort if attempting to run as root.
2007-03-29 05:25:11 +00:00
Dan Fandrich
31b1e988f4
Only show exit status in verbose mode.
2007-03-28 04:36:09 +00:00
Dan Fandrich
884171aecf
Don't launch sshd as a daemon so its output can be logged.
2007-03-28 04:05:55 +00:00
Dan Fandrich
282127fbff
Tighten up a few more OpenSSH options
2007-03-27 04:01:39 +00:00
Dan Fandrich
2166645ce4
Added SFTP and SCP upload tests in test602 & test603
2007-03-26 19:23:00 +00:00
Dan Fandrich
844f5b6b45
Added test600 and test601, SFTP and SCP file retrieval tests.
2007-03-26 18:04:05 +00:00
Gunter Knauf
424063235b
catch up new lib extension when build with gcc/nlmconv.
2007-03-26 17:18:36 +00:00
Dan Fandrich
3b355421ec
Added sshserver.pl
2007-03-24 06:29:58 +00:00
Dan Fandrich
0dd1219668
Fixed a memory leak when specifying a proxy with a file: URL and added
...
test case 288 to verify it.
2007-03-24 02:15:20 +00:00
Dan Fandrich
b7131009fb
Changed the test harness to attempt to gracefully shut down servers
...
before resorting to the kill -9 hammer.
Added test harness infrastructure to support scp/sftp tests, using
OpenSSH as the server.
2007-03-24 01:01:28 +00:00
Daniel Stenberg
0c817b6614
language fix
2007-03-18 23:16:36 +00:00
Daniel Stenberg
ff314d7600
detect and show if built with yassl, but also set the "openssl" flag internally
...
since that is the API yassl attempts to provide
2007-03-18 22:37:23 +00:00
Daniel Stenberg
c1f3edbdd1
openssl/bio.h doesn't exist when we build with yassl so avoid trying
2007-03-16 22:44:46 +00:00
Dan Fandrich
a20a6f67c5
Fixed the test case to use a truly invalid urlglob range.
2007-03-16 04:34:53 +00:00
Dan Fandrich
ae07fd2ba8
libcurl supplies its own crypto hash functions when SSL is disabled, so
...
'crypto' tests aren't dependent on SSL. Compiling with
--disable-crypto-auth will cause test failures, however.
2007-03-12 20:50:16 +00:00
Yang Tse
40087ce7c0
change max allowed time for this test to complete to 90 seconds
2007-03-10 00:19:05 +00:00
Dan Fandrich
e12d46ac50
Updated the test harness to add a new "crypto" feature check and updated the
...
appropriate test case to use it. For now, this is treated the same as the
"SSL" feature because curl doesn't list it separately.
2007-03-09 23:39:42 +00:00
Dan Fandrich
1962ebf8e7
Updated the test harness to check for protocol support before running each
...
test, fixing KNOWN_BUGS #11 . Fixed some tests to more accurately specify
their required servers and features.
2007-03-09 21:01:39 +00:00
Dan Fandrich
7c144d5a7e
Made a few cleanups.
2007-03-08 20:00:28 +00:00
Dan Fandrich
0f0540d00b
Added SSL as a required feature for test case 400.
2007-03-08 19:50:32 +00:00
Dan Fandrich
1bfa7dfe39
Added test infrastructure to support basic FTPS tests. This currently
...
supports only ftps:// URLs with --ftp-ssl-control specified, which
implicitly encrypts the control channel but not the data channels. That
allows stunnel to be used with an unmodified ftp server in exactly the
same way that the test https server is set up.
Added test case 400 as a basic FTPS test.
2007-03-08 02:38:49 +00:00
Yang Tse
e5f8e5e57a
stricter newline policy
2007-03-03 05:16:57 +00:00
Yang Tse
53a3abc76b
30 seconds isn't long enough for this test on a loaded server.
2007-03-03 04:27:19 +00:00
Yang Tse
bfd6474f6b
stricter newline policy
2007-03-03 02:06:44 +00:00
Yang Tse
cef5b14baa
Reduce the posibility of leaving the sockfilter hanging around when
...
tearing down the test ftp server due to a read error condition.
2007-03-01 16:42:02 +00:00
Yang Tse
e817eb6cec
log a 1120 chars long string to aid in quoted-printable and soft
...
line break detection in daily build logs.
2007-02-27 23:46:48 +00:00
Dan Fandrich
fe0afb211e
5 seconds isn't always enough time to start a server on a loaded system.
2007-02-22 18:35:57 +00:00
Yang Tse
141b3d0c2f
remove redundant check in timestamp detection
2007-02-22 17:34:02 +00:00
Yang Tse
69565afab0
Check for stdbool.h at configuration stage, and include it if available.
...
Check for lowercase 'bool' type at configuration stage. If not available
provide a suitable replacement with a type definition of 'unsigned char'
in setup_once.h
Move definitions of TRUE and FALSE to setup_once.h
2007-02-22 02:51:54 +00:00
Daniel Stenberg
f19d333ef6
- Ravi Pratap provided work on libcurl making pipelining more robust and
...
fixing some bugs:
o Don't mix GET and POST requests in a pipeline
o Fix the order in which requests are dispatched from the pipeline
o Fixed several curl bugs with pipelining when the server is returning
chunked encoding:
* Added states to chunked parsing for final CRLF
* Rewind buffer after parsing chunk with data remaining
* Moved chunked header initializing to a spot just before receiving
headers
2007-02-21 21:59:40 +00:00
Yang Tse
29bb6f65f1
Move header file inclusion logic and definition of timeval
...
struct for platforms that don't have it to setup_once.h
2007-02-20 12:12:27 +00:00
Yang Tse
37f07a54bd
Several corrections & changes to what has been stated in revision 1.45
...
1) The maketgz script does not insert the timestamp in curlver.h,
it actually updates it. For CVS versions it is the "CVS" string.
2) testcurl.pl will always print the "date" string which represents
the moment the test build is run.
3) testcurl.pl may not print the "timestamp" string since the script
may end before it is printed out. (i.e. unable to update from CVS)
4) The "timestamp" string printed will be the same as the "date" one
unless one of the following conditions is met.
*) It is a tarball-based build. Timestamp will be creation time.
*) CVS update has been done. Timestamp will be end of CVS update.
2007-02-20 05:28:41 +00:00
Yang Tse
da8c666e4f
add tutil_tvdiff_secs() for completeness
2007-02-20 01:09:38 +00:00
Yang Tse
78a1e5d1a6
fix typo
2007-02-19 19:46:07 +00:00
Yang Tse
116f60e063
Show libcurl's timestamp. This timestamp is only available in curlver.h
...
for tarball-based tests and builds, the maketgz script inserts it when
the tarball is created. For CVS-based tests and builds the timestamp we
show is the current UTC build time as it is the CVS version timestamp.
In this way, all builds will have a valid source code timestamp which
isn't related to the moment the tests and build is performed, with the
exception of CVS-based ones which have the same "date" and "timestamp"
2007-02-19 19:41:48 +00:00
Yang Tse
75fca27f8e
log a message, stating the need of openssl to run this test
2007-02-19 04:51:47 +00:00
Yang Tse
f2cd2882a0
Oops missing var
2007-02-19 03:59:41 +00:00
Yang Tse
31e598d2f3
add debug messages for initialization failures
2007-02-19 02:03:58 +00:00
Yang Tse
d9bf55570b
Move portable error number symbolic name definitions to setup_once.h
2007-02-17 13:51:24 +00:00
Yang Tse
789fd0b74a
Replicate the configure tests that determined that timeval was available.
2007-02-17 11:43:52 +00:00
Dan Fandrich
3f140a6008
getpart implicitly drags in some networking functions, so it needs to be
...
linked to the networking libraries.
2007-02-17 08:16:53 +00:00
Dan Fandrich
a0a47f2767
Better separate the library dependencies into those required by libcurl
...
and those required by other components to avoid forcing unneeded
dependencies into the target objects.
2007-02-17 01:29:01 +00:00
Dan Fandrich
213017e9cf
Remove C99isms
2007-02-17 01:25:32 +00:00
Yang Tse
d46cab4a94
add debug messages for fopen() failures
2007-02-16 19:41:25 +00:00
Yang Tse
4dc453c087
add debug messages for fopen() failures
2007-02-16 19:17:05 +00:00
Yang Tse
a1d5983991
use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling
2007-02-16 18:19:35 +00:00
Yang Tse
4894ce16fc
use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling
2007-02-16 16:01:19 +00:00
Yang Tse
5a267c4312
compiler warning fix
2007-02-14 13:46:08 +00:00
Yang Tse
7033a1c072
enhance HTTP server request input writing,
...
retrying upon EINTR errors.
2007-02-14 00:28:01 +00:00
Daniel Stenberg
4efa0d9f68
ftp@example.com is now the new anonymous FTP password. I opted for 'ftp' on
...
the left side of @ to make it short(er).
2007-02-13 22:50:16 +00:00