[Toybox] macOS realpath test failures

Rob Landley rob at landley.net
Fri Dec 2 00:48:06 PST 2022



On 11/30/22 15:59, enh wrote:
> 
> 
> On Wed, Nov 30, 2022 at 1:54 PM Rob Landley <rob at landley.net
> <mailto:rob at landley.net>> wrote:
> 
>     On 11/28/22 12:41, enh via Toybox wrote:
>     > github CI caught a few failures
> 
>     Sigh. There's a reason this has been on the todo list for literally years. It's
>     corner cases all the way down and I don't have a mac test environment. (Works on
>     linux not on mac means a libc function is returning something different,
>     possibly because a syscall did, possibly because the VFS did something funky...)
> 
>     > (https://github.com/landley/toybox/actions/runs/3561813808/jobs/5983047254
>     <https://github.com/landley/toybox/actions/runs/3561813808/jobs/5983047254>):
>     >
>     > PASS: realpath -s
>     > ............................................................................
>     > ................................................
>     > realpath: dos/three: Not a directory
> 
>     Not a directory? Up top we did:

WHY does it have a bunch dots in front of it? Did the stderr pipeline REALLY not
flush from the build all the way until the first error message to stderr with a
newline? (What process is collecting that information into an unflushed stdio
buffer? scripts/make.sh exited quite a while ago by this point...)

> yeah, no hurry, just explaining in advance why i'm not looking at a
> post-thanksgiving update yet :-)

Dealing with MacOS is reminding me how gnu gets away with being so bad.

Rob


More information about the Toybox mailing list