summaryrefslogtreecommitdiff
path: root/test/daemon/tcp-test.log
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 /test/daemon/tcp-test.log
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 'test/daemon/tcp-test.log')
-rw-r--r--test/daemon/tcp-test.log17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/daemon/tcp-test.log b/test/daemon/tcp-test.log
new file mode 100644
index 00000000..9668b847
--- /dev/null
+++ b/test/daemon/tcp-test.log
@@ -0,0 +1,17 @@
+# Name: Generic NMEA
+# Submitter: Eric S. Raymond <esr@thyrsus.com>
+# Date: 2013-11-03
+# Transport: TCP
+# Notes: The most significant thing about this test load is not the content,
+# but the magic cookie that tells it to feed the daemon over TCP
+# rather than a pseudo-tty. We include spme leading garbage as a
+# robustness check for the packetizer. There is a UDP test load
+# that feeds the same content.
+,1.7,-30.40,M,-13.9,M,,*7D
+$GPGGA,193221.00,2037.72792,N,08704.08478,W,1,04,1.7,-30.40,M,-13.9,M,,*7D
+$GPGSA,A,3,10,28,09,13,,,,,,,,,03.4,01.7,03.0*00
+$GPGSV,3,1,12,28,14,150,41,09,15,254,41,10,43,192,47,13,06,081,36*7A
+$GPGSV,3,2,12,02,56,323,,04,41,024,,12,31,317,,17,31,085,*72
+$GPGSV,3,3,12,05,15,318,,24,02,246,,33,08,096,,35,45,118,*7D
+$GPRMC,193221.00,A,2037.7279,N,08704.0848,W,00.1,201.8,231207,01,W,A*2D
+$GPZDA,193223.00,23,12,2007,00,00*69