tests: Better way to pick an unused port.
commita6da0f769471ac2bc0e37fc4737f7d0dced05379
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 13 Apr 2019 06:48:03 +0000 (13 07:48 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 13 Apr 2019 06:48:03 +0000 (13 07:48 +0100)
tree5c3544c56ace19d94825f2d85cec5246de9eb828
parenteadfe661e0a53632b9c6f260de8fa7a407818f4a
tests: Better way to pick an unused port.

Slightly less racy way to pick an unused port (the problem is
inherently racy however).
tests/functions.sh.in
tests/test-ip.sh
tests/test-tls-psk.sh
tests/test-tls.sh