summaryrefslogtreecommitdiffstats
path: root/tests/basic.test
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclBasic.c (Tcl_EvalEx,TclEvalTokensStandard):dgp2005-03-181-4/+2
| | | | | | | | | | | * 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] FossilOrigin-Name: e64996b96be1348a3e8dc234c82ced8a96d485dd
* * generic/tclBasic.c (Tcl_EvalObjEx):msofer2005-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. FossilOrigin-Name: de2187d0475d1335b5d025ed3a7d0e7d7fe7bd6a
* * tests/compile.test (compile-12.4): Backport test for Bug 1001997.dgp2004-10-261-1/+21
| | | | | | | | | | | | | | | | * 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. FossilOrigin-Name: bc0a9e3a5cdbb7a967d8d3d45a035100899ccb72
* * generic/tclMain.c (Tcl_Main, StdinProc): Append newline onlydgp2004-07-281-3/+2
| | | | | | | | * tests/basic.test (basic-46.1): to incomplete scripts as part of multi-line script construction. Do not add an extra trailing newline to the complete script. [Bug 833150] FossilOrigin-Name: f78f682cf1f1869192c0fe9a326365096ca9c53f
* * generic/tclCmdMZ.c (TclCheckInterpTraces): The TIP 62dgp2004-03-011-1/+10
| | | | | | | | | | * generic/tclTest.c (TestcmdtraceCmd): implementation introduced a * tests/basic.test (basic-39.10): bug by testing the CallFrame level instead of the iPtr->numLevels level when deciding what traces created by Tcl_Create(Obj)Trace to call. Added test to expose the error, and made fix. [Request 462580] FossilOrigin-Name: af732ef905064138b979d8b449ff93b52626e8db
* * tests/basic.test: Made several tests more robust to thedgp2004-02-251-26/+34
| | | | | | | | | | | | * tests/cmdMZ.test: list-quoting of path names that might * tests/exec.test: contain Tcl-special chars like { or [. * tests/io.test: Should help us sort out Tcl Bug 554068. * tests/pid.test: * tests/socket.test: * tests/source.test: * tests/unixInit.test: FossilOrigin-Name: 232c518b18acc9d49f922693cfff0269be58f668
* Corrected error message for grammar and spelling.dkf2003-05-051-2/+2
| | | FossilOrigin-Name: 3c425980ed5bfce16b858aa08957427f2d9b2f93
* Don Porter's fix for bad parsing of nested scripts [Bug 681841].msofer2003-02-161-1/+5
| | | FossilOrigin-Name: 13c34f1df965be2a2dcdba3a6efa2406bac99e66
* finalization and test fixesvincentdarley2003-02-041-5/+5
| | | FossilOrigin-Name: 1bf7a8241117b168c3fb8a4ed4398c3f1317b2fa
* * Cleaned up, constrained, and reduced the amount of [exec] usagedgp2002-07-101-19/+13
| | | | | | in the test suite. FossilOrigin-Name: b0f3dfed629f8e4c506365bc62ba4dd7900a03c6
* fixed [Bug 575817]msofer2002-07-041-15/+20
| | | FossilOrigin-Name: 00ac615b6b202b5b316e80f2ac36c366d9e0c4b8
* * Corrections to tcltest and the Tcl test suite so that a testdgp2002-06-221-6/+6
| | | | | | | | | with options -constraints knownBug -limitConstraints 1 only tests the knownBug tests. Mostly involves replacing direct access to the testConstraints array with calls to the testConstraint command (which requires tcltest version 2). FossilOrigin-Name: 9ba9324aefb481870bbdcf7c812e149be23ddd02
* Fix for bugs #549607 & #549610: testsuite failures for filenames with spaces.msofer2002-05-071-4/+4
| | | FossilOrigin-Name: 3ec77da87ce82b22646f66dc4be243c086a8158e
* 2002-04-08 Daniel Steffen <das@users.sourceforge.net>das2002-04-081-6/+8
| | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: no <sys/types.h> on mac. * mac/tclMacFile.c: minor fixes to Vince's changes from 03-24. * mac/tclMacOSA.c: * mac/tclMacResource.c: added missing Tcl_UtfToExternalDString conversions of resource file names. * mac/tclMacSock.c (TcpGetOptionProc): fixed bug introduced by Andreas on 02-25; changed strcmp's to strncmp's so that option comparison behaves like on other platforms. * mac/tcltkMacBuildSupport.sea.hqx (CW Pro6 changes): added support to allow Tk to hookup C library stderr/stdout to TkConsole. * tests/basic.test: * tests/cmdAH.test: * tests/encoding.test: * tests/fileSystem.test: * tests/ioCmd.test: fixed tests failing on mac: check for existence of [exec], changed some result strings. FossilOrigin-Name: 3ae45d9135ce87686a3e3b1927650b352481bc93
* * Corrected problems with Tcl_AllowExceptionsdgp2002-03-291-1/+42
| | | | | | | having influence over the wrong scope of Tcl_*Eval* calls. Patch from Miguel Sofer. Report from Jean-Claude Wippler. [Bug 219181] FossilOrigin-Name: 69bdb87c65511425f3f4335e58be1ddc5ddee5b1
* avoid exceptional returns at level 0 [Bug 219181]msofer2002-03-271-1/+15
| | | FossilOrigin-Name: b268ff19148212477a893cbc8f594da1873c96d7
* adding test for [Bug 533758], fixed earlier today.msofer2002-03-231-3/+25
| | | FossilOrigin-Name: 55e85350ecb2aade1f6666a0b76176dd59b7f4f6
* Added Tcl_CreateObjTrace, Tcl_GetCommandInfoFromToken andkennykb2002-02-101-1/+32
| | | | | | Tcl_SetCommandInfoFromToken. (TIPs #32 and #79.) FossilOrigin-Name: 5a7e3737aabc29b2f60a008ee6aaf1d35c9da32f
* Added fix for Bug #494348; the [foreach] implementation was doing somedkf2002-01-031-26/+13
| | | | | | | cacheing that didn't seem to be safe, and which wouldn't gain very much performance either. Removing it fixed the bug. FossilOrigin-Name: de112c87cb1bdde36df481674d2cc02af97b13d2
* Added test from Bug #494348, but solution still far off.dkf2002-01-031-1/+26
| | | FossilOrigin-Name: 9a1a314b56a8cde21b6a50d2376f1888f48ff040
* improved skip reporting of missing commandshobbs2001-09-201-35/+16
| | | FossilOrigin-Name: b1709aa69f07b11a6ad45ec6152d5832566aa500
* * library/tcltest1.0/tcltest2.tcl:jenn2000-10-191-3/+7
| | | | | | | | | | | | | | | | * tests/tcltest2.test * doc/tcltest2.n: Code and documentation cleanup. Modified -verbose to take list of keywords as well as string of letters. Removed Tcl version information from tcltest. Removed tcltest::grep from tcltest package. Added optional 3rd directory argument to makeFile/makeDirectory and removeFile/removeDirectory. * tests/basic.test: Changed references to tcltest::tclVersion to hardcoded numbers. * generic/tcl.h: Changed reference to tcltest2.tcl and tcltest.tcl in comments to tests/basic.test. FossilOrigin-Name: 105995497b0c05e2a47956689ff2bb0c2d69c2eb
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948]. FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
* * tests/tcltest.test:jenn1999-10-191-3/+3
| | | | | | | | | | | | | * doc/tcltest.n: * library/tcltest1.0/tcltest.tcl: Removed the extra return at the end of the tcltest.tcl file. Applied patches sent in by Andreas Kupries to add helper procs for debug output, add 3 new flags (-testsdir, -load, -loadfile), and internally refactors common code for dealing with paths into separate procedures. [Bug: 2838, 2842] FossilOrigin-Name: 58252d4dac5ccaff0e51834d2b981eb00da26674
* * tests/basic.test: updated test cases for 8.3hobbs1999-10-131-3/+3
| | | | | | | | * tests/encoding.test: fixed test case that change system encoding to a double-byte one (this causes a bogus mem read error for purify) FossilOrigin-Name: dcf7902796cf1e77177af6e71670032775aba857
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
| | | FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
* Changed to Tcl 8.2b1welch1999-06-251-3/+3
| | | FossilOrigin-Name: c46ff26d58c280339277f45b158a4dbb4b889833
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-44/+186
| | | FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
* Replaced SCCS strings, fixed binary filescore-8-0-3stanton1998-09-141-1/+1
| | | FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
* check for test commands before running tests.hershey1998-07-281-0/+4
| | | FossilOrigin-Name: e3765bec2e020f9f598417ff4b17cdc3381ccec1
* Initial revisionrjohnson1998-03-261-0/+399
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a