Closed
Description
On an non-English system the run-make tests/run-make/dylib-soname
test fails because it searches a english "needle" but readelf
may print it in another language.
--- stderr -------------------------------
=== HAYSTACK ===
La section dynamique à l'offset 0x156868 contient 29 entrées :
Étiquettes Type Nom/Valeur
0x0000000000000001 (NEEDED) Bibliothèque partagée : [libgcc_s.so.1]
0x0000000000000001 (NEEDED) Bibliothèque partagée : [libc.so.6]
0x0000000000000001 (NEEDED) Bibliothèque partagée : [ld-linux-x86-64.so.2]
0x000000000000000e (SONAME) Bibliothèque soname : [libfoo.so]
[..]
=== NEEDLE ===
Library soname: [libfoo.so]
thread 'main' panicked at [..]/rust/tests/run-make/dylib-soname/rmake.rs:17:14:
needle was not found in haystack
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Putting LC_ALL=C
in my environment variable makes readelf
use it's default (English) language.
We should probably do that for all the run-make tests.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done