coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tests: dd: replace LD_PRELOAD of fail-ftruncate-fstat.sh by


From: Pádraig Brady
Subject: Re: [PATCH] tests: dd: replace LD_PRELOAD of fail-ftruncate-fstat.sh by strace
Date: Fri, 21 Aug 2026 11:07:26 +0100
User-agent: Mozilla Thunderbird Beta

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

[Prev in Thread] Current Thread [Next in Thread]