summaryrefslogtreecommitdiff
path: root/gps
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-03 23:22:22 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-03 23:22:22 -0500
commit141afff4c6fcfba1c00e53fa36f18f7743d99400 (patch)
treebb9eecca2015c2fd7cd61b2e8cab7cf926c65ca3 /gps
parent6ff1ae09f2610655e7b84da95973b35fb20efd23 (diff)
downloadgpsd-141afff4c6fcfba1c00e53fa36f18f7743d99400.tar.gz
Create a regression test for the TCP fake source capability.
Also, move the ephemeral ports used for these well up into the private-port range.
Diffstat (limited to 'gps')
-rw-r--r--gps/fake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gps/fake.py b/gps/fake.py
index 54845e5b..634c00fc 100644
--- a/gps/fake.py
+++ b/gps/fake.py
@@ -469,7 +469,7 @@ class TestSession:
self.writers = 0
self.runqueue = []
self.index = 0
- self.baseport = 5000 # Regression tests break if you change this
+ self.baseport = 49194 # In the IANA orivate port range
if port:
self.port = port
else: