summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * 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]
* * tests/winPipe.c (winpipe-6.1): blocking set to 1 before closing to ensuredavygrvy2004-06-021-1/+2
| | | | | we get an exitcode. The windows pipe channel driver doesn't differentiate between a blocking and non-blocking close just yet, but will soon.
* reverted back to 1.8davygrvy2004-06-011-3/+3
|
* reverted back to 1.53davygrvy2004-06-011-7/+7
|
* * tests/io.test:davygrvy2004-06-012-10/+10
| | | | | | | * tests/iogt.test: Tests cases that set invalid -buffersize settings on channels either wrapped in a catch or modified to a valid range. The assertion results were not modified to show that the behavior of Tcl_SetChannelBufferSize is unchanged.
* * tests/clock.test: Commented clock-9.1 that the test will fail Kevin B Kenny2004-05-271-1/+6
| | | | if strftime doesn't do %s.
* * 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]
* Test name was thoroughly misleadingdkf2004-05-271-2/+2
|
* * 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.
* * doc/http.n (http::config): add -urlencoding option (default utf-8)hobbs2004-05-251-9/+53
| | | | | | | | | * library/http/http.tcl: that specifies encoding conversion of * library/http/pkgIndex.tcl: args for http::formatQuery. Previously * tests/http.test: undefined, RFC 2718 says it should be utf-8. 'http::config -urlencoding {}' returns previous behavior, which will throw errors processing non-latin-1 chars. Bumped http package to 2.5.0.
* * generic/tclNamesp.c (Tcl_FindNamespaceVar):Miguel Sofer2004-05-251-24/+14
| | | | | | | | | | | | | | | | * tests/namespace.test (namespace-17.10-12): reverted commit of 2004-05-23 and removed the tests, as it interferes with the varname resolver and there are apps that break (AlphaTk). A fix will have to wait for Tcl9. * generic/tclVar.c: Caching of namespace variables disabled: no simple way was found to avoid interfering with the resolver's idea of variable existence. A cached varName may keep a variable's name in the namespace's hash table, which is the resolver's criterion for existence. * tests/namespace.c (namespace-17.10): testing for interference between varname caching and name resolver.
* * tests/winPipe.test: Protect against path being setdgp2004-05-253-4/+8
| | | | | | * tests/unixInit.test: Unset path when done. * tests/unload.test (unload-3.1): Verify [pkgb_sub] does not exist. Delete interps when done.
* * tests/unload.test (unload-3.1): Verify [pkgb_sub] does not exist.dgp2004-05-254-277/+279
| | | | | | * tests/stringComp.test: stop re-use of string.test test names * tests/regexpComp.test: stop re-use of regexp.test test names * tests/namespace.test (namespace-46.3): Verify [p] does not exist.
* * tests/winFCmd.test: Correct test for the presence of a CD-ROM so Kevin B Kenny2004-05-251-15/+6
| | | | | | that it doesn't misdetect some other sort of filesystem with a write-protected root as being a CD-ROM drive. [Bug 918267]
* io-61.1: initialize resdgp2004-05-251-1/+2
|
* * tests/http.test: Clear away the custom [bgerror] when done.dgp2004-05-252-4/+5
| | | | * tests/io.test: Take care to use namespace variables.
* * tests/autoMkindex.test (autoMkindex-5.2): Use variable "result"dgp2004-05-253-7/+9
| | | | | | | that gets cleaned up. * tests/exec.test: Clean up the "path" array. * tests/interp.test (interp-9.3): Initialize res, so prior values cannot make the test fail.
* * tests/execute.test (execute-8.1): Updated to remove the tracedgp2004-05-251-4/+8
| | | | | set on ::errorInfo . When left in place, that trace can cause later tests to fail.
* error in test namingdkf2004-05-251-3/+3
|
* Fix test suite so NFS doesn't consistently cause 8 failures. [Bug 931312]dkf2004-05-251-30/+44
|
* * generic/tclNamesp.c (Tcl_FindNamespaceVar): [Bug 959052] fixed,Miguel Sofer2004-05-231-1/+25
| | | | | | | insuring that no "zombie" variables are found. * generic/tclVar.c (TclLookupSimpleVar): comments re [Bug 736729] (predecessor of [Bug 959052]) removed. * tests/namespace.test: added tests 17.10-12
* * tests/namespace.test (namespace-41.3): removed the {knownBug}Miguel Sofer2004-05-221-2/+2
| | | | | constraint: [Bug 231259] is closed since nov 2001, and the fix of [Bug 729692] (INST_START_CMD) makes the test succeed.
* It seems all NaN handling is non-portable except where the platform isdkf2004-05-201-5/+5
| | | | incredibly constrained.
* Delete limit callbacks properly when the interpreters involved are deleted.dkf2004-05-201-1/+75
|
* Added test based on suggestion by Miguel Soferdkf2004-05-191-1/+17
|
* Oops! Duplicated a -constraints section, which confused tcltestdkf2004-05-191-3/+3
|
* Enable a test of limiting tight loops.dkf2004-05-191-6/+7
|
* Silly errordkf2004-05-191-2/+2
|
* Spelling whoops! Moved constraint declaration to near top of filedkf2004-05-191-2/+3
|
* Massive test cleanup; all tests are run, and constraints are used where ↵dkf2004-05-1931-1227/+977
| | | | necessary.
* corrected test name duplicationdgp2004-05-191-2/+2
|
* fix to 'file dirname' and to fs refCount documentationvincentdarley2004-05-191-1/+13
|
* Fix whitespacedkf2004-05-192-31/+2
|
* Fix whitespacedkf2004-05-194-53/+6
|
* Fix whitespace and add test for case when pwd can generate an errordkf2004-05-191-16/+7
|
* Remove trailing whitespacedkf2004-05-192-26/+2
|