Loading CHANGES +8 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,14 @@ Changelog Dan F (24 October 2007) - Fixed the test FTP server to support the >10000 test number notation - Added test cases 2000 and 2001 which test multiple protocols using the same easy handle - Fixed the filecheck: make target to work outside the source tree Daniel S (24 October 2007) - Vladimir Lazarenko pointed out that we should do some 'mt' magic when building with VC8 to get the "manifest" embedded to make fine stand-alone Loading tests/README +2 −1 Original line number Diff line number Diff line Loading @@ -128,7 +128,8 @@ TEST CASE NUMBERS 500 - 599 libcurl source code tests, not using the curl command tool 600 - 699 SCP/SFTP 700 - 799 SOCKS4 (even numbers) and SOCK5 (odd numbers) 1000 - x miscellaneous* 1000 - 1999 miscellaneous* 2000 - x multiple sequential protocols per test case* Since 30-apr-2003, there's nothing in the system that requires us to keep within these number series, and those sections marked with * actually Loading tests/data/DISABLED +2 −0 Original line number Diff line number Diff line Loading @@ -4,3 +4,5 @@ # per line. # Lines starting with '#' letters are treated as comments. #1009 2000 2001 tests/data/Makefile.am +3 −3 Original line number Diff line number Diff line Loading @@ -45,13 +45,13 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test706 test707 test350 test351 test352 test353 test289 test540 test354 \ test231 test1000 test1001 test1002 test1003 test1004 test1005 test1006 \ test615 test1007 test541 test1010 test1011 test1012 test542 test543 \ test536 test1008 test1009 test536 test1008 test1009 test2000 test2001 filecheck: @mkdir test-place; \ cp test[0-9]* test-place/; \ cp "$(top_srcdir)"/tests/data/test[0-9]* test-place/; \ for f in $(EXTRA_DIST); do \ if test -f $$f; then \ if test -f "$(top_srcdir)/tests/data/$$f"; then \ rm -f test-place/$$f; \ else \ echo "$$f is listed but missing!"; \ Loading tests/data/test2000 0 → 100644 +60 −0 Original line number Diff line number Diff line <testcase> <info> <keywords> FTP PASV FILE multiprotocol </keywords> </info> # # Server-side <reply> <data> data to see that FTP works so does it? </data> </reply> # # Client-side <client> <server> ftp file </server> <name> FTP RETR followed by FILE </name> <command> ftp://%HOSTIP:%FTPPORT/2000 file://localhost/%PWD/log/test2000.txt </command> <file name="log/test2000.txt"> foo bar bar foo moo </file> </client> # # Verify data after the test has been "shot" <verify> <protocol> USER anonymous PASS ftp@example.com PWD EPSV TYPE I SIZE 2000 RETR 2000 QUIT </protocol> </verify> </testcase> Loading
CHANGES +8 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,14 @@ Changelog Dan F (24 October 2007) - Fixed the test FTP server to support the >10000 test number notation - Added test cases 2000 and 2001 which test multiple protocols using the same easy handle - Fixed the filecheck: make target to work outside the source tree Daniel S (24 October 2007) - Vladimir Lazarenko pointed out that we should do some 'mt' magic when building with VC8 to get the "manifest" embedded to make fine stand-alone Loading
tests/README +2 −1 Original line number Diff line number Diff line Loading @@ -128,7 +128,8 @@ TEST CASE NUMBERS 500 - 599 libcurl source code tests, not using the curl command tool 600 - 699 SCP/SFTP 700 - 799 SOCKS4 (even numbers) and SOCK5 (odd numbers) 1000 - x miscellaneous* 1000 - 1999 miscellaneous* 2000 - x multiple sequential protocols per test case* Since 30-apr-2003, there's nothing in the system that requires us to keep within these number series, and those sections marked with * actually Loading
tests/data/DISABLED +2 −0 Original line number Diff line number Diff line Loading @@ -4,3 +4,5 @@ # per line. # Lines starting with '#' letters are treated as comments. #1009 2000 2001
tests/data/Makefile.am +3 −3 Original line number Diff line number Diff line Loading @@ -45,13 +45,13 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test706 test707 test350 test351 test352 test353 test289 test540 test354 \ test231 test1000 test1001 test1002 test1003 test1004 test1005 test1006 \ test615 test1007 test541 test1010 test1011 test1012 test542 test543 \ test536 test1008 test1009 test536 test1008 test1009 test2000 test2001 filecheck: @mkdir test-place; \ cp test[0-9]* test-place/; \ cp "$(top_srcdir)"/tests/data/test[0-9]* test-place/; \ for f in $(EXTRA_DIST); do \ if test -f $$f; then \ if test -f "$(top_srcdir)/tests/data/$$f"; then \ rm -f test-place/$$f; \ else \ echo "$$f is listed but missing!"; \ Loading
tests/data/test2000 0 → 100644 +60 −0 Original line number Diff line number Diff line <testcase> <info> <keywords> FTP PASV FILE multiprotocol </keywords> </info> # # Server-side <reply> <data> data to see that FTP works so does it? </data> </reply> # # Client-side <client> <server> ftp file </server> <name> FTP RETR followed by FILE </name> <command> ftp://%HOSTIP:%FTPPORT/2000 file://localhost/%PWD/log/test2000.txt </command> <file name="log/test2000.txt"> foo bar bar foo moo </file> </client> # # Verify data after the test has been "shot" <verify> <protocol> USER anonymous PASS ftp@example.com PWD EPSV TYPE I SIZE 2000 RETR 2000 QUIT </protocol> </verify> </testcase>