chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae46157
)
Leave a bit of headroom above test port number, since we go at least
author
Richard Kettlewell
<rjk@greenend.org.uk>
Sat, 18 Jul 2009 12:43:11 +0000
(13:43 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Sat, 18 Jul 2009 12:43:11 +0000
(13:43 +0100)
one above it. Almost certainly the cause of issue #36.
tests/dtest.py
patch
|
blob
|
blame
|
history
diff --git
a/tests/dtest.py
b/tests/dtest.py
index e2fed308aadda9a7a0af4a1a88d48c5b303cb8df..8a4644a128e2efc94887ab6d72a9749fdc7e66c5 100644
(file)
--- a/
tests/dtest.py
+++ b/
tests/dtest.py
@@
-202,10
+202,10
@@
def common_setup():
os.mkdir(testroot)
# Choose a port
global port
- port = random.randint(49152, 6553
5
)
+ port = random.randint(49152, 6553
0
)
while not bindable(port + 1):
print "port %d is not bindable, trying another" % (port + 1)
- port = random.randint(49152, 6553
5
)
+ port = random.randint(49152, 6553
0
)
# Log anything sent to that port
packetlog = "%s/packetlog" % testroot
subprocess.Popen(["disorder-udplog",