summaryrefslogtreecommitdiff
path: root/gpsfake.xml
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-04 10:33:36 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-04 10:33:36 -0500
commit51f1ff0ab2f1fcfa2f5867cf1da92722a5e761e6 (patch)
tree8cb082fcaba623b2ca03c97b74b518d8977b4acc /gpsfake.xml
parent162d66319b7767a2a62ed19a064b7986e78a642b (diff)
downloadgpsd-51f1ff0ab2f1fcfa2f5867cf1da92722a5e761e6.tar.gz
Delay-Cookie feature in test loads almost works.
What's missing is that leading non-packet data is discarded because we loop using the packet getter. All regression tests pass. PPS is live.
Diffstat (limited to 'gpsfake.xml')
-rw-r--r--gpsfake.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/gpsfake.xml b/gpsfake.xml
index 9d1f7a1f..8faaba6f 100644
--- a/gpsfake.xml
+++ b/gpsfake.xml
@@ -195,6 +195,15 @@ slave port that the daemon sees.</para></listitem>
<listitem><para>Values 'TCP' and 'UDP' force the use of TCP and
UDP feeds respectively (the default is a pty).</para></listitem>
</varlistentry>
+<varlistentry>
+<term>Delay-Cookie:</term>
+<listitem><para>Must be followed by two whitespace-separated fields, a
+delimiter character and a numeric delay in seconds. Instead of being
+broken up by packet boundaries, the test load is split on the
+delimiters. The delay is performed after each feed. Can be useful
+for imposing write boundaries in the middle of packets.
+</para></listitem>
+</varlistentry>
</variablelist>
</refsect1>