summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2022-11-14 17:24:56 (GMT)
committerdgp <dgp@users.sourceforge.net>2022-11-14 17:24:56 (GMT)
commit1a3ade0a6fa13ee4d06cf4e52b498c0579bc903b (patch)
treed032c93e6989517203e1df93312f5a38c083e6c8
parent7c5899368038b1f25f6d2230553986e212e49708 (diff)
parent2a1443e0e07d217161b094cf6e550f63ef2cab54 (diff)
downloadtcl-1a3ade0a6fa13ee4d06cf4e52b498c0579bc903b.zip
tcl-1a3ade0a6fa13ee4d06cf4e52b498c0579bc903b.tar.gz
tcl-1a3ade0a6fa13ee4d06cf4e52b498c0579bc903b.tar.bz2
merge 8.6
-rw-r--r--changes2
-rw-r--r--tests/chanio.test1
-rw-r--r--tests/env.test2
-rw-r--r--tests/exec.test2
-rw-r--r--tests/io.test1
-rw-r--r--tests/ioCmd.test2
-rw-r--r--tests/platform.test1
-rw-r--r--tests/thread.test3
-rw-r--r--tests/util.test10
9 files changed, 8 insertions, 16 deletions
diff --git a/changes b/changes
index 4483334..d75258c 100644
--- a/changes
+++ b/changes
@@ -9166,4 +9166,4 @@ Update bundled libtommath
Many code fixes to avoid overflow or undefined behavior. Thanks chrstphrchvz.
-- Released 8.6.13, Nov 15, 2022 - details at https://core.tcl-lang.org/tcl/ -
+- Released 8.6.13, Nov 16, 2022 - details at https://core.tcl-lang.org/tcl/ -
diff --git a/tests/chanio.test b/tests/chanio.test
index 5381a88..0f45819 100644
--- a/tests/chanio.test
+++ b/tests/chanio.test
@@ -34,7 +34,6 @@ namespace eval ::tcl::test::io {
package require -exact Tcltest [info patchlevel]
set ::tcltestlib [lindex [package ifneeded Tcltest [info patchlevel]] 1]
}
- package require tcltests
testConstraint testbytestring [llength [info commands testbytestring]]
testConstraint testchannel [llength [info commands testchannel]]
diff --git a/tests/env.test b/tests/env.test
index ff111e9..6c46532 100644
--- a/tests/env.test
+++ b/tests/env.test
@@ -16,8 +16,6 @@ if {"::tcltest" ni [namespace children]} {
namespace import -force ::tcltest::*
}
-package require tcltests
-
# [exec] is required here to see the actual environment received by child
# processes.
proc getenv {} {
diff --git a/tests/exec.test b/tests/exec.test
index 0f5db76..4cc4a05 100644
--- a/tests/exec.test
+++ b/tests/exec.test
@@ -19,8 +19,6 @@ if {"::tcltest" ni [namespace children]} {
namespace import -force ::tcltest::*
}
-package require tcltests
-
# All tests require the "exec" command.
# Skip them if exec is not defined.
testConstraint exec [llength [info commands exec]]
diff --git a/tests/io.test b/tests/io.test
index 94d8764..cd4c954 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -34,7 +34,6 @@ namespace eval ::tcl::test::io {
package require -exact Tcltest [info patchlevel]
set ::tcltestlib [lindex [package ifneeded Tcltest [info patchlevel]] 1]
}
- package require tcltests
testConstraint testbytestring [llength [info commands testbytestring]]
testConstraint testchannel [llength [info commands testchannel]]
diff --git a/tests/ioCmd.test b/tests/ioCmd.test
index 898d076..99bb464 100644
--- a/tests/ioCmd.test
+++ b/tests/ioCmd.test
@@ -21,8 +21,6 @@ if {"::tcltest" ni [namespace children]} {
::tcltest::loadTestedCommands
catch [list package require -exact Tcltest [info patchlevel]]
-package require tcltests
-
# Custom constraints used in this file
testConstraint testchannel [llength [info commands testchannel]]
diff --git a/tests/platform.test b/tests/platform.test
index 042469b..6b775cf 100644
--- a/tests/platform.test
+++ b/tests/platform.test
@@ -10,7 +10,6 @@
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
package require tcltest 2.5
-package require tcltests
namespace eval ::tcl::test::platform {
namespace import ::tcltest::testConstraint
diff --git a/tests/thread.test b/tests/thread.test
index 7c7dc27..28934a2 100644
--- a/tests/thread.test
+++ b/tests/thread.test
@@ -15,7 +15,8 @@
# when thread::release is used, -wait is passed in order allow the thread to
# be fully finalized, which avoids valgrind "still reachable" reports.
-package require tcltests
+package require tcltest 2.5
+namespace import ::tcltest::*
::tcltest::loadTestedCommands
catch [list package require -exact Tcltest [info patchlevel]]
diff --git a/tests/util.test b/tests/util.test
index d0b98a5..11ee3fa 100644
--- a/tests/util.test
+++ b/tests/util.test
@@ -528,7 +528,7 @@ test util-8.6 {TclNeedSpace - correct utf-8 handling} testdstring {
testdstring append \} -1
list [llength [testdstring get]] [string length [testdstring get]]
} {2 8}
-test util-8.7 {TclNeedSpace - watch out for escaped space} {
+test util-8.7 {TclNeedSpace - watch out for escaped space} testdstring {
testdstring free
testdstring append {\ } -1
testdstring start
@@ -537,7 +537,7 @@ test util-8.7 {TclNeedSpace - watch out for escaped space} {
# Should make {\ {}}
list [llength [testdstring get]] [string index [testdstring get] 3]
} {2 \{}
-test util-8.8 {TclNeedSpace - watch out for escaped space} {
+test util-8.8 {TclNeedSpace - watch out for escaped space} testdstring {
testdstring free
testdstring append {\\ } -1
testdstring start
@@ -546,7 +546,7 @@ test util-8.8 {TclNeedSpace - watch out for escaped space} {
# Should make {\\ {}}
list [llength [testdstring get]] [string index [testdstring get] 3]
} {2 \{}
-test util-8.9 {TclNeedSpace - watch out for escaped space} {
+test util-8.9 {TclNeedSpace - watch out for escaped space} testdstring {
testdstring free
testdstring append {\\\ } -1
testdstring start
@@ -555,7 +555,7 @@ test util-8.9 {TclNeedSpace - watch out for escaped space} {
# Should make {\\\ {}}
list [llength [testdstring get]] [string index [testdstring get] 5]
} {2 \{}
-test util-8.10 {TclNeedSpace - watch out for escaped space} {
+test util-8.10 {TclNeedSpace - watch out for escaped space} testdstring {
testdstring free
testdstring append {\\\\\\\ } -1
testdstring start
@@ -564,7 +564,7 @@ test util-8.10 {TclNeedSpace - watch out for escaped space} {
# Should make {\\\\\\\ {}}
list [llength [testdstring get]] [string index [testdstring get] 9]
} {2 \{}
-test util-8.11 {TclNeedSpace - watch out for escaped space} {
+test util-8.11 {TclNeedSpace - watch out for escaped space} testdstring {
testdstring free
testdstring append {\\\\\\\\ } -1
testdstring start