summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2014-03-21 13:40:58 (GMT)
committerdgp@users.sourceforge.net <dgp>2014-03-21 13:40:58 (GMT)
commit3f2d7b2ae2b404c02e30f7ffb326dc8f1b103f34 (patch)
tree0da508a73eb86386acc4e16f2b4c83480660c58e
parent80c91fcdfbe07625d34a7501bb7adbeb452b5066 (diff)
downloadtcl-3f2d7b2ae2b404c02e30f7ffb326dc8f1b103f34.zip
tcl-3f2d7b2ae2b404c02e30f7ffb326dc8f1b103f34.tar.gz
tcl-3f2d7b2ae2b404c02e30f7ffb326dc8f1b103f34.tar.bz2
Added comment explaining the "knownBug"
-rw-r--r--tests/iogt.test9
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..."