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: Bernhard Voelker
Subject: Re: [PATCH] tests: dd: replace LD_PRELOAD of fail-ftruncate-fstat.sh by strace
Date: Sat, 22 Aug 2026 16:42:13 +0200
User-agent: Mozilla Thunderbird

On 8/21/26 12:07, PƔdraig Brady wrote:
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.

alright, fair enough.

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.

I wasn't thinking about any GNU/Linux based system, but rather other
OSes we as GNU are supporting.

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

indeed, that would be too much for a white-box test.

Thanks & have a nice day,
Berny



reply via email to

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