]> git.ipfire.org Git - thirdparty/elfutils.git/commit
tests: Restructure run-debuginfod-response-headers.sh
authorMark Wielaard <mark@klomp.org>
Sun, 19 Nov 2023 13:14:11 +0000 (14:14 +0100)
committerMark Wielaard <mark@klomp.org>
Sun, 19 Nov 2023 15:58:59 +0000 (16:58 +0100)
commit2ac936d8ca538ea4e21fd76e9088aa8a89bdbc31
tree7c347294ead18eed02f2d908aa08446dcf7d9507
parent1bd9deb9aa19ac2e2fa9665009e0d5924adcf4d3
tests: Restructure run-debuginfod-response-headers.sh

run-debuginfod-response-headers.sh does occassionally fail because
it might scan an rpm more than once. Try to fix this by making sure
all files that debuginfod is supposed to scan are ready before the
server starts. And to explicitly wait till the first scan is ready
and done before testing 'scanned_files_total{source=".rpm archive"}'
instead of sending an kill -USR1.

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