]> git.ipfire.org Git - thirdparty/elfutils.git/commit
tests: Print metrics for both ports on error and fix port selection
authorMark Wielaard <mark@klomp.org>
Mon, 6 Sep 2021 21:04:06 +0000 (23:04 +0200)
committerMark Wielaard <mark@klomp.org>
Mon, 6 Sep 2021 21:04:11 +0000 (23:04 +0200)
commit7880ccb6483e76847cdf1c6c4e45a2180bee820a
tree6d2a49a30f3b8c1a8f600d2378f0481c0bff76cf
parent44a36e39fc7df2a3e2f9f278f79f65233d774a48
tests: Print metrics for both ports on error and fix port selection

On error we would only print the metrics of one port (twice) because
of a typo. Also PORT1 and PORT2 could be equal because of a logic
error. Fix the typo and simplify the port selection by using
non-overlapping ranges to select PORT1 and PORT2.
tests/ChangeLog
tests/debuginfod-subr.sh