diff options
author | Mark Wielaard <mark@klomp.org> | 2019-12-06 15:48:00 +0100 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2019-12-11 00:38:10 +0100 |
commit | eaffa79d52da7454044be53d28b525cebdb0093b (patch) | |
tree | ac504ca34d86dcd8197d03ae187137786b4c2b67 | |
parent | 858e7305de677001b364b45183b35f4dd7a20864 (diff) | |
download | elfutils-eaffa79d52da7454044be53d28b525cebdb0093b.tar.gz |
tests: Run strip under testrun in run-debuginfod-find.sh
Otherwise strip might run against the system libelf which might be too
old or missing.
Signed-off-by: Mark Wielaard <mark@klomp.org>
-rw-r--r-- | tests/ChangeLog | 4 | ||||
-rwxr-xr-x | tests/run-debuginfod-find.sh | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index fb881e76..ffa4ef51 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2019-12-05 Mark Wielaard <mark@klomp.org> + + * run-findinfod-find.sh: Run strip under testrun. + 2019-12-06 Mark Wielaard <mark@klomp.org> * backtrace-data.c (main): Add break after assert. diff --git a/tests/run-debuginfod-find.sh b/tests/run-debuginfod-find.sh index 0ade03b7..6f92fbf1 100755 --- a/tests/run-debuginfod-find.sh +++ b/tests/run-debuginfod-find.sh @@ -102,7 +102,7 @@ export DEBUGINFOD_TIMEOUT=10 echo "int main() { return 0; }" > ${PWD}/prog.c tempfiles prog.c gcc -g -o prog ${PWD}/prog.c - ${abs_top_builddir}/src/strip -g -f prog.debug ${PWD}/prog +testrun ${abs_top_builddir}/src/strip -g -f prog.debug ${PWD}/prog BUILDID=`env LD_LIBRARY_PATH=$ldpath ${abs_builddir}/../src/readelf \ -a prog | grep 'Build ID' | cut -d ' ' -f 7` |