cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] Enable multiple files in test scripts

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 13 Feb 2012 12:57:32 +0100 (CET)

On Sun, 12 Feb 2012, Colin Hogben wrote:

> 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.

Lovely!

With this series applied I get test failures on test 222, do you? The fail
does however look like it was wrong previously and now the results instead
looks correct and thus mismatch. Just wanted to check if you spot the same.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-02-13