summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* fix to knownBug testvincentdarley2002-07-181-1/+1
|
* * generic/tclBasic.c (CallCommandTraces): delete traces now receiveMiguel Sofer2002-07-181-6/+6
| | | | the FQ old name of the command. [Bug 582532] (Don Porter)
* add test constraintsvincentdarley2002-07-181-3/+3
|
* * generic/tclVar.c: refactorisation to reuse already looked-up VarMiguel Sofer2002-07-152-4/+4
| | | | | | | | | | | | | | | | | | pointers; definition of three new Tcl_Obj types to cache variable name parsing and lookup for later reuse; modification of internal functions to profit from the caching. * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclNamesp.c: adding CONST qualifiers to variable names passed to Tcl_FindNamespaceVar and to variable resolvers; adding CONST qualifier to the 'msg' argument to TclLookupVar. Needed to avoid code duplication in the new tclVar.c code. * tests/set-old.test: * tests/var.test: slight modification of error messages due to the modifications in the tclVar.c code.
* * Improved constraints to protect /tmp. [Bug 581403]dgp2002-07-151-5/+7
|
* tests, docsvincentdarley2002-07-151-13/+13
|
* [file attributes -permissions] is Unix-only; [catch] it for portabilitydkf2002-07-111-4/+4
|
* * Greatly reduced the number of [exec]s, using slave interps instead.dgp2002-07-101-75/+124
| | | | | * Fixed bug uncovered in the conversion where a message was written to stdout instead of [outputChannel].
* typo fixesdgp2002-07-101-3/+3
|
* Removed [exec] of Unix utilities with equivs in standard Tcl [Bug 579268]dkf2002-07-103-99/+86
|
* * Cleaned up, constrained, and reduced the amount of [exec] usagedgp2002-07-1015-446/+422
| | | | in the test suite.
* Removed exec of unix utilities from cmdAH.test [Bug 579211]dkf2002-07-101-9/+11
|
* Fix for bug 579284; registered math funcs can now correctly return wide-ints.dkf2002-07-101-26/+34
|
* * tests/socket.test: Fixed bug #578164. The original reason forandreas_kupries2002-07-081-3/+3
| | | | | | the was a DNS outage while running the testsuite. Changed [info hostname] to 127.0.0.1 to bypass DNS, knowing that we operate on the local host.
* add file link constraintvincentdarley2002-07-083-13/+31
|
* * tests/pkgMkIndex.test: Constrained tests of [load] package indexingdgp2002-07-061-1/+5
| | | | | to those platforms where the testing shared libraries have been built. [Bug 578166].
* * generic/tclClock.c (FormatClock): Convert the format string tormax2002-07-051-1/+9
| | | | | | UTF8 before calling TclpStrftime, so that non-ASCII characters don't get mangled when the result string is being converted back. * tests/clock.test: Added a test for that.
* Made many tests work properly when the current directory is not writable.dkf2002-07-0513-220/+181
| | | | Added targets to unix/Makefile.in to facilitate testing of this situation.
* More fixing of writable-current-dir assumption. [Bug 575824]dkf2002-07-042-133/+146
|
* Fix to latest patch.andreas_kupries2002-07-041-2/+3
|