Pádraig Brady <[email protected]> writes:

> On 18/09/2025 20:40, Bruno Haible wrote:
>> On AIX 7.3 (machine cfarm119.cfarm.net, with gcc as compiler, and
>> configured with --with-openssl=no) I see 3 test failures:
>> FAIL: tests/help/help-version.sh
>> FAIL: tests/install/basic-1.sh
>> FAIL: tests/mkdir/p-3.sh
>> Here are the relevant parts of test-suite.log.
>> 
>
> Are the paths setup ok?
> Because the logs are confusing.
>
> help-version.sh for example is outputting
>   test: ] missing
> but coreutils outputs
>   [: missing ‘]’
>
> So I'm suspecting the wrong '[' binary is being executed.
> Similarly for the mkdir failure.
>
> Are bash builtins in play here or something?
>
> Does the following fail similarly?
>
> make SHELL=/bin/ksh TESTS='tests/help/help-version.sh' SUBDIRS=. check

Ah, you made me remember something that I noticed on AIX. I think their
'make' implementation does not properly handle '[' in target names.

If you run 'gmake' following 'make', you should see that '[' gets
created by 'gmake', when one would expect everything to already be
created by the 'make' invocation.

Do you think we should just require GNU Make in that situation? Or build
'[' as a different file name, so the target is supported and then do
something like 'mv src/intermediate-lbracket src/[' so we can support
it?

Collin

Reply via email to