diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-07 07:05:35 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-07 07:05:35 -0500 |
commit | da16b5f3e379e89d30207b0fba92559e0f99e502 (patch) | |
tree | 4a9f67d50e486e1a298c6e8f1850939099c8ef6c /test/daemon | |
parent | 7d2389b9b492026e0b653e3eccdba89b0ee113b6 (diff) | |
download | gpsd-da16b5f3e379e89d30207b0fba92559e0f99e502.tar.gz |
Polish the JSON passthrough code, and add a regression test.
Diffstat (limited to 'test/daemon')
-rw-r--r-- | test/daemon/passthrough.log | 8 | ||||
-rw-r--r-- | test/daemon/passthrough.log.chk | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/test/daemon/passthrough.log b/test/daemon/passthrough.log new file mode 100644 index 00000000..1aca5827 --- /dev/null +++ b/test/daemon/passthrough.log @@ -0,0 +1,8 @@ +# Name: JSON +# Submitter: Eric S. Raymond <esr@thyrsus.com> +# Date: 2013-11-07 +# Notes: Tests the JSON passthrough feature. +# +{"class":"XXX","text":"U can't touch dis."} +{"class":"YYY","path":"theyellowbrickroad"} +{"class":"ZZZ","device":"amireacleofstrange"} diff --git a/test/daemon/passthrough.log.chk b/test/daemon/passthrough.log.chk new file mode 100644 index 00000000..d82280bf --- /dev/null +++ b/test/daemon/passthrough.log.chk @@ -0,0 +1,3 @@ +{"class":"XXX","text":"U can't touch dis."}
+{"class":"YYY","path":"theyellowbrickroad"}
+{"class":"ZZZ"}
|