diff options
author | dgp <dgp@users.sourceforge.net> | 2014-03-21 13:40:58 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-03-21 13:40:58 (GMT) |
commit | f715783b1bff0fe44a894ff26049debf8cb184f2 (patch) | |
tree | 0da508a73eb86386acc4e16f2b4c83480660c58e /tests | |
parent | 6b106c4d93bfc4a452a3cf9d78aa3ee25761e553 (diff) | |
download | tcl-f715783b1bff0fe44a894ff26049debf8cb184f2.zip tcl-f715783b1bff0fe44a894ff26049debf8cb184f2.tar.gz tcl-f715783b1bff0fe44a894ff26049debf8cb184f2.tar.bz2 |
Added comment explaining the "knownBug"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/iogt.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/iogt.test b/tests/iogt.test index 3882ecc..3b94747 100644 --- a/tests/iogt.test +++ b/tests/iogt.test @@ -916,6 +916,15 @@ test iogt-6.0 {Push back} testchannel { } {xxx} test iogt-6.1 {Push back and up} {testchannel knownBug} { + + # This test demonstrates the bug/misfeature in the stacked + # channel implementation that data can be discarded if it is + # read into the buffers of one channel in the stack, and then + # that channel is popped before anything above it reads. + # + # This bug can be worked around by always setting -buffersize + # to 1, but who wants to do that? + set f [open $path(dummy) r] # contents of dummy = "abcdefghi..." |