]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
tests: Run strip under testrun in run-debuginfod-find.sh
authorMark Wielaard <mark@klomp.org>
Fri, 6 Dec 2019 14:48:00 +0000 (15:48 +0100)
committerMark Wielaard <mark@klomp.org>
Tue, 10 Dec 2019 23:38:10 +0000 (00:38 +0100)
Otherwise strip might run against the system libelf which might be too
old or missing.

Signed-off-by: Mark Wielaard <mark@klomp.org>
tests/ChangeLog
tests/run-debuginfod-find.sh

index fb881e761fdbfff15bc0153a39bba65f0c2e663c..ffa4ef51f08d9cde02380c0143ee3a992d13e984 100644 (file)
@@ -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.
index 0ade03b758757dd1c640522ca148ab01ad626aa1..6f92fbf119e0ae3b60786c3d003c1f6003471e2f 100755 (executable)
@@ -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`