cURL / Mailing Lists / curl-library / Single Mail


Re: [PATCH 7/8] tests: use single quotes for some tests

From: Tor Arntsen <>
Date: Mon, 10 Nov 2014 17:02:28 +0100

On 10 November 2014 15:07, Peter Wu <> wrote:
> On Monday 10 November 2014 14:47:21 Tor Arntsen wrote:
>> On 10 November 2014 14:00, Peter Wu <> wrote:
>> > Text::ParseWords is a core module,
>> Maybe on Linux, but not on AIX 6.x for example. For those other
>> operating systems it's a major hassle if you need to install
>> additional modules via cpan. In practice it won't get installed.

It turns out that Text::ParseWords is actuially part of the AIX perl
core - I was mistaken. But I have not checked the other systems I
build for, yet.

> The perl module is a single file[0], can't you just download it and put the
> directoy into $PERL5LIB? If it is too hard, then perhaps a custom function could
> be written that properly follows the POSIX standard which would make this patch
> unnecessary.
> What about IPC::Run[1]? It should be supported for AIX[2].

IPC::Run is not part of the AIX perl core, unfortunately.

Anything installed for a libcurl build really has to be part of what's
maintained through the package manager, in other words - no downloaded
file(s) (including via cpan). It's not just about being able to
quickly add another build system (for autobuilds or otherwise), for
example, one of our customers occasionally builds the libcurl RPM (for
AIX) themselves (normally we provide one for them). But on their build
system everything installed must be through the package management
system. They cannot (and I would not myself either) depend on
something installed sidewise. It quickly gets out of hand when this is
a system installed by an organisation instead of just a single
computer owned by a single developer.

In general I wish that the testing environment (and everything else)
depends on as little complexity as possible, i.e. standard shell (and
not depending on bash'isms, for example), sed, awk etc. These days a
basic Perl system is part of nearly every *nix system out there, and
Windows as well. But just the core. Python, for example, is not
standard yet. Even on systems with Python installed (e.g. AIX), there
are so many Python versions that in practice it won't work anyway.
Because of that there are now some tests that won't run on my
non-Linux autobuild systems because at some point some tests were
changed to require Python setups as if everything is Linux (and the
world isn't entirely Linux, even though I myself has been since 1992).

Best regards,
List admin:
Received on 2014-11-10