summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug in CET time spec - times change at 0100 Greenwuch, not local.Kevin B Kenny2004-08-211-2/+2
|
* * tests/clock.test (clock-38.1): Changed TZ setting to specifyKevin B Kenny2004-08-211-2/+2
| | | | | | CET in excruciating detail to deal with systems that lack the Posix defaults for DST changes (and to be formally correct with the change dates for CET).
* Ensure that the %ld conversion works correctly on 64-bit platforms. [Bug ↵dkf2004-08-191-2/+5
| | | | 1011860]
* * library/clock.tcl (format): Changed default timezone format Kevin B Kenny2004-08-191-7/+30
| | | | | | | from alphabetic to numeric to produce scannable times in more locales. * tests/clock.test (clock-37.1): Removed now-unused 'needPST' constraint and the comments that refer to it.
* Fixed httpd's abuse of the [clock] commandKevin B Kenny2004-08-181-1/+2
|
* unbreak Win build after TIP#173 and TIP#209 commitKevin B Kenny2004-08-181-2/+21
|
* TIP #173 and #209 implementation - see ChangeLog for detailsKevin B Kenny2004-08-183-435/+34906
|
* 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].
* Standardized constraint namedkf2004-08-041-2/+2
|
* TIP#207 IMPLEMENTATIONdgp2004-08-021-1/+14
| | | | | | | | | | * doc/interp.n: Added support for a -namespace option to the * generic/tclBasic.c: [interp invokehidden] command. Also added an * generic/tclInt.h: internal routine TclObjInvokeNamespace() and * generic/tclInterp.c: corrected the flag names TCL_FIND_ONLY_NS and * generic/tclNamesp.c: TCL_CREATE_NS_IF_UNKNOWN that are passed to the * generic/tclTrace.c: internal routine TclGetNamespaceForQualName(). * tests/interp.test: [Patch 981841]
* * generic/tclLiteral.c (TclCleanupLiteralTable): Correcteddgp2004-08-021-1/+58
| | | | | | * tests/compile.test (compile-12.4): flawed deletion of literal internal reps that could lead to accessing of freed memory. Thanks to Kevin Kenny for test case and fix [Bug 1001997].
* * tests/safe.test (safe-2.1): Disabled senseless test. [Bug 999612]dgp2004-07-301-3/+4
| | | | | | * library/auto.tcl (auto_reset): Removed "protected" list of commands from [auto_reset]. All entries in the auto_index can be re-loaded. * library/package.tcl: Updated comment to reflect 2004-07-28 commit.
* * library/package.tcl: Moved private commanddgp2004-07-281-14/+14
| | | | | | * library/tclIndex: [pkg_compareExtension] into ::tcl::Pkg. * tests/pkg_mkIndex.test: Also moved implementation of [::pkg::create] to [::tcl::Pkg::Create].
* * tests/io.test: Make io-61.1 create file as binary to pass on Win32patthoyts2004-07-251-1/+2
|
* * tests/eofchar.data (removed): Test io-61.1 now generates its owndgp2004-07-232-852/+13
| | | | * tests/io.test: file of test data as needed.
* cd infinite loop bug fixedvincentdarley2004-07-171-0/+17
|
* * 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].
* Sanitized another couple of uses of the environment.Kevin B Kenny2004-07-101-15/+19
|
* Added code to restore env(LC_TIME) after the test completes, silencingKevin B Kenny2004-07-101-1/+10
| | | | a warning from 'make TESTFLAGS="-debug 1" test'.
* clock.test: Changed clock-2.11 so that it isn't an infinite loop whenKevin B Kenny2004-07-101-3/+10
| | | | run on a slow virtual machine.
* * tests/cmdMZ.test (cmdMZ-return-2.17): Added a test that a worddgp2004-07-061-1/+11
| | | | | | | | | containing backslash-quoted value is treated correctly. * generic/tclCompile.c (TclWordKnownAtCompileTime): [Bug 986196] Corrected flaw above and the flaw that caused TCL_TOKEN_SIMPLE_WORDs to have their original word value copied ( "{a b}" ) rather than the actual value ( "a b" ). Thanks to Kevin Kenny for report and tests.
* * tests/cmdMZ.test (cmdMZ-return-2.15,cmdMZ-return-2.16):Kevin B Kenny2004-07-061-1/+22
| | | | | Added a test that a return code containing spaces is correctly returned.
* Added missing constraint definition...dkf2004-07-041-1/+3
|
* added support for wide integers to round(); [Bug 908375], reported byMiguel Sofer2004-07-031-1/+16
| | | | Hemang Lavana.
* * generic/tclPipe.c (TclCreatePipeline): applied TIP #202 patchhobbs2004-07-021-1/+5
| | | | | * doc/exec.n, tests/exec.test: that adds 2>@1 as a special case redirection of stderr to the result output.
* tests/winPipe.test (winpipe-1.11): Fixed a bug that causedKevin B Kenny2004-07-021-2/+2
| | | | | test to fail if the path name of the working directory contained whitespace [Bug 678430]
* tests/io.test: Changed several tests to run the eventKevin B Kenny2004-07-021-13/+14
| | | | | | loop rather than just calling [update] periodically, avoiding intermittent failures (usually in io-29.32) that stemmed from unreaped processes on Windows.
* added testvincentdarley2004-07-021-0/+14
|
* * tests/fileSystem.test: Minor correction to new fileSystem-9.Xdgp2004-06-301-5/+5
| | | | tests so that they clean up temporary directories correctly.
* fix to trailing slash documentation and to a filesystem 'file join' bug on ↵vincentdarley2004-06-301-0/+67
| | | | windows
* TIP#188 implementation. Thanks to KBK! [Patch 940915]dkf2004-06-301-3/+52
|
* Fix constraints so can test with tclsh as well as tcltest [Bug 736431]dkf2004-06-245-56/+53
|
* Add update to let the async events workpatthoyts2004-06-231-1/+2
|
* * tests/io.test: Added -force to 18.1 and 18.2. This was failingpatthoyts2004-06-231-3/+3
| | | | on WinXP.
* * tests/winFCmd.test: Added a cleanup to winFCmd-16.11 to avoid apatthoyts2004-06-231-3/+6
| | | | failure in 16.12.
* * tests/winDde.test (createChildProcess): Added a 200-ms delayKevin B Kenny2004-06-231-2/+6
| | | | | | | (with the event loop live) when shutting down the test DDE server process, With the delay in place, nuisance failures of tests winDde-4.2, -6.5, and -6.6 appear to be much less frequent. [Bug #957449]
* Simplify constraint by assuming Mac is Unix (which is true these days)dkf2004-06-231-8/+8
|
* Standardize some use of test constraints onto names that are documenteddkf2004-06-2330-722/+719
|
* Fixed constraint name and whitespace usagedkf2004-06-231-25/+19
|
* Version of [Patch 746578] that works with Linux and is likely to work elsewheredkf2004-06-231-24/+20
|
* * generic/tclEvent.c (NewThreadProc): Fixed broken build onKevin B Kenny2004-06-221-7/+7
| | | | | | Windows caused by missing TCL_THREAD_CREATE_RETURN. * tests/stack.test (stack-3.1): Corrected nuisance error in threaded builds.
* Integrated fix for Tcl Bug #770053 from core-8-4-branchvasiljevic2004-06-221-9/+7
|
* * tests/load.test: Relaxed strictness of error message matchingdgp2004-06-191-3/+4
| | | | for test load-2.3 so that it will pass on Mac OSX.
* * tests/winFCmd.test (winFCmd-16.12): Changed test toKevin B Kenny2004-06-181-10/+29
| | | | | compute the target directory, so as not to fail if the user's HOME isn't the root.
* Added tests for deep-object-freeingdkf2004-06-182-2/+27
|
* Remove extraneous spacedkf2004-06-181-23/+1
|
* * doc/Encoding.3: Removed bogus claims about tcl_libPath.dgp2004-06-111-2/+5
| | | | | | | | | | | | | | * generic/tclInterp.c (Tcl_Init): Stopped setting the tcl_libPath variable. [tclInit] can get all its directories without it. * tests/unixInit.test: Modified test code that made use of tcl_libPath variable. * unix/tclUnixInit.c: Stopped setting the tclDefaultLibrary variable, execept on the Mac OS X platform with HAVE_CFBUNDLE. In that configuration we should seek some way to make use of the TIP 59 facilities and get rid of that usage of tclDefaultLibrary as well.
* * unix/tclUnixInit.c (TclpInitLibraryPath): Disabled addition ofdgp2004-06-101-21/+45
| | | | | | | | | | | | | | * win/tclWinInit.c (TclpInitLibraryPath): relative-to-executable directories to the library search path. A first step in reform of Tcl's startup process. ***POTENTIAL INCOMPATIBILITY*** Attempts to directly run ./tclsh or ./tcltest out of a build directory will either fail, or will make use of an installed script library in preference to the one in the source tree. Use `make shell` or `make runtest` instead. * tests/unixInit.test: Modified tests to suit above changes.
* * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw Kevin B Kenny2004-06-051-0/+20
| | | | | | | | | | | | | | | | | | | | build works again. * generic/tclDecls.h: Changes to the tests for * generic/tclInt.decls: clock frequency in * generic/tclIntDecls.h: Tcl_WinTime * generic/tclIntPlatDecls.h: so that any clock frequency * generic/tclPlatDecls.h: is accepted provided that * generic/tclStubInit.c: all CPU's in the system share * tests/platform.test (platform-1.3): a common chip, and hence, * win/tclWin32Dll.c (TclWinCPUID): presumably, a common clock. * win/tclWinTest.c (TestwincpuidCmd) This change necessitated a * win/tclWinTime.c (Tcl_GetTime): 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]