On Sun, Jun 19, 2022 at 11:02 AM enh <[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.


> ---
>  kconfig/macos_miniconfig | 106 +++++++++++++++++++++------------------
>  1 file changed, 57 insertions(+), 49 deletions(-)
>
>
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to