cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] Enable multiple files in test scripts

From: Colin Hogben <curl_at_pythontech.co.uk>
Date: Sun, 12 Feb 2012 12:27:27 +0000

When writing a test case, I discovered that the getpart() function in
runtests.pl concatenates the content of all <client><file> sections,
whereas I would prefer to have several different files created (e.g. to
verify multi-file upload). This concatenation 'feature' does not appear
to be used by any existing test cases.

The attached patches allow for multiple <client><file> sections and
<verify><file> sections, and update test1315 to use this facility.

-- 
Colin Hogben
Received on 2012-02-12