]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/131: dynamically allocate tcp listen port to avoid port clashes
authorTahsin Erdogan <tahsin@google.com>
Wed, 8 Jun 2016 18:52:41 +0000 (11:52 -0700)
committerEryu Guan <eguan@redhat.com>
Wed, 15 Jun 2016 07:37:41 +0000 (15:37 +0800)
commitb936f63c2793c4bf5b6ac8fbf9b3a28522a7111f
tree9d70bf7f6771b8fe6641860a1aaabe4ff332369b
parent795ea36a18c559412d8a2062e6ea49aeee764f70
generic/131: dynamically allocate tcp listen port to avoid port clashes

Current port selection algorithm is bound to have port clashes. To
eliminate clashes, let server pick an unused port and report it on
stdout.

Signed-off-by: Tahsin Erdogan <tahsin@google.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
src/locktest.c
tests/generic/131