Loading CHANGES +5 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,11 @@ Changelog Dan F (30 April 2007) - Improved the test harness to allow running test servers on other than the default port numbers, allowing more than one test suite to run simultaneously on the same host. Daniel S (28 April 2007) - Peter O'Gorman fixed libcurl to not init GnuTLS as early as we did before, since it then inits libgcrypt and libgcrypt is being evil and EXITS the Loading tests/FILEFORMAT +1 −0 Original line number Diff line number Diff line Loading @@ -265,6 +265,7 @@ advanced. Example: "s/^EPRT .*/EPRT stripped/" the protocol dump curl should transmit, if 'nonewline' is set, we will cut off the trailing newline of this given data before comparing with the one actually sent by the client Variables are substituted as in the <command> section. </protocol> <stdout [mode="text"]> This verifies that this data was passed to stdout. Loading tests/README +6 −2 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ Requires: stunnel (for HTTPS and FTPS tests) sshd (for SCP and SFTP tests; OpenSSH ver. 3.8 is known to work) TCP ports used: TCP ports used by default: - 8990 on localhost for HTTP tests - 8991 on localhost for HTTPS tests Loading @@ -29,6 +29,10 @@ TCP ports used: encryption to the regular servers. For SSH, it runs a standard OpenSSH server. The base port number shown above can be changed using runtests' -b option to allow running more than one instance of the test suite simultaneously on one machine. Run: 'make test'. This invokes the 'runtests.pl' perl script. Edit the top variables of that script in case you have some specific needs. Loading tests/data/test75 +5 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,11 @@ HTTP, urlglob retrieval with bad range <command option="no-output"> "http://%HOSTIP:%HTTPPORT/[2-1]" -o "log/weee#1.dump" --stderr - </command> # The error message on stdout implicitly depends on the length of the # URL, so refuse to run if the length is unexpected. <precheck> perl %SRCDIR/libtest/test75.pl http://%HOSTIP:%HTTPPORT/ 22 </precheck> </client> # Loading tests/libtest/Makefile.am +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ INCLUDES = -I$(top_srcdir)/include/curl \ LIBDIR = $(top_builddir)/lib EXTRA_DIST = test307.pl EXTRA_DIST = test75.pl test307.pl test610.pl # files used only in some libcurl test programs TESTUTIL = testutil.c testutil.h Loading Loading
CHANGES +5 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,11 @@ Changelog Dan F (30 April 2007) - Improved the test harness to allow running test servers on other than the default port numbers, allowing more than one test suite to run simultaneously on the same host. Daniel S (28 April 2007) - Peter O'Gorman fixed libcurl to not init GnuTLS as early as we did before, since it then inits libgcrypt and libgcrypt is being evil and EXITS the Loading
tests/FILEFORMAT +1 −0 Original line number Diff line number Diff line Loading @@ -265,6 +265,7 @@ advanced. Example: "s/^EPRT .*/EPRT stripped/" the protocol dump curl should transmit, if 'nonewline' is set, we will cut off the trailing newline of this given data before comparing with the one actually sent by the client Variables are substituted as in the <command> section. </protocol> <stdout [mode="text"]> This verifies that this data was passed to stdout. Loading
tests/README +6 −2 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ Requires: stunnel (for HTTPS and FTPS tests) sshd (for SCP and SFTP tests; OpenSSH ver. 3.8 is known to work) TCP ports used: TCP ports used by default: - 8990 on localhost for HTTP tests - 8991 on localhost for HTTPS tests Loading @@ -29,6 +29,10 @@ TCP ports used: encryption to the regular servers. For SSH, it runs a standard OpenSSH server. The base port number shown above can be changed using runtests' -b option to allow running more than one instance of the test suite simultaneously on one machine. Run: 'make test'. This invokes the 'runtests.pl' perl script. Edit the top variables of that script in case you have some specific needs. Loading
tests/data/test75 +5 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,11 @@ HTTP, urlglob retrieval with bad range <command option="no-output"> "http://%HOSTIP:%HTTPPORT/[2-1]" -o "log/weee#1.dump" --stderr - </command> # The error message on stdout implicitly depends on the length of the # URL, so refuse to run if the length is unexpected. <precheck> perl %SRCDIR/libtest/test75.pl http://%HOSTIP:%HTTPPORT/ 22 </precheck> </client> # Loading
tests/libtest/Makefile.am +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ INCLUDES = -I$(top_srcdir)/include/curl \ LIBDIR = $(top_builddir)/lib EXTRA_DIST = test307.pl EXTRA_DIST = test75.pl test307.pl test610.pl # files used only in some libcurl test programs TESTUTIL = testutil.c testutil.h Loading