Import Tcl 8.6.11
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
# See the file "license.terms" for information on usage and redistribution
|
||||
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
|
||||
if {[lsearch [namespace children] ::tcltest] == -1} {
|
||||
package require tcltest 2
|
||||
if {"::tcltest" ni [namespace children]} {
|
||||
package require tcltest 2.5
|
||||
namespace import -force ::tcltest::*
|
||||
}
|
||||
|
||||
@@ -173,7 +173,7 @@ test chan-16.9 {chan command: pending input subcommand} -setup {
|
||||
|
||||
lappend ::chan-16.9-data $r $l $e $b $i
|
||||
|
||||
if {$r != -1 || $e || $l || !$b || $i > 128} {
|
||||
if {$r >= 0 || $e || $l || !$b || $i > 128} {
|
||||
set data [read $sock $i]
|
||||
lappend ::chan-16.9-data [string range $data 0 2]
|
||||
lappend ::chan-16.9-data [string range $data end-2 end]
|
||||
|
||||
Reference in New Issue
Block a user