summaryrefslogtreecommitdiff
path: root/tests/build-id.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/build-id.sh')
-rwxr-xr-xtests/build-id.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/build-id.sh b/tests/build-id.sh
index 94ddc4c..dc44a7a 100755
--- a/tests/build-id.sh
+++ b/tests/build-id.sh
@@ -13,4 +13,4 @@ long_rpath="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
--set-rpath "$long_rpath" "${SCRATCH}/libbuildid.so"
# older readelf versions do not recognize build id, but we can grep by constant
-readelf -n "${SCRATCH}/libbuildid.so" | grep -q -F -e 'Build ID' -e 'Unknown note type: (0x00000003)'
+${READELF} -n "${SCRATCH}/libbuildid.so" | grep -q -F -e 'Build ID' -e 'Unknown note type: (0x00000003)'