diff options
author | cedric84 <44369985+cedric84@users.noreply.github.com> | 2023-03-26 13:32:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-26 13:32:22 +0200 |
commit | 7eace058f1a2284c5ef6c5fbc71361c2dc8f7507 (patch) | |
tree | 6bc0d3b9f40c258d2f4f686b2b619f3e16851b8f | |
parent | 265b31ae22c6e1d20b01295aaa7bcf28fd31a5cf (diff) | |
download | patchelf-7eace058f1a2284c5ef6c5fbc71361c2dc8f7507.tar.gz |
Update build-id.sh
This prevents the test to fail when when readelf is localized.
-rwxr-xr-x | tests/build-id.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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)' |