commit | b312fea191f0118c2438198f5069d25b0b527178 | [log] [tgz] |
---|---|---|
author | Aaron Merey <amerey@redhat.com> | Mon Mar 02 12:46:47 2020 +0000 |
committer | Nick Clifton <nickc@redhat.com> | Mon Mar 02 12:46:47 2020 +0000 |
tree | 9f37be99059bb51a91a8102a00f27fd4fa2f73af | |
parent | 728d32c496435cbd2529f7de9f5277d88c9c04e2 [diff] |
The procedure to find an unused port for the debuginfod tests is susceptible to a TOCTOU failure. Change port finding in order to avoid this. Also use 'expect' to interact with the server process since we now use the server's output to determine whether a port is in use. * binutils/testsuite/binutils-all/debuginfod.exp: Improve port selection.