diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-08-26 02:07:31 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-08-26 02:07:31 +0000 |
commit | ccc24a13509838dce21670743f7604d2adb2e99e (patch) | |
tree | bb74586aa62302eb8ee4bb870d9f358bc39adc15 /gpsfake | |
parent | 1573fe1ee6c9ff19fe039f98994ee019a22dbafa (diff) | |
download | gpsd-ccc24a13509838dce21670743f7604d2adb2e99e.tar.gz |
This may fix the race window in the regression tests.
Diffstat (limited to 'gpsfake')
-rwxr-xr-x | gpsfake | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -151,8 +151,7 @@ if __name__ == '__main__': if verbose: progress = False test.progress = sys.stdout.write - print "Foo!" - + test.spawn() try: for logfile in arguments: try: @@ -176,6 +175,7 @@ if __name__ == '__main__': try: if pipe: test.client_add(client_init + "\n") + time.sleep(1) # Give daemon time to get ready for the feeds. test.run() except socket.error, msg: sys.stderr.write("gpsfake: socket error %s.\n" % msg) |