summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* slight wording improvementshobbs2002-08-081-2/+5
|
* * library/tcltest/tcltest.tcl: The setup and cleanup scripts are nowdgp2002-08-051-1/+19
| | | | | | * library/tcltest/pkgIndex.tcl: skipped when a test is skipped, fixing * tests/tcltest.test: [Bug 589859]. Test for bug added, and corrected tcltest package bumped to version 2.2.
* * doc/CmdCmplt.3: Applied Patch 585105 to fully CONST-ifydgp2002-08-052-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Concat.3: all remaining public interfaces of Tcl. * doc/CrtCommand.3: Notably, the parser no longer writes on * doc/CrtSlave.3: the string it is parsing, so it is no * doc/CrtTrace.3: longer necessary for Tcl_Eval() to be * doc/Eval.3: given a writable string. Also, the * doc/ExprLong.3: refactoring of the Tcl_*Var* routines * doc/LinkVar.3: by Miguel Sofer is included, so that the * doc/ParseCmd.3: "part1" argument for them no longer needs * doc/SetVar.3: to be writable either. * doc/TraceVar.3: * doc/UpVar.3: Compatibility support has been enhanced so * generic/tcl.decls that a #define of USE_NON_CONST will remove * generic/tcl.h all possible source incompatibilities with * generic/tclBasic.c the 8.3 version of the header file(s). * generic/tclCmdMZ.c The new #define of USE_COMPAT_CONST now does * generic/tclCompCmds.c what USE_NON_CONST used to do -- disable * generic/tclCompExpr.c only those new CONST's that introduce * generic/tclCompile.c irreconcilable incompatibilities. * generic/tclCompile.h * generic/tclDecls.h Several bugs are also fixed by this patch. * generic/tclEnv.c [Bugs 584051,580433] [Patches 585105,582429] * generic/tclEvent.c * generic/tclInt.decls * generic/tclInt.h * generic/tclIntDecls.h * generic/tclInterp.c * generic/tclLink.c * generic/tclObj.c * generic/tclParse.c * generic/tclParseExpr.c * generic/tclProc.c * generic/tclTest.c * generic/tclUtf.c * generic/tclUtil.c * generic/tclVar.c * mac/tclMacTest.c * tests/expr-old.test * tests/parseExpr.test * unix/tclUnixTest.c * unix/tclXtTest.c * win/tclWinTest.c
* * tests/expr.test (expr-22.*): Marked as non-portable because itdkf2002-07-311-13/+16
| | | | | seems that these tests have an annoying tendency to fail in unexpected ways. [Bugs 584825, 584950, 585986]
* * tests/io.test:andreas_kupries2002-07-301-1/+36
| | | | | | | | | * generic/tclIO.c (WriteChars): Added flag to break out of loop if nothing of the input is consumed at all, to prevent infinite looping of called with a non-UTF-8 string. Fixes Bug 584603 (partially). Added new test "io-60.1". Might need additional changes to Tcl_Main so that unprintable results are printed as binary data.
* bugfix, new tests for new [interp alias] codeMiguel Sofer2002-07-291-2/+26
|
* Dump junk spaces...dkf2002-07-291-3/+3
|
* Fixes for regexp issues raised in [Bug 578363].dkf2002-07-291-3/+9
| | | | | Lots of thanks to pvgoran@users.sf.net for tracking them down! Also made the RE files touched meet the Tcl Engineering Guidelines a bit better (they've a long way to go, but this is a start...)
* Fix for [Bug 582522] - aliases now fire execution traces on the targetMiguel Sofer2002-07-293-12/+39
| | | | command. Optimisation of alias invocation.
* * generic/tclExecute.c:Miguel Sofer2002-07-261-1/+23
| | | | | * tests/expr-old.test: fix for erroneous error messages in [expr], [Bug 587140] reported by Martin Lemburg.
* * tests/unixInit.test: relaxed unixInit-3.1 to accept iso8859-15dgp2002-07-241-3/+5
| | | | as a valid C encoding. [Bug 575336]
* Allowed parser to recognise 'Inf' as a floating-point number. [Bug 218000]dkf2002-07-221-1/+29
| | | | Also produce better error messages when this happens.
* Added tests for the [time] command.dkf2002-07-191-2/+28
|
* Renamed 'notLinux' constraint to 'nonLinuxOnly' for clarity. [Bug#583427]dkf2002-07-191-3/+3
|
* pcOnly constraints addedvincentdarley2002-07-182-8/+8
|
* winFile.test cleanupvincentdarley2002-07-181-4/+4
|
* winFCmd.test cleanupvincentdarley2002-07-181-18/+18
|
* winFCmd.test cleanupvincentdarley2002-07-181-7/+7
|