Lines 2-7
Link Here
|
2 |
# This softare is released under the BSD License. See the COPYING file for |
2 |
# This softare is released under the BSD License. See the COPYING file for |
3 |
# more information. |
3 |
# more information. |
|
|
4 |
package require Tcl 8.5 |
5 |
|
4 |
set tcl_precision 17 |
6 |
set tcl_precision 17 |
5 |
source tests/support/redis.tcl |
7 |
source tests/support/redis.tcl |
6 |
source tests/support/server.tcl |
8 |
source tests/support/server.tcl |
Lines 189-195
proc test_server_main {} {
Link Here
|
189 |
set start_port [expr {$::port+100}] |
191 |
set start_port [expr {$::port+100}] |
190 |
for {set j 0} {$j < $::numclients} {incr j} { |
192 |
for {set j 0} {$j < $::numclients} {incr j} { |
191 |
set start_port [find_available_port $start_port] |
193 |
set start_port [find_available_port $start_port] |
192 |
set p [exec tclsh8.5 [info script] {*}$::argv \ |
194 |
set p [exec tclsh [info script] {*}$::argv \ |
193 |
--client $port --port $start_port &] |
195 |
--client $port --port $start_port &] |
194 |
lappend ::clients_pids $p |
196 |
lappend ::clients_pids $p |
195 |
incr start_port 10 |
197 |
incr start_port 10 |