summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* first speedups to Win filesystemvincentdarley2003-02-072-1/+38
|
* fix to crashing filesystem testvincentdarley2003-02-072-6/+9
|
* * generic/tclCompCmds.c (TclCompileIncrCmd):mdejong2003-02-071-2/+1
| | | | | | | | | | | * tests/incr.test: Don't include the text "(increment expression)" in the errorInfo generated by the compiled version of the incr command since it does not match the message generated by the non-compiled version of incr. It is also not possible to match this error output under Jacl, which does not support a compiler.
* * generic/tclExecute.c (TclExecuteByteCode): When anmdejong2003-02-062-3/+18
| | | | | | | | | | | | | error is encountered reading the increment value during a compiled call to incr, add a "(reading increment)" error string to the errorInfo variable. This makes the errorInfo variable set by the compiled incr command match the value set by the non-compiled version. * tests/incr-old.test: Change errorInfo result for the compiled incr command case to match the modified implementation. * tests/incr.test: Add tests to make sure the compiled and non-compiled errorInfo messages are the same.
* * tests/interp.test:mdejong2003-02-052-27/+27
| | | | | | | * tests/set-old.test: Run test cases that depend on hash order through lsort so that the tests also pass under Jacl. Does not change test results under Tcl.
* added regression test for recent bug fixvincentdarley2003-02-051-0/+15
|
* test suite fixes for spaces in pathsvincentdarley2003-02-041-48/+48
|
* finalization and test fixesvincentdarley2003-02-044-15/+16
|
* Marked filesystem-7.1 as known bug.andreas_kupries2003-02-041-1/+1
|
* * generic/tclBasic.c: Changed [trace add command] so that 'rename' Kevin B Kenny2003-02-031-11/+16
| | | | | | | | | | callbacks get fully qualified names of the command. [Bug 651271]. ***POTENTIAL INCOMPATIBILITY*** * tests/trace.test: Modified the test cases for [trace add command] to expect fully qualified names on the 'rename' callbacks. Added a case for renaming a proc within a namespace. * doc/trace.n: Added language about use of fully qualified names in trace callbacks.
* * generic/tclLoad.c: Changed the code so that if Tcl_StaticPackage Kevin B Kenny2003-02-011-61/+72
| | | | | | | | | is called to report the same package as being loaded in two interps, it shows up in [info loaded {}] in both of them (previously, it didn't appear in the static package list in the second. * tests/load.test Added regression test for the above bug. [Bug 670042]
* * generic/tclClock.c: Fixed a bug that incorrectly allowed Kevin B Kenny2003-02-011-1/+7
| | | | | | | | [clock clicks {}] and [clock clicks -] to be accepted as if they were [clock clicks -milliseconds]. * tests/clock.test: Added regression tests for the above bug. [Bug 675356]
* * tests/unixNotfy.test: Added cleanup of working files Kevin B Kenny2003-02-011-47/+79
| | | | [Bug 675609]
* The utility [slave] command failed to properly [list]-quote adgp2003-01-311-3/+5
| | | | | constructed [open] command, causing failure when the pathname contained whitespace. [Bug 678415]
* * tests/tcltest.test: Cleaned up management of file/directorydgp2003-01-311-57/+79
| | | | creation/deletion to improve "-debug 1" output. [Bug 675614]
* * tests/main.test: Stopped main.test from deleting existing file.dgp2003-01-311-2/+5
| | | | Test suite should not delete files that already exist. [Bug 675660]
* * tests/main.test: Constrain tests that do not work on Windows.dgp2003-01-281-7/+7
|
* filesystem bug fix and new testvincentdarley2003-01-281-0/+14
|
* only do groups check on unixhobbs2003-01-251-5/+7
|
* execution trace, command trace and stringObj bug fixesvincentdarley2003-01-172-32/+101
|
* * tests/winDde.test:hobbs2003-01-161-1/+5
| | | | | | * win/tclWinDde.c (Tcl_DdeObjCmd): Prevent crash when empty service name is passed to 'dde eval' and goto errorNoResult in request and poke error cases to free up any allocated data.
* non-ascii chars in file mtime fixvincentdarley2003-01-091-1/+17
|
* * generic/tclCompCmds.c (TclCompileReturnCmd):dgp2003-01-081-2/+32
| | | | | | | * tests/compile.test: Corrects failure of bytecompiled [catch {return}] to have result TCL_RETURN (not TCL_OK) [Bug 633204]. This patch is a workaround for 8.4.X. A new opcode INST_RETURN is a better long term solution for 8.5 and later.
* * generic/tclPipe.c (TclCleanupChildren):davygrvy2002-12-171-1/+29
| | | | | | | | | | | | | | * tests/winPipe.c: * win/tclWinPipe.c (Tcl_WaitPid): * win/tclWinTest.c: Gave Tcl_WaitPid the ability to return a Win32 exception code translated into a posix style SIG*. This allows [close] to report "CHILDKILLED" without the meaning getting lost in a truncated exit code. In TclCleanupChildren(), TclpGetPid() had to get moved to before Tcl_WaitPid() as the the handle is removed from the list taking away the ability to get the process id after the wait is done. This shouldn't effect the unix implimentaion unless waitpid is called with a pid of zero, meaning "any". I don't think it is..
* * generic/tclProc.c (ProcessProcResultCode): Fix failure todgp2002-12-111-1/+10
| | | | | propagate negative return codes up the call stack. [Bug 647307] * tests/proc.test (proc-6.1): Test for Bug 647307
* * generic/tclParseExpr.c (TclParseInteger): Return 1 for thedgp2002-12-111-1/+8
| | | | | string "0x" (recognize leading "0" as an integer). [Bug 648441]. * tests/parseExpr.test (parseExpr-19.1): Test for Bug 648441.
* unset path to make it work for singleproc runshobbs2002-12-041-2/+2
|
* unset path var to allow singleproc testinghobbs2002-11-271-2/+2
|
* * tests/interp.test: interp-14.4hobbs2002-11-231-1/+7
| | | | | * generic/tclInterp.c (TclPreventAliasLoop): prevent seg fault when creating an alias command over the interp name. [Bug #641195]
* * generic/tclUtil.c (SetEndOffsetFromAny): handle integer offsethobbs2002-11-192-2/+38
| | | | | | | | | | after the "end-" prefix. * generic/get.test: * generic/string.test: * generic/tclObj.c (SetIntFromAny, SetWideIntFromAny): * generic/tclGet.c (TclGetLong, Tcl_GetInt): simplify sign handling before calling strtoul(l). [Bug #634856]
* * generic/regexpComp.test: added tests 22.*hobbs2002-11-141-0/+20
| | | | | | | * generic/tclCompCmds.c (TclCompileRegexpCmd): add left and right anchoring (^ and $) recognition and check starting or ending .* to extend the number of REs that can be compiled to string match or string equal.
* 3 small fixesvincentdarley2002-11-133-6/+175
|
* * tests/split.test: added 1-char string split testshobbs2002-11-121-1/+13
| | | | | | | | | * generic/tclCmdMZ.c (Tcl_SplitObjCmd): Use TclUtfToUniChar. Also added a special case for single-ascii-char splits. (Tcl_StringObjCmd): Use TclUtfToUniChar. For STR_RANGE, support getting ranges of ByteArrays (reverts change from 2000-05-26). (TraceExecutionProc) add proper static declaration.
* * doc/registry.n: Added support for broadcasting changes tohobbs2002-10-181-15/+17
| | | | | * tests/registry.test: the registry Environment. Noted proper code * win/tclWinReg.c: in the docs. [Patch #625453]
* * generic/tclVar.c: Fixed code that check for proper # of args todgp2002-10-171-2/+6
| | | | * tests/var.test: [array names]. Added test. [Bug 624755]
* execution trace fixvincentdarley2002-10-151-1/+34
|
* [file exist] -> [file exists]...dkf2002-10-042-18/+18
|
* [info exist]->[info exists]. [Bug 602566]dkf2002-10-036-18/+18
|
* * library/tcltest/tcltest.tcl: Corrected [puts -nonewline] withindgp2002-09-221-1/+17
| | | | | | | | test bodies. Thanks to Harald Kirsch. [Bug 612786, Patch 612788] Also corrected reporting of body return code. Thanks to David Taback [Bug 611922] * library/tcltest/pkgIndex.tcl: Bump to version 2.2.1. * tests/tcltest.test: added tests for these bugs.
* 2002-09-06 Reinhard Max <max@suse.de>rmax2002-09-061-4/+4
| | | | * tests/tcltest.test: Added nonRoot flag to tests 8.3, 8.4, and 8.12.
* * generic/tclBasic.c (TclRenameCommand,CallCommandTraces):dgp2002-09-061-1/+8
| | | | | | * tests/trace.test (trace-27.1): Corrected memory leak when a rename trace deleted the command being traced. Test added. Thanks to Hemang Lavana for the fix. [Bug 604609]
* * tests/http.test (http-3.11): added close $fp that was causing anhobbs2002-09-021-1/+2
| | | | error on Windows because the file was not closed before deleting.
* * tests/exec.test: marked exec-18.1 unixOnly until the Windowshobbs2002-09-021-2/+4
| | | | incompatability (in the test, not the core) can be resolved.
* 2002-08-26 Miguel Sofer <msofer@users.sourceforge.net>Miguel Sofer2002-08-261-1/+12
| | | | | | * generic/tclCompCmds.c: fix for [Bug 599788] (error in element name causing segfault), reported by Tom Wilkason. Fixed by copying the tokens instead of the source string.
* Added test.dkf2002-08-161-1/+5
|
* * tests/uplevel.test: added 6.1 to test [uplevel] with shadowedMiguel Sofer2002-08-081-1/+16
| | | | commands [Bug 524383]
* * tests/subst.test: added 5.8-10 as further tests for [Bug 495207]Miguel Sofer2002-08-081-1/+15
|
* * tests/README: Noted removal of defs.tcl.dgp2002-08-081-2/+2
|
* [Patch #591647] (darley)hobbs2002-08-082-7/+44
| | | | | | (CopyRenameOneFile): this is currently disabled by default until further issues with such behavior (like relative links) can be handled correctly.
* * tests/fCmd.test:hobbs2002-08-082-14/+16
| | | | | | | | | * tests/unixFCmd.test: updated tests for new link copy behavior. * generic/tclFCmd.c (CopyRenameOneFile): changed the behavior to follow links to endpoints and copy that file/directory instead of just copying the surface link. This means that trying to copy a link that has no endpoint (danling link) is an error. [Patch #591647] (darley)