Skip to content

Commit 7eace05

Browse files
authored
Update build-id.sh
This prevents the test to fail when when readelf is localized.
1 parent 265b31a commit 7eace05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/build-id.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ long_rpath="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
1313
--set-rpath "$long_rpath" "${SCRATCH}/libbuildid.so"
1414

1515
# older readelf versions do not recognize build id, but we can grep by constant
16+
LANG=en_US
1617
${READELF} -n "${SCRATCH}/libbuildid.so" | grep -q -F -e 'Build ID' -e 'Unknown note type: (0x00000003)'

0 commit comments

Comments
 (0)