chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f354f10
)
allow multiplex testmode to work again
author
ian
<ian>
Fri, 18 Jul 2008 18:17:30 +0000
(18:17 +0000)
committer
ian
<ian>
Fri, 18 Jul 2008 18:17:30 +0000
(18:17 +0000)
with this rune:
./multiplex --testmode=1 --dev_railway=/dev/null
hostside/multiplex
patch
|
blob
|
history
hostside/multiplex-config
patch
|
blob
|
history
diff --git
a/hostside/multiplex
b/hostside/multiplex
index d5aaf1274597edbab44b095aa3fb87d3065076d1..590741bd72ce2e3c050e760c2138f282485ef1a6 100755
(executable)
--- a/
hostside/multiplex
+++ b/
hostside/multiplex
@@
-823,6
+823,7
@@
proc startup {} {
setting testmode 0 {[01]}
setting lputs 0 {[01]}
+ setting dev_railway {} {/.*}
parse-argv {}
uplevel #0 source $libdir/multiplex-config
diff --git
a/hostside/multiplex-config
b/hostside/multiplex-config
index 8cc132d57d7af36b9868bcda983798dc2dc0e802..c3036a9c0de3857d106b4f55d325c5cc55bbe23f 100644
(file)
--- a/
hostside/multiplex-config
+++ b/
hostside/multiplex-config
@@
-17,5
+17,7
@@
set records {
}
set detectlag 100
set realtime_xopts {}
-set dev_railway /dev/railway
+if {![string length $dev_railway]} {
+ set dev_railway /dev/railway
+}
set realtime_retry {} ;# unset would mean don't