diff options
author | dgp <dgp@users.sourceforge.net> | 2007-11-27 19:48:05 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-11-27 19:48:05 (GMT) |
commit | b65175e0556b45c22a1e5b702ad58b49d436e5b9 (patch) | |
tree | eefc2f76870f11bd1dc12b530300c880b34a4e82 /tests | |
parent | 5b704020810cc6cd47e7e04537036e7e2c3fdf37 (diff) | |
download | tcl-b65175e0556b45c22a1e5b702ad58b49d436e5b9.zip tcl-b65175e0556b45c22a1e5b702ad58b49d436e5b9.tar.gz tcl-b65175e0556b45c22a1e5b702ad58b49d436e5b9.tar.bz2 |
* doc/chan.n: "Fix" the limitation on channel -eofchar
* doc/fconfigure.n: values to single byte characters by documenting
* generic/tclIO.c: it and making it fail loudly. Thanks to
* tests/chan.test: Stuart Cassoff for contributing the fix.
[Bug 800753]
Diffstat (limited to 'tests')
-rw-r--r-- | tests/chan.test | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/chan.test b/tests/chan.test index 1108216..f86ffb5 100644 --- a/tests/chan.test +++ b/tests/chan.test @@ -7,7 +7,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: chan.test,v 1.8 2006/12/17 03:44:03 das Exp $ +# RCS: @(#) $Id: chan.test,v 1.9 2007/11/27 19:48:13 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -37,6 +37,12 @@ test chan-3.1 {chan command: close subcommand} -body { test chan-4.1 {chan command: configure subcommand} -body { chan configure } -returnCodes error -result "wrong # args: should be \"chan configure channelId ?optionName? ?value? ?optionName value?...\"" +test chan-4.2 {chan command: [Bug 800753]} -body { + chan configure stdout -eofchar \u0100 +} -returnCodes error -match glob -result {bad value*} +test chan-4.3 {chan command: [Bug 800753]} -body { + chan configure stdout -eofchar \u0000 +} -returnCodes error -match glob -result {bad value*} test chan-5.1 {chan command: copy subcommand} -body { chan copy foo |