mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 03:31:07 +00:00
elf/tst-rtld-does-not-exist: Pass --inhibit-cache to rtld
This avoids a test failure when the system has no /etc/ld.so.cache. Tested on x86_64-linux-gnu. Signed-off-by: Xi Ruoyao <xry111@xry111.site> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
910aae6e5a
commit
d905183f0b
@ -19,7 +19,9 @@
|
||||
|
||||
export LC_ALL=C
|
||||
|
||||
rtld="$1"
|
||||
# --inhibit-cache to suppress "No such file or directory" message when
|
||||
# /etc/ld.so.cache does not exist.
|
||||
rtld="$1 --inhibit-cache"
|
||||
tmp_out="$(mktemp)"
|
||||
|
||||
$rtld program-does-not-exist 2>"$tmp_out"
|
||||
|
Loading…
Reference in New Issue
Block a user