coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-9.0.193-54bec on Cygwin


From: Pádraig Brady
Subject: Re: coreutils-9.0.193-54bec on Cygwin
Date: Tue, 12 Apr 2022 23:45:13 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Thunderbird/97.0

On 12/04/2022 23:11, Bruno Haible wrote:
Pádraig Brady wrote:
FAIL: tests/misc/env

These are due to `env .` being treated as command not found,
rather than cannot invoke. I saw reference that windows
createprocess may strip trailing '.', so I'm guessing './' may be ok here.
Attached uses ./ in this context in these tests.

This change doesn't help, for me.
Both /usr/bin/env and src/env fail with "No such file or directory"
when the argument is . or ./ — no difference.

The only way I can make 'env' return with exit code 126 is
   src/env sh -c 'exit 126'

Drats.

I'll push the attached instead to correlate
the execvp() return using other commands,
and avoid the check if the other command doesn't return 126.

thanks,
Pádraig.

Attachment: dot-file-cygwin-avoid.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]