]> git.ipfire.org Git - thirdparty/elfutils.git/commit
tests: Fix getphdrnum and run-lfs-symbols.sh testcase.
authorMark Wielaard <mark@klomp.org>
Mon, 23 Mar 2020 22:57:51 +0000 (23:57 +0100)
committerMark Wielaard <mark@klomp.org>
Mon, 23 Mar 2020 22:57:51 +0000 (23:57 +0100)
commit7db645ba72f5711174dbf712003b9600009e5ea7
tree306ca2fbc3e6c9706acbd1f3cf4ea8e878fbe27d
parent7982afbc6ae578e86c235319e79c536a6d867118
tests: Fix getphdrnum and run-lfs-symbols.sh testcase.

getphdrnum.c didn't include config.h which is why run-lfs-symbols.sh
flagged it for containing bad (non-lfs) symbols.

run-lfs-symbols.sh was still checking the libebl modules, which we
don't create anymore. But it didn't fail the test for non-existing
tests. Add some extra logging and explicitly check files exist.

Signed-off-by: Mark Wielaard <mark@klomp.org>
tests/ChangeLog
tests/getphdrnum.c
tests/run-lfs-symbols.sh