Loading CHANGES +5 Changes for CHANGES: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -6,6 +6,11 @@ Changelog Patrick M (25 October 2007) - Fixed test server to allow null bytes in binary posts. _ Added tests 35, 544 & 545 to check binary data posts, both static (in place) and dynamic (copied). Daniel S (25 October 2007) - Michal Marek fixed the test script to be able to use valgrind even when the lib is built shared with libtool. Loading tests/data/Makefile.am +2 −1 Changes for tests/data/Makefile.am: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -45,7 +45,8 @@ 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 test2000 test2001 test2002 test2003 test536 test1008 test1009 test2000 test2001 test2002 test2003 test35 \ test544 test545 filecheck: @mkdir test-place; \ Loading tests/data/test35 +743 B File added.No diff preview for this file type. View file tests/data/test544 +49 Changes for tests/data/test544: 49 added lines, 0 removed lines. Original line number Diff line number Diff line <testcase> # # Server-side <reply> <data mode="text"> HTTP/1.1 200 OK swsclose Date: Thu, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Content-Length: 3 OK </data> </reply> # Client-side <client> <server> http </server> # tool is what to use instead of 'curl' <tool> lib544 </tool> <name> HTTP POST text data using CURLOPT_COPYPOSTFIELDS </name> <command> http://%HOSTIP:%HTTPPORT/544 </command> </client> # # Verify data after the test has been "shot" <verify> <strip> ^User-Agent:.* </strip> <protocol nonewline="yes"> POST /544 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* Content-Length: 4 Content-Type: application/x-www-form-urlencoded This </protocol> </verify> </testcase> tests/data/test545 +748 B File added.No diff preview for this file type. View file Loading
CHANGES +5 Changes for CHANGES: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -6,6 +6,11 @@ Changelog Patrick M (25 October 2007) - Fixed test server to allow null bytes in binary posts. _ Added tests 35, 544 & 545 to check binary data posts, both static (in place) and dynamic (copied). Daniel S (25 October 2007) - Michal Marek fixed the test script to be able to use valgrind even when the lib is built shared with libtool. Loading
tests/data/Makefile.am +2 −1 Changes for tests/data/Makefile.am: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -45,7 +45,8 @@ 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 test2000 test2001 test2002 test2003 test536 test1008 test1009 test2000 test2001 test2002 test2003 test35 \ test544 test545 filecheck: @mkdir test-place; \ Loading
tests/data/test544 +49 Changes for tests/data/test544: 49 added lines, 0 removed lines. Original line number Diff line number Diff line <testcase> # # Server-side <reply> <data mode="text"> HTTP/1.1 200 OK swsclose Date: Thu, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Content-Length: 3 OK </data> </reply> # Client-side <client> <server> http </server> # tool is what to use instead of 'curl' <tool> lib544 </tool> <name> HTTP POST text data using CURLOPT_COPYPOSTFIELDS </name> <command> http://%HOSTIP:%HTTPPORT/544 </command> </client> # # Verify data after the test has been "shot" <verify> <strip> ^User-Agent:.* </strip> <protocol nonewline="yes"> POST /544 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* Content-Length: 4 Content-Type: application/x-www-form-urlencoded This </protocol> </verify> </testcase>