[PATCH] [binutils/testsuite] debuginfod.exp: Improve port selection

Aaron Merey amerey@redhat.com
Thu Feb 13 15:27:00 GMT 2020


On Thu, Feb 13, 2020 at 3:42 AM Andreas Schwab <schwab@suse.de> wrote:
> > +# Find an unused port
> > +set port 7999
> > +set found 0
> > +while { ! $found } {
> > +  incr port
> > +  if { $port == 65536 } {
> > +    fail "$test (no available ports)"
>
> That should be unsupported or untested, not fail.

Thanks Andreas, I've updated the patch.

Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-binutils-testsuite-debuginfod.exp-Improve-port-selec.patch
Type: text/x-patch
Size: 3282 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20200213/86106245/attachment.bin>


More information about the Binutils mailing list