diff options
author | Frank Ch. Eigler <fche@redhat.com> | 2023-04-12 09:37:34 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 2023-04-12 09:37:34 -0400 |
commit | e854dc24badddba8bf4209bf45dfeddb7e9858ae (patch) | |
tree | 3ac471705c64f919f136dc33849f24fe1b01bc9a /tests/run-debuginfod-find-metadata.sh | |
parent | 53c0742d1840957ccf61a69edd9d0196035fb636 (diff) | |
download | elfutils-e854dc24badddba8bf4209bf45dfeddb7e9858ae.tar.gz |
makefile compatibility tweak
Diffstat (limited to 'tests/run-debuginfod-find-metadata.sh')
-rwxr-xr-x | tests/run-debuginfod-find-metadata.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/run-debuginfod-find-metadata.sh b/tests/run-debuginfod-find-metadata.sh index 9ac396ad..81a5732b 100755 --- a/tests/run-debuginfod-find-metadata.sh +++ b/tests/run-debuginfod-find-metadata.sh @@ -26,6 +26,8 @@ type curl 2>/dev/null || { echo "need curl"; exit 77; } type jq 2>/dev/null || { echo "need jq"; exit 77; } pkg-config json-c libcurl || { echo "one or more libraries are missing (libjson-c, libcurl)"; exit 77; } +debuginfod-find --help 2>&1 | grep metadata || (echo "compiled without metadata support"; exit 77) + DB=${PWD}/.debuginfod_tmp.sqlite export DEBUGINFOD_CACHE_PATH=${PWD}/.client_cache |