From 7eace058f1a2284c5ef6c5fbc71361c2dc8f7507 Mon Sep 17 00:00:00 2001 From: cedric84 <44369985+cedric84@users.noreply.github.com> Date: Sun, 26 Mar 2023 13:32:22 +0200 Subject: Update build-id.sh This prevents the test to fail when when readelf is localized. --- tests/build-id.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/build-id.sh b/tests/build-id.sh index c9bf712..a1051b1 100755 --- a/tests/build-id.sh +++ b/tests/build-id.sh @@ -13,4 +13,5 @@ long_rpath="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA --set-rpath "$long_rpath" "${SCRATCH}/libbuildid.so" # older readelf versions do not recognize build id, but we can grep by constant +LANG=en_US ${READELF} -n "${SCRATCH}/libbuildid.so" | grep -q -F -e 'Build ID' -e 'Unknown note type: (0x00000003)' -- cgit v1.2.1