summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * tests/safe.test: Backport performance improvement fromdgp2005-06-221-1/+5
| | | | reduced $::auto_path.
* * tests/winDde.test: Added some waits to the dde server script topatthoyts2005-06-211-32/+40
| | | | | | let event processing run after we create the dde server and before we exit the server process. This avoids 'server did not respond' errors.
* bugs 1194458 and 1225044Kevin B Kenny2005-06-211-1/+8
|
* * generic/tclBasic.c: Made the walk of the active trace list awaredgp2005-06-211-1/+17
| | | | | | * generic/tclCmdMZ.c: of the direction of trace scanning, so the * generic/tclInt.h: proper correction can be made. [Bug 1224585] * tests/trace.test (trace-34.2,3):
* * generic/tclBasic.c (Tcl_DeleteTrace): Added missing walk of thedgp2005-06-211-1/+18
| | | | | * tests/trace.test (trace-34.1): list of active traces to cleanup references to traces being deleted. [Bug 1201035]
* Fix bug in [format %hx] handling on selected platforms. [Bug 1154163]dkf2005-06-171-1/+5
|
* * tests/env.test: added DYLD_FRAMEWORK_PATH to the list of env varsdas2005-05-241-3/+3
| | | | that need to be handled specially.
* * macosx/tclMacOSXBundle.c:das2005-05-141-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unix/tclUnixInit.c: * unix/tcl.m4 (Darwin): made use of CoreFoundation API configurable and added test of CoreFoundation availablility to allow building on ppc64, replaced HAVE_CFBUNDLE by HAVE_COREFOUNDATION; test for availability of Tiger or later OSSpinLockLock API. * unix/tclUnixNotfy.c: * unix/Makefile.in: * macosx/tclMacOSXNotify.c (new file): when CoreFoundation is available, use new CFRunLoop based notifier: allows easy integration with other event loops on Mac OS X, in particular the TkAqua Carbon event loop is now integrated via a standard tcl event source (instead of TkAqua upon loading having to finalize the exsting notifier and replace it with its custom version). [Patch 1202052] * tests/unixNotfy.test: don't run unthreaded tests on Darwin since notifier may be using threads even in unthreaded core. * unix/tclUnixPort.h: * unix/tcl.m4 (Darwin): test for thread-unsafe realpath durning configure, as Darwin 7 and later realpath is threadsafe. * macosx/tclMacOSXBundle.c: * unix/tclLoadDyld.c: * unix/tclUnixInit.c: fixed gcc 4.0 warnings. * unix/configure: autoconf-2.13
* * tests/string.test: string-10.[21-30]hobbs2005-05-111-1/+31
| | | | | * generic/tclCmdMZ.c (Tcl_StringObjCmd): add extra checks to prevent possible UMR in unichar cmp function for string map.
* * library/init.tcl: Corrected flaw in interactive commanddgp2005-04-281-1/+17
| | | | * tests/main.test: auto-completion. [Bug 1191409].
* * tests/unixInit.test (7.1): Alternative fix for thedgp2005-04-271-6/+6
| | | | 2005-04-22 commit.
* * generic/tclCmdMZ.c: Corrected intrep-dependence ofdgp2005-04-221-1/+10
| | | | * tests/string.test: [string is boolean] [Bug 1187123]
* * tests/unixInit.test (7.1): fixed failure when running testsdas2005-04-211-2/+2
| | | | with -tmpdir arg not set to working dir.
* * tests/winPipe.test (winpipe-6.2): remove -blocking 1 as this onehobbs2005-04-201-2/+1
| | | | can truly block.
* * win/tclWinPipe.c: The pipe channel driver now respectsdavygrvy2005-04-191-1/+3
| | | | | | | | | | | | | | | | | | the -blocking option when closing. The windows pipe driver now has the same behavior as the UNIX side. This change is to avoid a hung shell when exiting due to open pipes that refuse to close in a graceful manner. * doc/open.n: Added a note about -blocking 0 and lack of exit status as it had never been documented. [Bug 947693] ***POTENTIAL INCOMPATIBILITY*** Scripts that use async pipes on windows, must (like the UNIX side) set -blocking to 1 before calling [close] to receive the exit status. * tests/winPipe.test (winpipe-6.1/2): added 'fconfigure $f -blocking 1' so the exit status can be acquired.
* * generic/tclIO.c (Tcl_SetChannelBufferSize): Lowest size limitdavygrvy2005-04-142-5/+5
| | | | | | | | | | * 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].
* * generic/tclBasic.c (Tcl_EvalEx,TclEvalTokensStandard):dgp2005-03-182-5/+49
| | | | | | | | | * generic/tclCmdMZ.c (Tcl_SubstObj): * tests/basic.test (basic-46.4): Restored recursion limit * tests/parse.test (parse-19.*): testing in nested command substitutions within direct script evaluation (Tcl_EvalEx) that got lost in the parser reforms of Tcl 8.1. Added tests for correct behavior. [Bug 1115904]
* more tests and a fix to bug 1158199vincentdarley2005-03-151-1/+9
|
* fix to file norm, file pathtype on windows reserved filenamesvincentdarley2005-03-151-1/+49
|
* backport tcltest test improvementsdgp2005-02-251-15/+17
|
* * library/tcltest/tcltest.tcl: Better use of [glob -types] to avoiddgp2005-02-241-3/+16
| | | | | | | * tests/tcltest.test: failed attempts to [source] a directory, and similar matters. Thanks to "mpettigr". [Bug 1119798] * library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.8
* * generic/tclBasic.c (Tcl_EvalObjEx):Miguel Sofer2005-02-101-1/+19
| | | | | | * tests/basic.test (basic-26.2): preserve the arguments passed to TEOV in the pure-list branch, in case the list shimmers away. Fix for [Bug 1119369], reported by Peter MacDonald.
* TIP#218 IMPLEMENTATIONandreas_kupries2005-01-271-1/+7
| | | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: Regenerated from tcl.decls. * generic/tclStubInit.c: * doc/CrtChannel.3: Documentation of extended API, * generic/tcl.decls: extended testsuite, and * generic/tcl.h: implementation. Removal of old * generic/tclIO.c: driver-specific TclpCut/Splice * generic/tclInt.h: functions. Replaced with generic * tests/io.test: thread-action calls through the * unix/tclUnixChan.c: new hooks. Update of all builtin * unix/tclUnixPipe.c: channel drivers to version 4. * unix/tclUnixSock.c: Windows drivers extended to * win/tclWinChan.c: manage thread state in a thread * win/tclWinConsole.c: action handler. * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c: * mac/tclMacChan.c:
* fix to drive-sensitivity of testvincentdarley2005-01-171-3/+5
|
* filesystem, glob, tilde fixvincentdarley2004-12-021-0/+52
|
* * tests/reg.test (reg-32.*): Added missing testregexp constraints.dgp2004-11-271-5/+5
|
* * tests/tcltest.test: The order in which [glob] returns the file namesrmax2004-11-252-6/+6
| | | | * tests/fCmd.test: is undefined, so tests should not depend on it.
* * generic/tclCmdIL.c (InfoVarsCmd): Corrected segfault in newdgp2004-11-241-1/+9
| | | | * tests/info.test (info-19.6): trivial matching branch [Bug 1072654]
* backport file join fixvincentdarley2004-11-231-0/+8
|
* * macosx/Makefile:das2004-11-191-2/+2
| | | | | | | | | | | | * unix/configure.in: * unix/tclUnixInit.c (MacOSXGetLibraryPath): changed detection of tcl framework build when determining tclLibPath from overloaded TCL_LIBRARY to configuration define TCL_FRAMEWORK. [Bug 1068088] * unix/configure: autoconf-2.13 * tests/unixInit.test (7.1): fixed failure when running tests with -tmpdir arg not set to working dir.
* * generic/tclCmdMZ.c (Tcl_TraceObjCmd): Fixed Bug 1065378 which faileddgp2004-11-151-1/+8
| | | | | | * tests/trace.test (trace-33.1): to permit a variable trace created with [trace variable] to be destroyed with [trace remove]. Thanks to Keith Vetter for the report.
* * tests/fileName.test:das2004-11-114-7/+8
| | | | | | | * tests/fileSystem.test: * tests/io.test: * tests/tcltest.test: fixed bugs causing failures when running tests with -tmpdir arg not set to working dir.
* * tests/fCmd.test:das2004-11-111-1/+10
| | | | | | | | | * unix/tclUnixFCmd.c (TraverseUnixTree): added option to rewind() the readdir() loop whenever the source hierarchy has been modified by traverseProc (e.g. by deleting files); this is required to ensure complete traversal of the source hierarchy on certain filesystems like HFS+. Added test for failing recursive delete on Mac OS X that was due to this. [Bug 1034337]
* niggly test suite fixesdgp2004-11-032-5/+4
|
* 2004-11-02 Don Porter <dgp@users.sourceforge.net>dgp2004-11-021-1/+42
| | | | | | | | * library/tcltest/tcltest.tcl: Corrected some misleading * tests/tcltest.test (tcltest-26.1,2): displays of ::errorInfo and ::errorCode information when the -setup, -body, and/or -cleanup scripts return an unexpected return code. Thanks to Robert Seeger for the fix. [RFE 1017151].
* Final fix for NaN != NaN bug. Thanks to Miguel Sofer for his improved patch.dkf2004-11-021-1/+6
| | | | [Bug 761471]
* Make [info globals ::foo] work. [Bug 1057461]dkf2004-10-311-1/+5
|
* D'oh!dgp2004-10-281-2/+2
|
* * tests/socket.test (socket-13.1): Balanced [makeFile] anddgp2004-10-281-11/+10
| | | | | | | | [removeFile] commands. * generic/tclCmdAH.c (Tcl_FormatObjCmd): Restored missing line from yesterdays' 868486 backport that caused failed alloc's on LP64 systems.
* * tests/appendComp.test: Backport test suite fixes of errorsdgp2004-10-2811-302/+311
| | | | | | | | | | | | | * tests/autoMkindex.test: revealed by -singleproc 1 -debug 1 * tests/exec.test: options to make test. * tests/execute.test: * tests/interp.test: * tests/io.test: * tests/namespace.test: * tests/regexpComp.test: * tests/stringComp.test: * tests/unixInit.test: * tests/winPipe.test:
* fixed format-19.1 for 64 bit machinesKevin B Kenny2004-10-271-3/+3
|
* backport fixes for 868489 and 1026125Kevin B Kenny2004-10-271-1/+9
|
* * tests/subst.test (subst-12.3-5): More tests for Bug 1036649.dgp2004-10-261-1/+9
|
* reversed expected result from subst-12.3 to match Tcl 7.6 behavior.dgp2004-10-261-2/+2
|
* * tests/subst.test (subst-12.3,4): More tests for Bug 1036649.dgp2004-10-261-3/+17
|
* * tests/compile.test (compile-12.4): Backport test for Bug 1001997.dgp2004-10-267-17/+138
| | | | | | | | | | | | | | * tests/timer.test (timer-10.1): Backport test for Bug 1016167. * tests/tcltest.test (tcltest-12.3,4): Backport setup corrections. * tests/error.test (error-6.3,4,7,9): Backport of some tests. * tests/basic.test (basic-49.*): * tests/namespace.test (namespace-8.7): * tests/init.test (init-2.8): Updated to not rely on http package. * generic/tclThreadTest.c (ThreadEventProc): Corrected subtle bug where the returned (char *) from Tcl_GetStringResult(interp) continued to be used without copying or refcounting, while activity on the interp continued.
* * generic/tclNamespace.c (TclTeardownNamespace): Tcl_Obj-ifieddgp2004-09-302-2/+27
| | | | | | | | | | | | | | | * tests/namespace.test (namespace-8.5,6): the save/restore of ::errorInfo and ::errorCode during global namespace teardown. Revised the comment to clarify why this is done, and added tests that will fail if this is not done. * generic/tclResult.c (TclTransferResult): Added safety checks so that unexpected undefined ::errorInfo or ::errorCode will not lead to a segfault. * generic/tclVar.c (CallVarTraces): Save/restore the flag * tests/var.test (var-16.1): values that define part of the interpreter state during variable traces. [Bug 10381021].
* * tests/subst.test (12.2): test correction.Miguel Sofer2004-09-301-2/+2
|
* fix for buffer overflow in [subst], [Bug 1036649]Miguel Sofer2004-09-291-1/+18
|
* Some tests were non-portable, alas.dkf2004-09-191-2/+2
|