diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-09-29 08:29:51 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-09-29 08:29:51 -0400 |
commit | 790e9c47262937c65812ba0a2addbf40e335b31d (patch) | |
tree | c4b9616711478beb8aef4aa7d9be52f4e9c216ea /gpsfake.xml | |
parent | 73e6088325d980e7cf5f2c50bc57511289724de7 (diff) | |
download | gpsd-790e9c47262937c65812ba0a2addbf40e335b31d.tar.gz |
Enhance gpsfake so it can be used to test TCP sources.
Diffstat (limited to 'gpsfake.xml')
-rw-r--r-- | gpsfake.xml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gpsfake.xml b/gpsfake.xml index 7a509392..e2280d81 100644 --- a/gpsfake.xml +++ b/gpsfake.xml @@ -39,6 +39,7 @@ BSD terms apply: see the file COPYING in the distribution root for details. <arg choice='opt'>-r <replaceable>initcmd</replaceable></arg> <arg choice='opt'>-s <replaceable>speed</replaceable></arg> <arg choice='opt'>-u</arg> + <arg choice='opt'>-t</arg> <arg choice='opt'>-v</arg> <arg rep='repeat'> <arg choice='plain'><replaceable>logfile</replaceable></arg> @@ -144,9 +145,15 @@ The default is <command>?WATCH={"enable":true,"json":true}</command>.</para> <para>The <option>-s</option> sets the baud rate for the slave tty. The default is 4800.</para> -<para>The <option>-u</option> forces the test framework to use UDP rather than -pty devices. This may be useful for testing from within chroot jails -where access to pty devices is locked out.</para> +<para>The <option>-t</option> forces the test framework to use TCP +rather than pty devices. Besides being a test of TCP source handling, +this may be useful for testing from within chroot jails where access +to pty devices is locked out.</para> + +<para>The <option>-u</option> forces the test framework to use UDP +rather than pty devices. Besides being a test of UDP source handling, +this may be useful for testing from within chroot jails where access +to pty devices is locked out.</para> <para>The <option>-v</option> enables verbose progress reports to stderr. It is mainly useful for debugging <application>gpsfake</application> |