Solo tests should work with loopn

Former-commit-id: bc7ea8fb20c71ace6c35559791e2e8dc6bf4097b
This commit is contained in:
John Sully 2020-06-07 15:06:50 -04:00
parent 97908941bf
commit 0120d23a48

View File

@ -215,7 +215,7 @@ proc s {args} {
# test server, so that the test server will send them again to
# clients once the clients are idle.
proc run_solo {name code} {
if {$::numclients == 1 || $::loop || $::external} {
if {$::numclients == 1 || $::loop < 0 || $::external} {
# run_solo is not supported in these scenarios, just run the code.
eval $code
return