summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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]
* * 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.