summaryrefslogtreecommitdiffstats
path: root/tests/chanio.test
Commit message (Collapse)AuthorAgeFilesLines
* Test-case for fixed [Bug 2849797]nijtmans2009-11-191-5/+5
| | | | | | Fix safe-10.1 and safe-10.4 test cases, making the wrong assumption that Tcltest should be a static package.
* * tests/chanio.test: Add missing [removeFile] cleanups.dgp2008-12-191-5/+11
|
* * tests/chanio.test: Replaced [chan event] handlers thatdgp2008-12-191-5/+11
| | | | | | returned TCL_RETURN return code, with more conventional ones that return TCL_OK to suppress otherwise strange writes of outdated $::errorInfo values to stderr. [Bug 2444274].
* * generic/tclIO.c (Tcl_CloseEx,CloseWrite,CloseChannelPart,ChanCloseHalf):andreas_kupries2008-12-181-9/+9
| | | | | | | | | | | | | Rewrite the half-close to properly flush the channel, like is done for a full close, going through FlushChannel, and using the flag BG_FLUSH_SCHEDULED (async flush during close). New functions CloseWrite, CloseChannelPart, new flag CHANNEL_CLOSEDWRITE. * tests/chanio.test (chanio-28.[67]): Reactivated these tests. Replaced tclsh -> [interpreter] to get correct executable for the pipe process, and added after cancel to kill the fail timers when we are done. Removed the explicits calls to [flush], now that [close] handles this correctly.
* Converted 'if 0' into 'knownBug' constraintsdkf2008-12-181-242/+80
|
* Temporarily disable half-close test because of issue in tcltest cleanupferrieux2008-12-181-3/+3
|
* TIP #332 IMPLEMENTATION - Half-Close for Bidirectional Channelsferrieux2008-12-181-2/+51
|
* * changes: Updates for 8.6a1 release.dgp2008-06-201-3/+3
| | | | | | | | | | | | | | * generic/tclInterp.c: Fixed completely boneheaded mistake that * tests/interp.test: [interp bgerror $slave] and [$slave bgerror] would always act like [interp bgerror {}]. [Bug 1999035]. * tests/chanio.test: Corrected flawed tests revealed by a -debug 1 * tests/cmdAH.test: -singleproc 1 test suite run. * tests/event.test: * tests/interp.test: * tests/io.test: * tests/ioTrans.test: * tests/namespace.test:
* sync with 2008-05-26 io-53.9 changedas2008-06-121-1/+2
|
* * win/tclWinChan.c (FileWideSeekProc): Accepted a patch byandreas_kupries2008-05-231-6/+6
| | | | | | | | | | | | Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the [Bug 1965787]. 'tell' now works for locations > 2 GB as well instead of going negative. * generic/tclIO.c (Tcl_SetChannelBufferSize): Accepted a patch by * tests/io.test: Alexandre Ferrieux <ferrieux@users.sourceforge.net> * tests/chanio.test: to fix the [Bug 1969953]. Buffersize outside of the supported range are now clipped to nearest boundary instead of ignored.
* Assorted improvements to make better use of tcltest2dkf2008-04-231-45/+50
|
* * generic/tclIO.c (CopyData): Applied another patch by Alexandreandreas_kupries2008-04-151-1/+41
| | | | | | | * io.test (io-53.8a): Ferrieux <ferrieux@users.sourceforge.net>, * chanio.test (chan-io-53.8a): to shift EOF handling to the async part of the command if a callback is specified, should the channel be at EOF already when fcopy is called. Testcase by myself.
* * generic/tclIOCmd.c (Tcl_FcopyObjCmd): Keeping check for negativeandreas_kupries2008-04-101-3/+37
| | | | | | | | | | | | values, changed to not be an error, but behave like the special value -1 (copy all, default). * tests/iocmd.test (iocmd-15.{12,13}): Removed. * tests/io.test (io-52.5{,a,b}): Reverted last change, added * tests/chanio.test (chan-io-52.5{,a,b}): comment regarding the meaning of -1, added two more testcases for other negative values, and input wrapped to negative.
* * tests/chanio.test (chan-io-52.5): Removed '-size -1' from test,andreas_kupries2008-04-091-2/+2
| | | | | * tests/io.test (io-52.5): does not seem to have any bearing, and was an illegal value.
* * tests/chanio.test (chan-io-53.8,53.9,53.10): fix typo & quoting fordas2008-04-081-4/+4
| | | | * tests/io.test (io-53.8,53.9,53.10): spaces in builddir path
* * tests/io.test (io-53.10): Testcase for bi-directionaly fcopy.andreas_kupries2008-04-071-1/+71
| | | | | | | | * tests/chanio.test: * generic/tclIO.c: Additional changes to data structures for fcopy * generic/tclIO.h: and channels to perform proper cleanup in case of a channel having two background copy operations running as is now possible.
* * tests/chanio.test (chan-io-53.9):Kevin B Kenny2008-04-061-3/+5
| | | | | | | | | | | * tests/io.test (io-53.9): Made test cleanup robust against the possibility of slow process shutdown on Windows. * win/tcl.m4: Added -D_CRT_SECURE_NO_DEPRECATE and -DCRT_NONSTDC_NO_DEPRECATE to the MSVC compilation flags so that the compilation doesn't barf on perfectly reasonable Posix system calls. * win/configure: Manually patched (don't have the right autoconf to hand).
* * tests/io.test (io-53.9): Added testcase for [Bug 780533], basedandreas_kupries2008-04-041-3/+51
| | | | | | * tests/chanio.test: on Alexandre's test script. Also fixed problem with timer in preceding test, was not canceled properly in the ok case.
* * generic/tclIO.c (CopyData): Applied patch [Bug 1932639] toandreas_kupries2008-04-031-1/+46
| | | | | | * tests/io.test: prevent fcopy from calling -command synchronously * tests/chanio.test: the first time. Thanks to Alexandre Ferrieux <ferrieux@users.sourceforge.net> for report and patch.
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * tests/io.test, tests/chanio.test (io-73.1): Make sure to invalidatehobbs2007-12-091-1/+6
| | | | | * generic/tclIO.c (SetChannelFromAny): internal rep only after validating channel rep. [Bug 1847044]
* * tests/chanio.test: New file. This is essentially a duplicate ofandreas_kupries2007-11-141-0/+7463
'io.test', with all channel commands converted to their 'chan xxx' notation. * tests/io.test: Fixed typo in test description.