On 20/08/2016 22:45, Santiago Vila wrote:
> AFAIK, it's the dynamic linker (ld.so) who shows the error, not ping
> itself.

Probably because ping uses setuid.
http://stackoverflow.com/a/11148167/539465

> Could maybe the test suite discard all lines from stderr containing
> the string "libeatmydata.so" before checking if it's empty o not?

Actually, it's the main code which raises the error, and I don't like
the idea of adding a special case for this.

However, this would fix your problem if it gets merged:
https://sourceware.org/bugzilla/show_bug.cgi?id=20172
And Limnoria would not even need to be patched, as environment variables
for the subprocess are inherited.


An other possibility would be to add an option to tell the test suite to
skip tests which use setuid binaries.
This feature could also be useful in some other contexts, for instance
on environment which forbid setuid executables (like Travis CI, although
it whitelisted ping since)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to