On 6/19/22 13:19, enh via Toybox wrote:
> On Sun, Jun 19, 2022 at 11:02 AM enh <[email protected] 
> <mailto:[email protected]>> wrote:
>
> Add everything that uses xgetrandom(), and also everything that has
> tests (but isn't still in pending) to the macos_defconfig.
>
> I've sorted the list because it's impossible to manage otherwise.
>
> All of the tests pass, except for the tar tests that were already
> failing because there's no *group* called "root" on macOS (group 0
> is called "wheel" instead). I haven't fixed that because it's quite
> invasive, and TIL we're already ignoring macOS test failures in the
> github CI (which is why we hadn't noticed this). There's also one
> failure in the truncate tests: macOS doesn't do sparse file extension.
>
> actually, that's incorrect --- it does (on some/most file systems), but the
> problem with the test is that we use `stat -c`. unfortunately the macOS 
> stat(1)
> only understands `-f` (which means something different to toybox). it doesn't
> understand `-c` or `--format`. this is quite a widespread problem through the
> tests though, not just that one test.

In theory if it's the full "make tests" it should be using toybox stat
to run the other tests. In practice, if stat isn't building on
macos...

Rob
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to