]> git.ipfire.org Git - thirdparty/glibc.git/commit
elf: Fix tst-pldd for non-default --prefix and/or --bindir (BZ#24544)
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 13 May 2019 16:13:46 +0000 (13:13 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 14 May 2019 14:04:41 +0000 (11:04 -0300)
commitda2b83ef6ba6f4c974664f69e715cc85b9173938
tree55d5fc64f44ad76bd62d7b98ba879c7e7b2896fb
parentc7ac9caaae6f8d02d4e0c7618d4991324a084c66
elf: Fix tst-pldd for non-default --prefix and/or --bindir (BZ#24544)

Use a new libsupport support_bindir_prefix instead of a hardcoded
/usr/bin to create the pldd path on container directory.

Checked on x86_64-linux-gnu with default and non-default --prefix and
--bindir paths, as well with --enable-hardcoded-path-in-tests.

[BZ #24544]
* elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
pre-defined value.

Reviewed-by: DJ Delorie <dj@redhat.com>
ChangeLog
elf/tst-pldd.c