Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
338c669267 | ||
|
|
0666836834 | ||
|
|
0c93e6a978 | ||
|
|
124340611e | ||
|
|
10a5b6e4c7 | ||
|
|
3e4ac217aa |
@@ -9132,7 +9132,7 @@ See RFC 2045
|
||||
|
||||
2022-04-26 (bug)[27520c] test error-9.6 (goth,sebres)
|
||||
|
||||
2022-05-04 (bug)[8eb64b] http package support for Content-encoding: br
|
||||
2022-05-04 (bug)[8eb64b] http package tolerant again invalid reply header
|
||||
|
||||
2022-05-11 (bug)[6898f9] http package failed detection of shiftjis charset
|
||||
|
||||
@@ -9166,4 +9166,4 @@ Update bundled libtommath
|
||||
|
||||
Many code fixes to avoid overflow or undefined behavior. Thanks chrstphrchvz.
|
||||
|
||||
- Released 8.6.13, Nov 16, 2022 - details at https://core.tcl-lang.org/tcl/ -
|
||||
- Released 8.6.13, Nov 22, 2022 - details at https://core.tcl-lang.org/tcl/ -
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace eval ::tcl::test::io {
|
||||
package require -exact Tcltest [info patchlevel]
|
||||
set ::tcltestlib [lindex [package ifneeded Tcltest [info patchlevel]] 1]
|
||||
}
|
||||
source [file join [file dirname [info script]] tcltests.tcl]
|
||||
|
||||
testConstraint testbytestring [llength [info commands testbytestring]]
|
||||
testConstraint testchannel [llength [info commands testchannel]]
|
||||
|
||||
@@ -16,6 +16,8 @@ if {"::tcltest" ni [namespace children]} {
|
||||
namespace import -force ::tcltest::*
|
||||
}
|
||||
|
||||
source [file join [file dirname [info script]] tcltests.tcl]
|
||||
|
||||
# [exec] is required here to see the actual environment received by child
|
||||
# processes.
|
||||
proc getenv {} {
|
||||
|
||||
+1
-3
@@ -18,10 +18,8 @@ if {"::tcltest" ni [namespace children]} {
|
||||
package require tcltest 2.5
|
||||
namespace import -force ::tcltest::*
|
||||
}
|
||||
source [file join [file dirname [info script]] tcltests.tcl]
|
||||
|
||||
# All tests require the "exec" command.
|
||||
# Skip them if exec is not defined.
|
||||
testConstraint exec [llength [info commands exec]]
|
||||
# Some skips when running in a macOS CI environment
|
||||
testConstraint noosxCI [expr {![info exists ::env(MAC_CI)]}]
|
||||
|
||||
|
||||
@@ -15,20 +15,7 @@ namespace eval ::tcl::test::fileSystemEncoding {
|
||||
|
||||
variable fname1 \u767b\u9e1b\u9d72\u6a13
|
||||
|
||||
proc autopath {} {
|
||||
global auto_path
|
||||
set scriptpath [info script]
|
||||
set scriptpathnorm [file dirname [file normalize $scriptpath/...]]
|
||||
set dirnorm [file dirname $scriptpathnorm]
|
||||
set idx [lsearch -exact $auto_path $dirnorm]
|
||||
if {$idx >= 0} {
|
||||
set auto_path [lreplace $auto_path[set auto_path {}] $idx $idx {}]
|
||||
}
|
||||
set auto_path [linsert $auto_path[set auto_path {}] 0 0 $dirnorm]
|
||||
}
|
||||
autopath
|
||||
|
||||
package require tcltests
|
||||
source [file join [file dirname [info script]] tcltests.tcl]
|
||||
|
||||
test filesystemEncoding-1.0 {
|
||||
issue bcd100410465
|
||||
|
||||
+13
-9
@@ -30,6 +30,8 @@ if {[catch {package require http 2} version]} {
|
||||
return
|
||||
}
|
||||
}
|
||||
testConstraint http2.9.7 [package vsatisfies [package provide http] 2.9.7]
|
||||
testConstraint http2.9.8 [package vsatisfies [package provide http] 2.9.8]
|
||||
|
||||
proc bgerror {args} {
|
||||
global errorInfo
|
||||
@@ -119,25 +121,25 @@ test http-1.6 {http::config} -setup {
|
||||
test http-2.1 {http::reset} {
|
||||
catch {http::reset http#1}
|
||||
} 0
|
||||
test http-2.2 {http::CharsetToEncoding} {
|
||||
test http-2.2 {http::CharsetToEncoding} http2.9.7 {
|
||||
http::CharsetToEncoding iso-8859-11
|
||||
} iso8859-11
|
||||
test http-2.3 {http::CharsetToEncoding} {
|
||||
test http-2.3 {http::CharsetToEncoding} http2.9.7 {
|
||||
http::CharsetToEncoding iso-2022-kr
|
||||
} iso2022-kr
|
||||
test http-2.4 {http::CharsetToEncoding} {
|
||||
test http-2.4 {http::CharsetToEncoding} http2.9.7 {
|
||||
http::CharsetToEncoding shift-jis
|
||||
} shiftjis
|
||||
test http-2.5 {http::CharsetToEncoding} {
|
||||
test http-2.5 {http::CharsetToEncoding} http2.9.7 {
|
||||
http::CharsetToEncoding windows-437
|
||||
} cp437
|
||||
test http-2.6 {http::CharsetToEncoding} {
|
||||
test http-2.6 {http::CharsetToEncoding} http2.9.7 {
|
||||
http::CharsetToEncoding latin5
|
||||
} iso8859-9
|
||||
test http-2.7 {http::CharsetToEncoding} {
|
||||
test http-2.7 {http::CharsetToEncoding} http2.9.7 {
|
||||
http::CharsetToEncoding latin1
|
||||
} iso8859-1
|
||||
test http-2.8 {http::CharsetToEncoding} {
|
||||
test http-2.8 {http::CharsetToEncoding} http2.9.7 {
|
||||
http::CharsetToEncoding latin4
|
||||
} binary
|
||||
|
||||
@@ -468,12 +470,14 @@ test http-3.33 {http::geturl application/xml is text} -body {
|
||||
} -cleanup {
|
||||
catch { http::cleanup $token }
|
||||
} -result {test 4660 /test}
|
||||
|
||||
|
||||
test http-3.34 {http::geturl -headers not a list} -returnCodes error -body {
|
||||
http::geturl http://test/t -headers \"
|
||||
} -result {Bad value for -headers ("), must be list}
|
||||
} -constraints http2.9.8 -result {Bad value for -headers ("), must be list}
|
||||
test http-3.35 {http::geturl -headers not even number of elements} -returnCodes error -body {
|
||||
http::geturl http://test/t -headers {List Length 3}
|
||||
} -result {Bad value for -headers (List Length 3), number of list elements must be even}
|
||||
} -constraints http2.9.8 -result {Bad value for -headers (List Length 3), number of list elements must be even}
|
||||
|
||||
test http-4.1 {http::Event} -body {
|
||||
set token [http::geturl $url -keepalive 0]
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace eval ::tcl::test::io {
|
||||
package require -exact Tcltest [info patchlevel]
|
||||
set ::tcltestlib [lindex [package ifneeded Tcltest [info patchlevel]] 1]
|
||||
}
|
||||
source [file join [file dirname [info script]] tcltests.tcl]
|
||||
|
||||
testConstraint testbytestring [llength [info commands testbytestring]]
|
||||
testConstraint testchannel [llength [info commands testchannel]]
|
||||
|
||||
@@ -17,6 +17,7 @@ if {"::tcltest" ni [namespace children]} {
|
||||
package require tcltest 2.5
|
||||
namespace import -force ::tcltest::*
|
||||
}
|
||||
source [file join [file dirname [info script]] tcltests.tcl]
|
||||
|
||||
::tcltest::loadTestedCommands
|
||||
catch [list package require -exact Tcltest [info patchlevel]]
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
|
||||
package require tcltest 2.5
|
||||
source [file join [file dirname [info script]] tcltests.tcl]
|
||||
|
||||
namespace eval ::tcl::test::platform {
|
||||
namespace import ::tcltest::testConstraint
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#! /usr/bin/env tclsh
|
||||
|
||||
# Don't overwrite tcltests facilities already present
|
||||
if {[package provide tcltests] ne {}} return
|
||||
|
||||
package require tcltest 2.5
|
||||
namespace import ::tcltest::*
|
||||
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
# be fully finalized, which avoids valgrind "still reachable" reports.
|
||||
|
||||
package require tcltest 2.5
|
||||
namespace import ::tcltest::*
|
||||
source [file join [file dirname [info script]] tcltests.tcl]
|
||||
|
||||
::tcltest::loadTestedCommands
|
||||
catch [list package require -exact Tcltest [info patchlevel]]
|
||||
|
||||
Reference in New Issue
Block a user