diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-13 05:08:52 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-13 05:33:06 -0500 |
commit | 876c11517277d03581e5f2bc2e9bdfc9a619a932 (patch) | |
tree | c7417f9898ba551129ffe3c73b2f50e437408720 /gpsfake | |
parent | 7c1520149fa993a048c2d2948af4d0ee13323f62 (diff) | |
download | gpsd-876c11517277d03581e5f2bc2e9bdfc9a619a932.tar.gz |
Don't allocate a private port when cycling logs for client testing.
All regression tests pass.
Diffstat (limited to 'gpsfake')
-rwxr-xr-x | gpsfake | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -166,6 +166,10 @@ if __name__ == '__main__': else: print >>sys.stderr, "Processing %s" % ",".join(arguments) + # Don't allocate a private port when cycling logs for client testing. + if port is None and not singleshot: + port = gps.GPSD_PORT + test = gpsfake.TestSession(prefix=monitor, port=port, options=doptions, tcp=tcp, udp=udp, verbose=verbose, predump=predump, slow=slow) |