[0/3] Fix tst-ldconfig-ld_so_conf-update and tst-glibc-hwcaps-prepend-cache with custom configure prefix value

Message ID 20230326200016.219-1-romain.geissler@amadeus.com
Headers
Series Fix tst-ldconfig-ld_so_conf-update and tst-glibc-hwcaps-prepend-cache with custom configure prefix value |

Message

Romain Geissler March 26, 2023, 8 p.m. UTC
  Hi,

This small patchset fixes two tests tst-ldconfig-ld_so_conf-update and
tst-glibc-hwcaps-prepend-cache which are failing when using a
non-default --prefix at configuration time, as the tests hardcode
the path /etc/ld.so.conf. Change it to use ${sysconfdir} instead of
/etc.

Cheers,
Romain

Romain Geissler (3):
  support: introduce support_sysconfdir_prefix
  Fix tst-ldconfig-ld_so_conf-update with custom configure prefix value
  Fix tst-glibc-hwcaps-prepend-cache with custom configure prefix value

 elf/tst-glibc-hwcaps-prepend-cache.c | 10 +++++++---
 elf/tst-ldconfig-ld_so_conf-update.c | 13 ++++++++-----
 support/Makefile                     |  3 ++-
 support/support.h                    |  2 ++
 support/support_paths.c              |  7 +++++++
 5 files changed, 26 insertions(+), 9 deletions(-)