On 21/08/2026 07:29, Bernhard Voelker wrote:
On 8/20/26 17:25, Pádraig Brady wrote:
* tests/dd/fail-ftruncate-fstat.sh: Replace LD_PRELOAD by strace
to support static executables.

Doesn't this decrease coverage considerably on systems or platforms
where strace does not work/exist?
A fair point, though gcc + LD_PRELOAD limits portability also,
essentially restricting to Linux.

Also this test is more a dev focused test than a system focused one.
I.e. focused on the behavior of the source, rather than
some sytem behavioral test.

Also strace is installed by default on OpenSuse,
and through the c-development group or developer-workstation-environment on 
Fedora,
or directly by folks trying to minimize skips.

We could support both methods in the test of course,
though I thought it was overkill in this case.

cheers,
Padraig

Reply via email to