summaryrefslogtreecommitdiffstats
path: root/tests/iogt.test
Commit message (Collapse)AuthorAgeFilesLines
* Repair broken tests iogt-2.[123].dgp2014-05-171-0/+3
| | | | | | What happened is that now that EOF flags no loger leak acros channel stack layers, an EOF in the bottom channel isn't detected in the top one until the ChanRead call at the top level actually returns 0 bytes. This causes one more query/ma
* Correct namespace bugs in normally skipped tests.dgp2014-05-091-6/+8
| | | Constrain them as "knownBug" rather than "unknownFailure".
* Added comment explaining the "knownBug" in iogt-6.1dgp2014-05-091-0/+9
|
* Have to manage the lifetime of the self handle in testchannel transform.dgp2014-05-061-1/+0
|
* Segfaulting test (backport of iortrans-5.11).dgp2014-05-051-1/+21
|
* Backport channel self restacking support. (Test iogt-2.4).dgp2014-05-021-1/+1
|\
| * Stop the segfault in iogt-2.4. First by changing the UpdateInterest()dgp2014-05-011-1/+1
| | | | | | | | | | | | | | call that triggers it. "downChanPtr" may no longer be the right argument at that point. Second, after ending the segfault, the test became an infinite loop (nested unstacking?! whoa.), so revised the test to one that terminates (and passes). Left behind a comment that the recursive unstacking case may require more examination.
| * Test iogt-2.4 is another segfault demo for [721ec69271].dgp2014-03-271-0/+35
| |\ | |/ |/|
| * No longer build tcltest.exe to run the tests,but use tclsh86.exe in ↵jan.nijtmans2012-07-291-0/+4
| | | | | | | | combination with tcltest86.dll to do that (Windows only)
| * Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
| |\ | | | | | | cause more harm than good. Purged them (except in zlib files).
| * | * tests/chanio.test, tests/iogt.test, tests/ioTrans.test: Convert moredkf2010-11-241-308/+169
| | | | | | | | | | | | tests to tcltest2 and factor them to be easier to understand.
* | | Test iogt-2.4 is another segfault demo for [721ec69271].dgp2014-03-271-0/+33
| |/ |/|
* | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
|\ \ | |/ |/| more harm than good. Purged them.
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | more harm than good. Purged them.
| * * generic/tclIO.c (Tcl_SetChannelBufferSize): Lowest size limitdavygrvy2005-04-141-3/+3
| | | | | | | | | | | | | | | | | | | | * tests/io.test: changed from ten bytes to one byte. Need * tests/iogt.test: for this change was proven by Ross Cartlidge <rossc@cisco.com> where [read stdin 1] was grabbing 10 bytes followed by starting a child process that was intended to continue reading from stdin. Even with -buffersize set to one, nine chars were getting lost by the buffersize over reading for the native read() caused by [read].
* | Keep most tests from making sockets that are reachable off the machine.dkf2006-11-031-2/+2
| |
* | * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/fconfigure.n, doc/interp.n, doc/unknown.n: * library/auto.tcl, library/init.tcl, library/package.tcl: * library/safe.tcl, library/tm.tcl, library/msgcat/msgcat.tcl: * tests/all.tcl, tests/basic.test, tests/cmdInfo.test: * tests/compile.test, tests/encoding.test, tests/execute.test: * tests/fCmd.test, tests/http.test, tests/init.test: * tests/interp.test, tests/io.test, tests/ioUtil.test: * tests/iogt.test, tests/namespace-old.test, tests/namespace.test: * tests/parse.test, tests/pkg.test, tests/pkgMkIndex.test: * tests/proc.test, tests/reg.test, tests/trace.test: * tests/upvar.test, tests/winConsole.test, tests/winFCmd.test: * tools/tclZIC.tcl: * generic/tclParse.c (Tcl_ParseCommand): Replace {expand} with {*} officially (TIP #293). Leave -DALLOW_EXPAND=0|1 option to keep {expand} syntax for transition users. [Bug 1589629]
* | Use test constraints properly instead of looking in tcl_platformdkf2006-03-211-12/+3
| | | | | | | | | | Consistent method of calling test constraints, and (try to) move constraint setup to the top of the test file
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
| |
* | * generic/tclIO.c (Tcl_SetChannelBufferSize): Lowest size limitdavygrvy2005-04-141-3/+3
| | | | | | | | | | | | | | | | | | | | * tests/io.test: changed from ten bytes to one byte. Need * tests/iogt.test: for this change was proven by Ross Cartlidge <rossc@cisco.com> where [read stdin 1] was grabbing 10 bytes followed by starting a child process that was intended to continue reading from stdin. Even with -buffersize set to one, nine chars were getting lost by the buffersize over reading for the native read() caused by [read].
* | Standardize some use of test constraints onto names that are documenteddkf2004-06-231-4/+4
| |
* | reverted back to 1.8davygrvy2004-06-011-3/+3
| |
* | * tests/io.test:davygrvy2004-06-011-3/+3
| | | | | | | | | | | | | | * tests/iogt.test: Tests cases that set invalid -buffersize settings on channels either wrapped in a catch or modified to a valid range. The assertion results were not modified to show that the behavior of Tcl_SetChannelBufferSize is unchanged.
* | * doc/ParseCmd.3: Implementation of TIP 157. Adds recognitiondgp2003-11-141-3/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Tcl.n: of the new leading {expand} syntax on words. * generic/tcl.h: Parses such words as the new Tcl_Token type * generic/tclBasic.c: TCL_TOKEN_EXPAND_WORD. Updated Tcl_EvalEx * generic/tclCompile.c: and the bytecode compiler/execution engine * generic/tclCompile.h: to recognize the new token type. New opcodes * generic/tclExecute.c: INST_LIST_VERIFY and INST_INVOKE_EXP and a new * generic/tclParse.c: operand type OPERAND_ULIST1 are defined. Docs * generic/tclTest.c: and tests are included. * tests/basic.test: * tests/compile.test: * tests/parse.test: * library/auto.tcl: Replaced several [eval]s used to perform * library/package.tcl: argument expansion with the new syntax. * library/safe.tcl: In the test files lindex.test and lset.test, * tests/cmdInfo.test: replaced use of [eval] to force direct * tests/encoding.test: string evaluation with use of [testevalex] * tests/execute.test: which more directly and robustly serves the * tests/fCmd.test: same purpose. * tests/http.test: * tests/init.test: * tests/interp.test: * tests/io.test: * tests/ioUtil.test: * tests/iogt.test: * tests/lindex.test: * tests/lset.test: * tests/namespace-old.test: * tests/namespace.test: * tests/pkg.test: * tests/pkgMkIndex.test: * tests/proc.test: * tests/reg.test: * tests/trace.test: * tests/upvar.test: * tests/winConsole.test: * tests/winFCmd.test:
* * All the bugs below are instances of the same problem: Theandreas_kupries2002-07-041-29/+28
| | | | | | | | | testsuite assumes [pwd] = [temporaryDirectory] and writable. * tests/iogt.test: Fixed bug #575860. * tests/io.test: Fixed bug #575862. * tests/exec.test: * tests/ioCmd.test: Fixed bug #575836.
* alternative fix.dgp2002-07-011-4/+20
|
* * Fixed [makeFile] and [viewFile] to accurately reflect a file'sdgp2002-07-011-20/+5
| | | | | | contents. Updated tests that depended on buggy behavior. Also added warning messages to "-debug 1" operations to debug test calls to (make|remove)(File|Directory).
* * Revised to run tests in a namespace, rather thandgp2002-04-171-57/+72
| | | | | use the useless and buggy [saveState] and [restoreState] commands of tcltest. Updated to use tcltest 2 as well. [Patch 544911]
* * Applied #219311 on behalf of Rolf Schroedterandreas_kupries2001-12-171-4/+1
| | | | | <schroedter@users.sourceforge.net> to prevent fcopy on serial ports from flooding the event queue.
* up-port of the stacked channel implementation rewrite in 8.3.2 tohobbs2000-09-281-0/+940
8.4a2 code base, merged in with some existing new 8.4a2 features.