summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* Make sure large shifts shift for real. [Bug 868467]dkf2004-09-181-1/+12
|
* * tests/load.test (load-2.3): adopted fix for failure on darwindas2004-09-141-3/+4
| | | | from HEAD.
* One less crazy long/wide aunt in the attic... [Bug 868489]dkf2004-09-101-1/+67
|
* Also corrected faulty prevention of [namespace import] cycles.dgp2004-09-091-1/+45
| | | | [Bug 1017299]
* * generic/tclNamesp.c (Tcl_ForgetImport): Corrected faultydgp2004-09-091-1/+115
| | | | | * tests/namespace.test: logic that relied exclusively on string matching and failed in the presence of [rename]s. [Bug 560297]
* * compat/strftime.c (_conv): Corrected a problem where hour 0Kevin B Kenny2004-09-081-1/+5
| | | | | | would format as a blank format group with %k. * tests/clock.test (clock-41.1): Added regression test case for %k at the zero hour.
* Fix crash in [string map] when objects are shared. [Bug 1018562]dkf2004-08-301-1/+5
|
* * tests/env.test: macosx fixes.das2004-08-261-3/+3
|
* Ensure that the %ld conversion works correctly on 64-bit platforms. [Bug ↵dkf2004-08-191-2/+5
| | | | 1011860]
* fix for [Bug 1008314]Miguel Sofer2004-08-161-5/+28
|
* * library/msgcat/msgcat.tcl: Added checks to prevent [mclocale]dgp2004-08-131-3/+19
| | | | | | * tests/msgcat.test: from registering filesystem paths to possibly malicious code to be evaluated by a later [mcload]. * library/msgcat/pkgIndex.tcl: Bump to msgcat 1.3.3
* * 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]
* (io-61.1): create file in binary mode for x-platcore_8_4_7hobbs2004-07-261-1/+2
|
* * tests/eofchar.data (removed): Test io-61.1 now generates its owndgp2004-07-232-854/+14
| | | | * tests/io.test: file of test data as needed.
* * tests/socket.test: Accepted two new testcases by Stuart Casoffandreas_kupries2004-07-161-1/+7
| | | | | <stwo@users.sourceforge.net> checking that -server and -async don't go together [Tcl SF Bug 796534].
* added support for wide integers to round(); [Bug 908375], reported byMiguel Sofer2004-07-031-1/+16
| | | | Hemang Lavana.
* * generic/tclPipe.c (TclCreatePipeline): Add 2>@1 as a specialhobbs2004-07-021-1/+5
| | | | * tests/exec.test: case redir of stderr to the result output.
* backport of recent fs fixes from cvs headvincentdarley2004-07-021-0/+81
|
* Corrected Tcl Bug #770053vasiljevic2004-06-221-9/+7
|
* Fixed dde -async test.patthoyts2004-06-151-1/+2
|
* * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw Kevin B Kenny2004-06-051-0/+20
| | | | | | | | | | | | | | | | | build works again. * generic/tclInt.decls: Changes to the tests for * generic/tclIntPlatDecls.h: clock frequency in Tcl_WinTime * generic/tclStubInit.c: so that any clock frequency * tests/platform.test (platform-1.3): is accepted provided that * win/tclWin32Dll.c (TclWinCPUID): all CPU's in the system share * win/tclWinTest.c (TestwincpuidCmd): a common chip, and hence, * win/tclWinTime.c (Tcl_GetTime): presumably, a common clock. This change necessitated a small burst of assembly code to read CPU ID information, which was added as TclWinCPUID in the internal Stubs. To test this code in the common case of a single-processor machine, a 'testwincpuid' command was added to tclWinTest.c, and a test case in platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for reporting this bug. [Bug #976722]
* * tests/clock.test: Commented clock-9.1 that the test will fail Kevin B Kenny2004-05-271-2/+8
| | | | if strftime doesn't do %s. Modernized the use of test constraints.
* * tests/clock.test: Added a single test for the presence of %G Kevin B Kenny2004-05-271-50/+57
| | | | | | in [clock format], and conditioned out the clock-10.x series if they're all going to fail because of a broken strftime() call. [Bug 961714]
* * generic/tclEncoding.c:rmax2004-05-271-1/+16
| | | | | | * tests/encoding.test: added support and tests for translating embedded null characters between real nullbytes and the internal representation on input/output (Bug #949905).
* * library/tcltest/tcltest.tcl: Correction to debug prints and testingdgp2004-05-261-3/+8
| | | | | | | | * library/tcltest/pkgIndex.tcl: if TCLTEST_OPTIONS value. Corrected * tests/tcltest.test: double increment of numTestFiles in -singleproc 1 configurations. Updated tcltest-19.1 to tcltest 2.1 behavior. Corrected tcltest-25.3 to not falsely report a failure in tcltest.test. Bumped to tcltest 2.2.6. [Bugs 960560, 960926]
* * library/tcltest/tcltest.tcl: Correction to debug prints and testingdgp2004-05-261-19/+17
| | | | | | * library/tcltest/pkgIndex.tcl: if TCLTEST_OPTIONS value. Updated * tests/tcltest.test: tcltest-19.1 to tcltest 2.1 behavior. Bumped to tcltest 2.2.6.