Daniel Stenberg
4d2f800677
curl.se: new home
...
Closes #6172
2020-11-04 23:59:47 +01:00
Daniel Stenberg
80d6515415
tests: run the sws server on "any port"
...
Makes the test servers for HTTP and Gopher pop up on a currently unused
port and runtests adapts to that!
Closes #5247
2020-04-18 22:45:28 +02:00
Daniel Stenberg
9a8b3b3e13
copyright: fix out-of-date copyright ranges and missing headers
...
Reported by the new script 'scripts/copyright.pl'. The script has a
regex whitelist for the files that don't need copyright headers.
Removed three (mostly usesless) README files from docs/
Closes #5141
2020-03-24 15:05:59 +01:00
Marc Hoersken
9819984fbb
tests: make it possible to set executable extensions
...
This enables the use of Windows Subsystem for Linux (WSL) to run the
testsuite against Windows binaries while using Linux servers.
This commit introduces the following environment variables:
- CURL_TEST_EXE_EXT: set the executable extension for all components
- CURL_TEST_EXE_EXT_TOOL: set it for the curl tool only
- CURL_TEST_EXE_EXT_SSH: set it for the SSH tools only
Later testcurl.pl could be adjusted to make use of those variables.
- CURL_TEST_EXE_EXT_SRV: set it for the test servers only
(This is one of several commits to support use of WSL for the tests.)
Closes https://github.com/curl/curl/pull/3899
2019-12-09 19:32:41 -05:00
klemens
f7df67cff0
spelling fixes
...
Closes #1356
2017-03-26 23:56:23 +02:00
Daniel Stenberg
4af40b3646
URLs: change all http:// URLs to https://
2016-02-03 00:19:02 +01:00
Steve Holme
1abe65d928
code/docs: Use Unix rather than UNIX to avoid use of the trademark
...
Use Unix when generically writing about Unix based systems as UNIX is
the trademark and should only be used in a particular product's name.
2014-12-26 21:42:44 +00:00
Peter Wu
f1cc2a2c0c
tests: add HTTP UNIX socket server testing support
...
The variable `$ipvnum` can now contain "unix" besides the integers 4
and 6 since the variable. Functions which receive this parameter
have their `$port` parameter renamed to `$port_or_path` to support a
path to the UNIX domain socket (as a "port" is only meaningful for TCP).
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-12-04 02:52:19 +01:00
Fabian Keil
ca5f4e2135
runtests and friends: Do not add undefined values to @INC
...
On FreeBSD this fixes the warning:
Use of uninitialized value $p in string eq at /usr/local/lib/perl5/5.14.2/BSDPAN/BSDPAN.pm line 36.
2012-12-06 23:04:33 +01:00
Joe Mason
76ba591957
Remove the --fork option of sws, since it makes refactoring to use poll more complicated and should
...
be redundant once we poll
2012-08-02 17:34:45 -04:00
Yang Tse
c358bab809
httpserver.pl: reorder sws command line options
...
make 'pidfile' and 'logfile' options appear first on command line in order
to ensure that processing of other options which write to logfile do this
to intended file and not the default one.
2012-01-04 19:28:22 +01:00
Daniel Stenberg
82180643f4
test proxy supports CONNECT
...
There's a new 'http-proxy' server for tests that runs on a separate port
and lets clients do HTTP CONNECT to other ports on the same host to
allow us to test HTTP "tunneling" properly.
Test cases now have a <proxy> section in <verify> to check that the
proxy protocol part matches correctly.
Test case 80, 83, 95, 275, 503 and 1078 have been converted. Test 1316
was added.
2012-01-03 15:01:22 +01:00
Daniel Stenberg
ecb3fe63d7
gopher tests: use sws and adjusted to more standard style
2010-08-25 14:21:25 +02:00
Daniel Stenberg
be28825b2d
restore executable bits on some files
2010-03-24 11:07:35 +01:00
Daniel Stenberg
2309b4e330
remove the CVSish $Id$ lines
2010-03-24 11:02:54 +01:00
Yang Tse
aa2f447400
Start using the centralized pidfile and logfile name generation
...
subroutines for http and tftp test suite servers.
2010-01-08 15:54:07 +00:00
Yang Tse
a114b7b1c0
sws and tftpd command line option naming adjustments
2010-01-08 01:48:54 +00:00
Yang Tse
3daa54d636
Revert last change since it breaks running the test suite
...
when builddir is different from srcdir.
2007-11-23 09:50:44 +00:00
Yang Tse
8f1829d1d2
Improve chance of running runtests.pl from outside the
...
source tree 'tests' directory
2007-11-23 04:03:46 +00:00
Daniel Stenberg
83b8de3d43
support --fork and pass that on to sws
2006-04-10 13:09:56 +00:00
Daniel Stenberg
dc28a9c0c1
make sure the ipv6 http server gets its pid stored in a separate file
2004-12-14 21:52:16 +00:00
Daniel Stenberg
9b3b7ad22e
HTTP IPv6 support added to the test suite
2004-12-11 21:41:00 +00:00
Daniel Stenberg
49ab1d914c
provide a source path to the servers to make them find the tests when run
...
outside the source dir, not needing any symlinks
2004-02-12 14:40:08 +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
3bfa06c9a2
improved functionality for new timeout tests
2001-11-02 23:09:25 +00:00
Daniel Stenberg
f933cb3b75
now reports the CORRECT pid on demand
2001-10-24 11:39:15 +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
59a76e4010
Kevin Roth's fixes to make tests work on cygwin
2001-10-10 21:59:10 +00:00
Daniel Stenberg
28dd4e4f1f
made it respond as a http proxy on CONNECT
2001-09-18 15:26:54 +00:00
Daniel Stenberg
7bb7550e23
fixes
2001-05-28 21:49:45 +00:00
Daniel Stenberg
d3516810a7
adjusted to the new test case formats
2001-05-23 15:02:58 +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
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
c576e114b9
output the protocol data to stderr when verbose is on
2001-03-12 12:44:44 +00:00
Daniel Stenberg
d69302202d
minor output fix
2001-01-27 18:51:10 +00:00
Daniel Stenberg
7c6414ebbd
uses stricter output
2000-11-17 15:15:48 +00:00
Daniel Stenberg
fdd91b2209
moved out the FTP part
2000-11-16 09:06:18 +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
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
8e735d1eea
converted shell script to perl
2000-11-13 16:06:16 +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
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
bc84fe1cf3
new perl http server that works better
2000-11-13 08:02:02 +00:00