diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-05-13 13:41:53 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-05-20 17:42:03 +0200 |
commit | 478cdc0742ece77d443de2e8642dcb1a059029c3 (patch) | |
tree | e0e9bf4644164d0e22780f1e07a7ac5685553473 /tests/suite/mini-eagain2.c | |
parent | 267a0de476dfeec9fd3efc1b48aa6174d7575f63 (diff) | |
download | gnutls-478cdc0742ece77d443de2e8642dcb1a059029c3.tar.gz |
tests: simplified server launching process
Also attempt to use a new port on every started server and
added a waiting period for the port to become re-usable.
Diffstat (limited to 'tests/suite/mini-eagain2.c')
-rw-r--r-- | tests/suite/mini-eagain2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/suite/mini-eagain2.c b/tests/suite/mini-eagain2.c index 5fabb982cd..cf0ea5ec4b 100644 --- a/tests/suite/mini-eagain2.c +++ b/tests/suite/mini-eagain2.c @@ -68,7 +68,7 @@ static const char */ static int tcp_connect(void) { - const char *PORT = "5445"; + const char *PORT = getenv("PORT"); const char *SERVER = "127.0.0.1"; //verisign.com int err, sd; int flag = 1, curstate = 0; |