cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] Allow various Curl test suite tests to work on non-ASCII platforms

From: Yang Tse <yangsita_at_gmail.com>
Date: Fri, 8 May 2009 18:28:56 +0200

2009/5/8, David McCreedy wrote:

> How about a new <strippartconv> (or some similar name) that only applies for
> systems that use CURL_DOES_CONVERSIONS?
> I've tried this out and it works.
> It would be ignored on systems that don't use CURL_DOES_CONVERSIONS.
> And it's more flexible than a newline-specific approach.

<strippart [condition="feature"]>

- strippart with no condition given should be processed unconditionally.

- strippart with a 'feature' or "property" condition given only
processed/executed when the feature or property is availanle.

This should allow finer control and multiple strippart sections
present at once in a test definition.

For this issue this would represent that test definitions for 508 and
555 would contain...

<strippart condition="curl_does_conversions">
# remove CR that CURLOPT_TRANSFERTEXT added:
perl-line-to-operate-on-the-protocol-dump
</strippart>

Which "feature" string literals are supported for 'strippart' could be
easylly expanded as you/we need them.

-- 
-=[Yang]=-
Received on 2009-05-08