diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-02-07 16:57:52 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-02-07 16:57:52 (GMT) |
commit | e531333021510f661d5882a3c327338d0206fdec (patch) | |
tree | b50a7a91c251280895b1a372ed504b9ca0fa667d /tests/chanio.test | |
parent | 55f5b1c3506c8460a36e62c977c9bcbabc90c4d6 (diff) | |
parent | 387f9a6753a7866f35f4fc71c0e2bbb9fed77514 (diff) | |
download | tcl-e531333021510f661d5882a3c327338d0206fdec.zip tcl-e531333021510f661d5882a3c327338d0206fdec.tar.gz tcl-e531333021510f661d5882a3c327338d0206fdec.tar.bz2 |
Merge 8.7
Diffstat (limited to 'tests/chanio.test')
-rw-r--r-- | tests/chanio.test | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/chanio.test b/tests/chanio.test index 6ab204f4..578dc9f 100644 --- a/tests/chanio.test +++ b/tests/chanio.test @@ -18,8 +18,6 @@ if {"::tcltest" ni [namespace children]} { namespace import -force ::tcltest::* } -testConstraint nodep [info exists tcl_precision] - namespace eval ::tcl::test::io { if {"::tcltest" ni [namespace children]} { @@ -251,7 +249,7 @@ test chan-io-3.3 {WriteChars: compatibility with WriteBytes: flush on line} -bod } -cleanup { chan close $f } -result "\r\n12" -test chan-io-3.4 {WriteChars: loop over stage buffer} nodep { +test chan-io-3.4 {WriteChars: loop over stage buffer} deprecated { # stage buffer maps to more than can be queued at once. set f [open $path(test1) w] chan configure $f -encoding jis0208 -buffersize 16 @@ -260,7 +258,7 @@ test chan-io-3.4 {WriteChars: loop over stage buffer} nodep { chan close $f lappend x [contents $path(test1)] } [list "!)!)!)!)!)!)!)!)" "!)!)!)!)!)!)!)!)!)!)!)!)!)!)!)"] -test chan-io-3.5 {WriteChars: saved != 0} nodep { +test chan-io-3.5 {WriteChars: saved != 0} deprecated { # Bytes produced by UtfToExternal from end of last channel buffer had to # be moved to beginning of next channel buffer to preserve requested # buffersize. @@ -287,7 +285,7 @@ test chan-io-3.6 {WriteChars: (stageRead + dstWrote == 0)} { chan close $f lappend x [contents $path(test1)] } [list "12345678901234\x82\x60" "12345678901234\x82\x60\x82\x61"] -test chan-io-3.7 {WriteChars: (bufPtr->nextAdded > bufPtr->length)} nodep { +test chan-io-3.7 {WriteChars: (bufPtr->nextAdded > bufPtr->length)} deprecated { # When translating UTF-8 to external, the produced bytes went past end of # the channel buffer. This is done on purpose - we then truncate the bytes # at the end of the partial character to preserve the requested blocksize |