chiark / gitweb /
allow multiplex testmode to work again
authorian <ian>
Fri, 18 Jul 2008 18:17:30 +0000 (18:17 +0000)
committerian <ian>
Fri, 18 Jul 2008 18:17:30 +0000 (18:17 +0000)
with this rune:
 ./multiplex --testmode=1 --dev_railway=/dev/null

hostside/multiplex
hostside/multiplex-config

index d5aaf1274597edbab44b095aa3fb87d3065076d1..590741bd72ce2e3c050e760c2138f282485ef1a6 100755 (executable)
@@ -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
index 8cc132d57d7af36b9868bcda983798dc2dc0e802..c3036a9c0de3857d106b4f55d325c5cc55bbe23f 100644 (file)
@@ -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