summaryrefslogtreecommitdiffstats
path: root/tests/ioCmd.test
Commit message (Collapse)AuthorAgeFilesLines
* Backout failed attempt to fix [32ae34e63a].dgp2015-09-251-24/+24
|\
* | Update tests to new ReflectWatch() behavior.dgp2015-09-231-11/+11
| |
* | [32ae34e63a] Prevent segfaults and data corruption when CopyData() is called ↵dgp2015-09-231-13/+13
|\ \ | |/ | | | | | | recursively. Mark new test io-53.20 as "knownBug". It demos some unknown flaw in MoveBytes().
| * Update tests to account for changed ReflectWatch behavior.bug_32ae34e63adgp2015-09-231-13/+13
| |
* | nonportable -> nonPortablejan.nijtmans2015-09-021-2/+2
| |
* | Include option -connecting in test iocmd-8.15.1oehhar2014-12-171-1/+1
| |
* | [9d19af7adb] Make sure all timer events get canceled.dgp2014-07-241-2/+1
| |
* | Avoid [thread::exit]; Using it leads to memleaks.dgp2014-07-221-1/+3
| |
* | [f0f876c141] Improve consistency in error messages.dkf2014-06-171-1/+1
| |
* | Test iocmd-32.1 is not "impossible" but after writing it properly it does ↵dgp2014-05-091-5/+4
|\ \ | |/ | | | | segfault trying to use a deleted interp. Fixed.
| * Test iocmd-32.1 is not "impossible" but after writing it properly itdgp2014-05-091-5/+4
| | | | | | does segfault trying to use a deleted interp. Fixed.
* | merge trunkdgp2014-05-021-1/+2
| |
* | Merge in the fixes for improper ChannelBuffer sharing via recycling.dgp2014-05-011-0/+33
|\ \ | |/
| * Stop the segfaults in [close] during [gets] tests.dgp2014-04-301-2/+19
| | | | | | Not sure this is the right behavior, but it's better than crashing.
| * Another segfault demo test, this one with [close] during [gets].dgp2014-04-301-0/+16
| |
* | Merge refcounting machinery for ChannelBuffer.dgp2014-04-211-0/+32
|\ \ | |/
| * Added a refcounting mechanism to ChannelBuffers. Other edits todgp2014-04-211-2/+18
| | | | | | stop segfaults in tests iocmd-21.2[12].
| * Another test exposing another segfault.dgp2014-04-171-0/+16
| |
* | [88aef05cda] Stop reentrancy segfault in reflected channels by managingdgp2014-04-151-0/+19
|\ \ | |/ | | | | callbacks as (copies of) lists, not shared Tcl_Obj arrays. Still could use cleanup and improvements.
| * [88aef05cda] Stop reentrancy segfault in reflected channels by managingdgp2014-04-151-0/+19
| | | | | | | | callbacks as (copies of) lists, not shared Tcl_Obj arrays. Still could use cleanup and improvements.
* | Merge minimal fix for iocmd-23.11.dgp2014-03-281-2/+1
|\ \ | |/ | | | | | | Note that top channel regeneration is removed, so that Preserve/Release call pairs are sure to operate on the same pointers. Other bug fixes may need to change that.
| * Minimal patch to fix iocmd-23.11. Might not be the best fix, but is *a* fix.dgp2014-03-271-2/+1
| |
* | Test iocmd-23.11 demos another segfault.dgp2014-03-271-0/+15
|\ \ | |/
| * Test iocmd-23.11 demos another segfault.dgp2014-03-271-0/+15
| |
* | Let all test-cases which require Thread, at least require Thread 2.7jan.nijtmans2012-11-161-1/+1
| |
* | No longer build tcltest.exe to run the tests,but use tclsh86.exe in ↵jan.nijtmans2012-07-291-0/+3
| | | | | | | | combination with tcltest86.dll to do that (Windows only)
* | Undone part of change [32d93a8414], keeping [chan postevent] synchronous for ↵andreask2012-05-091-1/+1
| | | | | | | | owner == handler.
* | * generic/tclIORChan.c [Bug 3522560]: Fixed the crash, enabled theandreask2012-05-091-1/+1
| | | | | | | | | | | | | | test case. Modified [chan postevent] to properly inject the event(s) into the owner thread's event queue for execution in the correct context. Renamed the ForwardOpTo...Thread() function to match with our terminology.
* | * tests/ioCmd.test [Bug 3522560]: Added a test which crashes theandreask2012-05-091-0/+114
| | | | | | | | | | | | | | core if it were not disabled as knownBug. For a reflected channel transfered to a different thread the [chan postevent] run in the handler thread tries to execute the owner threads's fileevent scripts by itself, wrongly reaching across thread boundaries.
* | Disable offending test iocmd.tf-24.16, pending fix in refchan code explored ↵ferrieux2012-05-021-1/+1
| | | | | | | | in branch bug-3522560.
* | Tame deadlocks in broken refchan tests [Bug 3522560]ferrieux2012-04-301-0/+3
| |
* | Constrain test iocmd.tf-32.1 to be skipped during valgrinding. It contains a iocmd_leaksdgp2011-09-191-4/+15
| | | | | | memory leak that cannot be plugged while testing what the test aims to test.
* | Plug a number of MarshallError memleaks.dgp2011-09-191-5/+0
| |
* | Revise the tests that confront background flush on close across threads.dgp2011-09-181-4/+7
| | | | | | | | | | | | | | Need cleanup code to bring an end to the otherwise endless loop of thread finalization that continually tries to flush before closing, and is continually thwarted by a driver raising EAGAIN. If this dance isn't cleanly terminated, it continues and corrupts any subsequent tests that define a [foo] command.
* | revise iocmd.tf-24.16 result to deal with Thread conversiondgp2011-09-121-1/+1
| |
* | Convert uses of the [testthread] command to uses of the Thread package.dgp2011-09-091-148/+144
| | | | | | | | | | | | This takes as many leaks as possible out of the testing harness, so the leaks remaining are the fault of the tested code. Committed to a branch because the conversion creates new test failures that need review.
* | [Bug 2946474] Consistently resume backgrounded flushes+closes when exiting.ferrieux2011-08-171-0/+31
| |
* | More generation of error codes (namespace creation, path normalization,dkf2011-04-031-3/+3
| | | | | | pipeline creation, package handling, procedures, [scan] formats)
* | 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).
| * 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 (CopyData): Applied another patch by Alexandreandreas_kupries2008-04-151-1/+2
| | | | | | | | | | | | | | | | | | | | | * io.test (io-53.8a): Ferrieux <ferrieux@users.sourceforge.net>, 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-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 comment regarding the meaning of -1, added two more testcases for other negative values, and input wrapped to negative.
| | * * generic/tclIOCmd.c (Tcl_FcopyObjCmd): Added checking of -sizeandreas_kupries2008-04-091-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | * tests/ioCmd.test (iocmd-15.{13,14}): value to reject negative values, and values overflowing 32-bit signed. [Bug 1557855]. Basic patch by Alexandre Ferrieux <ferrieux@users.sourceforge.net>, with modifications from me to separate overflow from true negative value. Extended testsuite.
| | * * generic/tclIOUtil.c (TclGetOpenMode): Added the flag O_APPEND toandreas_kupries2006-03-161-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | the list of POSIX modes used when opening a file for 'a'ppend. This enables the proper automatic seek-to-end-on-write by the OS. See [Bug 680143] for longer discussion. * tests/ioCmd.test (iocmd-13.7.*): Extended the testsuite to check the new handling of 'a'.
| | * * tests/exec.test: Corrected temporary file managementdgp2003-10-071-30/+30
| | | | | | | | | | | | | | | | | | | | | | | | * tests/fileSystem.test: issues uncovered by -debug 1 test * tests/ioCmd.test: operations. Also backported some * tests/pid.test: other fixes from the HEAD. * tests/socket.test: [Bugs 675605, 675655] * tests/source.test:
| | * * tests/io.test: Corrected several tests that failed when pathsdgp2003-10-071-16/+10
| | | | | | | | | | | | * tests/ioCmd.test: included regexp-special chars. [Bug 775394]
| * | [Bug 3148192]: Commands "read/puts" incorrectly interpret parameters.nijtmans2011-01-171-4/+4
| | | | | | | | | | | | Improved error-message regarding legacy form.
| * | * generic/tclInt.decls: Backport of Kevin B. Kenny's work onandreas_kupries2010-11-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: the Tcl Head, with help from Jeff Hobbs. * generic/tclStrToD.c: * generic/tclTest.c: * generic/tclTomMath.decls: * generic/tclUtil.c: * tests/util.test: * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc: Rewrite of Tcl_PrintDouble and TclDoubleDigits that (a) fixes a severe performance problem with floating point shimmering reported by Karl Lehenbauer, (b) allows TclDoubleDigits to generate the digit strings for 'e' and 'f' format, so that it can be used for tcl_precision != 0 (and possibly later for [format]), (c) fixes [Bug 3120139] by making TclPrintDouble inherently locale-independent, (d) adds test cases to util.test for correct rounding in difficult cases of TclDoubleDigits where fixed- precision results are requested. (e) adds test cases to util.test for the controversial aspects of [Bug 3105247]. As a side effect, two more modules from libtommath (bn_mp_set_int.c and bn_mp_init_set_int.c) are brought into the build, since the new code uses them. * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclTomMathDecls.h: Regenerated.
| * | Test iocmd-32.2 tests for Bug 3034840dgp2010-08-031-1/+14
| | |