aboutsummaryrefslogtreecommitdiff
path: root/tests/getpart.pm
AgeCommit message (Collapse)Author
2020-04-18tests: introduce preprocessed test casesDaniel Stenberg
The runtests script now always performs variable replacement on the entire test source file before the test gets executed, and saves the updated version in a temporary file (log/test[num]) so that all test case readers/servers can use that version (if present) and thus enjoy the powers of test case variable substitution. This is necessary to allow complete port number freedom. Test 309 is updated to work with a non-fixed port number thanks to this.
2020-04-14tests: support hex encoded data and mqtt serverDaniel Stenberg
The mqtt server is started using a "random" port.
2020-03-13server/getpart: make the "XML-parser" stricterDaniel Stenberg
When extracting a <section> <part> and there's no </part> before </section>, this now outputs an error and returns a wrong string to make users spot the mistake. Ref: #5070 Closes #5071
2019-04-13test: make tests and test scripts use socksd for SOCKSDaniel Stenberg
Make all SOCKS tests use socksd instead of ssh.
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2014-07-26getpart.pm: Fix a comment typoFabian Keil
2014-01-26testsuite: visualize line-endings in output comparison diffsMarc Hoersken
2013-04-07Revert "getpart.pm: Strip carriage returns to fix Windows support"Marc Hoersken
This reverts commit e51b23c925a2721cf7c29b2b376d3d8903cfb067. As discussed on the mailinglist, this was not the correct approach.
2013-04-06getpart.pm: Strip carriage returns to fix Windows supportMarc Hoersken
2013-01-22formpost: support quotes, commas and semicolon in file namesUlion
- document the double-quote and backslash need be escaped if quoting. - libcurl formdata escape double-quote in filename by backslash. - curl formparse can parse filename both contains '"' and ',' or ';'. - curl now can uploading file with ',' or ';' in filename. Bug: http://curl.haxx.se/bug/view.cgi?id=1171
2012-06-21getpart.pm: remove misleading commentYang Tse
2012-06-20getpart.pm: make test definition section/part parser more robustYang Tse
Test definition section parts which needed to include xml-lingo as contents of that part required that the xml-blurb was written as a single line. Now the xml-data inside the part can be written multiline making it more readable. Tested with <client><file> part which is written to disk before <command> runs.
2012-06-05tests: adjust file part behavior in test verify section.Yang Tse
When a <file> part is now specified with no contents at all, this will actually verify that the specified file has no contents at all. Previously file contents would be ignored.
2012-02-23Add helper script convsrctest.pl to manipulate --libcurl tests.Colin Hogben
The intention is to take the output of curl's --libcurl option, as exercised in test 14xx, and generate a corresponding test15xx in which the generated code is compiled and run. This will verify that the generated code behaves equivalently to the original invocation of the curl command. The script is not yet integrated into the configure / makefile machinery.
2011-08-04getpart.pm: when no part match, return blank when section endsDaniel Stenberg
2011-03-22headers: more copyright headers addedDaniel Stenberg
2010-02-16replaced tabs with spacesYang Tse
2010-02-14removed trailing whitespaceYang Tse
2007-01-18Make the test script tag parser a bit more robust.Dan Fandrich
Check for the .exe extension on mingw32 builds.
2005-04-28fixed the attribute parser to better handle multiple ones, with or withoutDaniel Stenberg
quotes around the contents
2005-04-28if diff -u makes zero output, try diff -c insteadDaniel Stenberg
2004-11-30Fixed the array comparison function even more, made the temporary files usedDaniel Stenberg
for diff output get created in the log/ dir and no longer deletes them since they help in understanding the problem, fixing the test case and fixing curl problems.
2004-11-30no longer use the MIME::Base64.pm package as it seems to not be standardDaniel Stenberg
on lots of perl versions, provide our own base64 decoder
2004-11-29Enable test cases to provide sections base64-encoded to be able to testDaniel Stenberg
with binary data.
2004-10-25the array sizes _can_ differ and the arrays can still match, since chompDaniel Stenberg
is used at times but it doesn't decrease the array size
2004-04-30support the new libcurl IDN feature, also a first attempt to display a stackDaniel Stenberg
trace if a test results in a 'core' file and gdb is present
2004-02-26we need to hide this warning since it otherwise appears on all verifiedserverDaniel Stenberg
requests to the ftp server!
2004-02-26modified loadtest() to produce better error message when it fails to loadDaniel Stenberg
a test file
2004-02-12provide a source path to the servers to make them find the tests when runDaniel Stenberg
outside the source dir, not needing any symlinks
2003-04-30make the diffs with 'diff -u' to make them nicer and easier to readDaniel Stenberg
2003-03-19set binary mode for some file handling and it might work better on someDaniel Stenberg
cygwin installations (using DOS-style files somehow?)
2002-05-21test suite mods for the netrc testing stuffDaniel Stenberg
2002-01-08added some tracabilityDaniel Stenberg
2001-10-17don't use 'strict' anymore, as it doesn't work good with the cygwin fixesDaniel Stenberg
also, always kill/restart the HTTP server on startup if it is our test server
2001-10-10Kevin Roth's fixes to make tests work on cygwinDaniel Stenberg
2001-05-28fixesDaniel Stenberg
2001-05-23adjusted to the new test case formatsDaniel Stenberg