[PATCH v2] Mount /tmp as tmpfs in test-container and run utime tests in it

DJ Delorie dj@redhat.com
Wed Mar 10 19:00:17 GMT 2021


Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
> So maybe it would be better to do something similar as Joseph did to
> proper handle it [5] and mark the tests unsupported if the '/tmp'
> is XFS or any buggy one.

If it were as easy to detect and XFS mount as to check idn2's version
(one function call), and as difficult to access a working idn2
interface, I'd say sure, xfail it.

But in this case, we have a way of testing our interface independently
of kernel bugs - mounting tmpfs gives us a way to *validly* test our
code on a *known good* kernel module.  I don't think we should throw
away that test.

We're allowed to have two tests...



More information about the Libc-alpha mailing list