summaryrefslogtreecommitdiff
path: root/test/clientlib
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-11-25 10:53:22 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-11-25 10:53:22 +0000
commit2e3c6121b2ca8fde76c77d85819b1300488329cd (patch)
tree07e00dfd530ab71e352c79f80feb64e7c2fa4c36 /test/clientlib
parentd167c8ef71322964f58f5cffc71bdcfc0c96c713 (diff)
downloadgpsd-2e3c6121b2ca8fde76c77d85819b1300488329cd.tar.gz
Create a regression-test framework for the client library...
...directly parallel to that for the daemon.
Diffstat (limited to 'test/clientlib')
-rw-r--r--test/clientlib/oldstyle.log2
-rw-r--r--test/clientlib/oldstyle.log.chk8
2 files changed, 10 insertions, 0 deletions
diff --git a/test/clientlib/oldstyle.log b/test/clientlib/oldstyle.log
new file mode 100644
index 00000000..29f41d2d
--- /dev/null
+++ b/test/clientlib/oldstyle.log
@@ -0,0 +1,2 @@
+GPSD,O=RMC 1207318966.000 0.005 49.026225 12.188348 375.20 19.20 10.40 70.8900 24.899 0.000 75.6699 38.40 ? 3
+$GPVTG,70.89,T,,M,48.40,N,89.6,K,A*34
diff --git a/test/clientlib/oldstyle.log.chk b/test/clientlib/oldstyle.log.chk
new file mode 100644
index 00000000..60cd0396
--- /dev/null
+++ b/test/clientlib/oldstyle.log.chk
@@ -0,0 +1,8 @@
+flags: (0x833fe) {TIME|TIMERR|LATLON|ALTITUDE|SPEED|TRACK|CLIMB|STATUS|MODE|HERR|VERR|SPEEDERR}
+TIME: 1207318966.000000
+LATLON: lat/lon: 49.026225 12.188348
+ALTITUDE: altitude: 375.200000 U: climb: 0.000000
+SPEED: 24.899000
+TRACK: track: 70.890000
+CLIMB: climb: 0.000000
+STATUS: status: 1 (FIX)