Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/system: Add, use tcp_port_probe() to check for listeners rather …
…than binds _test_skopeo_credential_sharing() used port_is_free() to check if a port has no active listeners. With the new implementation, this is not equivalent anymore: a port might be in TIME_WAIT, so it's not free, but the listener might be long gone. Add tcp_port_probe() to check if there's an active listener on a given port, and use it in _test_skopeo_credential_sharing(). Signed-off-by: Stefano Brivio <[email protected]>
- Loading branch information