Commit b312fea1 authored by Aaron Merey's avatar Aaron Merey Committed by Nick Clifton
Browse files

The procedure to find an unused port for the debuginfod tests is susceptible...

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.
parent 728d32c4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment