diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-05-04 19:33:45 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-05-04 19:33:45 -0400 |
commit | 48548c8b3feee14da62d5a5e9932425c72f4afe9 (patch) | |
tree | a98ddbf55c58115aa4fd4ab31d7cb24a63fe1c9e /gpsfake.xml | |
parent | 8e2d223d06d0787bdd9930256d99f2d2d67a9885 (diff) | |
download | gpsd-48548c8b3feee14da62d5a5e9932425c72f4afe9.tar.gz |
Implement a -u switch to force the test framework to use UDP, not ptys.
The good news is that rgression tests all pass with this case and -u off.
The bad news is that they fail with -u on. It looks like the switch
forces some other bug, previously masked, into the open.
Diffstat (limited to 'gpsfake.xml')
-rw-r--r-- | gpsfake.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gpsfake.xml b/gpsfake.xml index a3aa1e7d..cbeb8e95 100644 --- a/gpsfake.xml +++ b/gpsfake.xml @@ -35,6 +35,7 @@ BSD terms apply: see the file COPYING in the distribution root for details. <arg choice='opt'>-p</arg> <arg choice='opt'>-r <replaceable>initcmd</replaceable></arg> <arg choice='opt'>-s <replaceable>speed</replaceable></arg> + <arg choice='opt'>-u</arg> <arg choice='opt'>-v</arg> <arg rep='repeat'> <arg choice='plain'><replaceable>logfile</replaceable></arg> @@ -115,6 +116,10 @@ The default is <command>?WATCH={"enable":true,"json":true}</command>.</para> <para>The -s option sets the baud rate for the slave tty. The default is 4800.</para> +<para>The -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 -v option enables verbose progress reports to stderr. It is mainly useful for debugging <application>gpsfake</application> itself.</para> |