summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * 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/+55
| | | | | | | | | * 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.
* * tests/winFCmd.test: Correct test for the presence of a CD-ROM so Kevin B Kenny2004-05-251-13/+4
| | | | | | that it doesn't misdetect some other sort of filesystem with a write-protected root as being a CD-ROM drive. [Bug 918267]
* * compat/strftime.c (_fmt, ISO8601Week): Kevin B Kenny2004-05-181-1/+149
| | | | | | | * doc/clock.n: * tests/clock.test: Major rework to the handling of ISO8601 week numbers. Now passes all the %G and %V test cases on Windows, Linux and Solaris [Bugs #500285, #500389, and #852944]
* 2004-05-14 Kevin B. Kenny <kennykb@acm.org> Kevin B Kenny2004-05-141-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.decls: Promoted TclpLocaltime and TclpGmtime * generic/tclIntDecls.h: from Unix-specific stubs to the generic * generic/tclIntPlatDecls.h: internal Stubs table. Reran 'genstubs' * generic/tclStubInit.c: * unix/tclUnixPort.h: * generic/tclClock.c: Changed a buggy 'GMT' timezone specification to the correct 'GMT0'. [Bug #922848] * unix/tclUnixThrd.c: Moved TclpGmtime and TclpLocaltime to unix/tclUnixTime.c where they belong. * unix/tclUnixTime.c (TclpGmtime, TclpLocaltime, TclpGetTimeZone, ThreadSafeGMTime [removed], ThreadSafeLocalTime [removed], SetTZIfNecessary, CleanupMemory): Restructured to make sure that the same mutex protects all calls to localtime, gmtime, and tzset. Added a check in front of those calls to make sure that the TZ env var hasn't changed since the last call to tzset, and repeat tzset if necessary. [Bug #942078] Removed a buggy test of the Daylight Saving Time information in 'gettimeofday' in favor of applying 'localtime' to a known value. [Bug #922848] * tests/clock.test (clock-3.14): Added test to make sure that changes to $env(TZ) take effect immediately. * win/tclWinTime.c (TclpLocaltime, TclpGmtime): Added porting layer for 'localtime' and 'gmtime' calls.
* * tests/unixInit.test (unixInit-2.10): Test correction for Mac OSX.dgp2004-05-051-3/+7
| | | | | Be sure to consistently compare normalized path names. Thanks to Steven Abner (tauvan). [Bug 948177]
* * generic/tclIOUtil.c (Tcl_FSChdir): Work-around crash conditionhobbs2004-05-041-1/+10
| | | | | * tests/winFCmd.test (winFCmd-16.12): triggered when $HOME is volumerelative (ie 'C:').
* * tests/fileName.test (filename-12.9): use C:/ instead of thehobbs2004-05-041-2/+4
| | | | | first item in file volumes - that's usually A:/, which for most will have nothing in it.
* * tests/tcltest.test: Test corrections for Mac OSX. Thanksdgp2004-05-041-10/+19
| | | | to Steven Abner (tauvan). [Bug 947440]
* * win/tclWin32Dll.c (TclpCheckStackSpace): Kevin B Kenny2004-05-031-1/+31
| | | | | * tests/stack.test (stack-3.1): Fix for undetected stack overflow in TclReExec on Windows. [Bug 947070]
* * generic/tclProc.c (TclObjInvokeProc):Miguel Sofer2004-05-021-1/+7
| | | | | * tests/proc.test (proc-3.6): fix for bad quoting of multi-word proc names in error messages [Bug 942757]
* * generic/tclIO.c (Tcl_SetChannelOption): Fixed [SF Tcl Bugandreas_kupries2004-04-232-1/+864
| | | | | 930851]. When changing the eofchar we have to zap the related flags to prevent them from prematurely aborting the next read.
* * tests/unixInit.test (unixInit-3.1): Default encoding on Darwindgp2004-04-061-2/+4
| | | | systems is utf-8. Thanks to Steven Abner (tauvan). [Bug 928808]
* root interacts badly with access(...,X_OK) [Bug 929892]dkf2004-04-061-2/+2
|
* * tests/tcltest.test: Corrected constraint typos: "nonRoot" ->dgp2004-04-021-4/+4
| | | | "notRoot". [Bug 928353]
* * generic/tclCompile.c (TclCompileScript):Miguel Sofer2004-03-151-2/+2
| | | | | | | | | * tests/compile.test (compile-3.5): corrected wrong test and behaviour in the earlier fix for [Bug 705406]; Don Porter reported this as [Bug 735055], and provided the solution. Fixed in HEAD on 2003-05-09, but backport to 8-4-branch was wrongly omitted; re-reported as [Bug 916795] by Roy Terry, diagnosed by dgp.
* glob -path fix for near filesystem rootvincentdarley2004-03-091-1/+32
|
* * 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]
* * tests/basic.test: Made several tests more robust to thedgp2004-02-258-102/+159
| | | | | | | | | | * 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:
* backport of BuildCommandLine changes to mirror msvcrt's parse_cmdline() ↵davygrvy2004-02-251-5/+115
| | | | rules of quoting
* add constraints to unixInit-7.1hobbs2004-02-181-2/+4
|
* * tests/unixInit.test: unixInit-7.1hobbs2004-02-171-1/+14
| | | | | * unix/tclUnixInit.c (TclpInitPlatform): ensure the std fds exist to prevent crash condition [Bug #772288]
* Stop losing references when variables are repeated in [binary scan]. [851747]dkf2003-12-021-1/+9
|
* * tests/windFCmd.test (winFCmd-16.10): Corrected failure todgp2003-11-211-1/+2
| | | | initialize variable $dd that caused test suite failure.
* fix to 'cd' infinite recursion bug on Windowsvincentdarley2003-11-201-5/+13
|
* * generic/regcomp.c: Backported regexp bug fixes and tests. Thanksdgp2003-11-171-1/+136
| | | | | * generic/tclTest.c: to Pavel Goran and Vince Darley. * tests/reg.test: [Bugs 230589, 504785, 505048, 703709, 840258]
* * tests/cmdMZ.test (cmdMZ-1.4): change to nonPortable as morehobbs2003-11-121-7/+5
| | | | | systems are using permissions caching, and this isn't really a Tcl controlled issue.
* * tests/unixInit.test (unixInit-2.10): re-enabled.dgp2003-11-101-2/+2
| | | | | | * unix/tclUnixInit.c (TclpInitLibraryPath): Alternative fix * win/tclWinInit.c (TclpInitLibraryPath): for [Bug 832657] that should not run afoul of startup constraints.
* * tests/unixInit.test (unixInit-2.10): mark as knownBughobbs2003-11-061-4/+4
| | | | | | * generic/tclEncoding.c (TclFindEncodings): revert patch from 2003-11-05. It wasn't valid in the sensitive startup init phase and broke Windows from working at all.
* * generic/tclEncoding.c (TclFindEncodings): Normalize the pathdgp2003-11-051-1/+35
| | | | | | of the executable before passing to TclpInitLibraryPath() to avoid buggy handling of paths containing "..". [Bug 832657] * tests/unixInit.test (unixInit-2.10): New test for fixed bug.
* regsub fixvincentdarley2003-10-141-1/+13
|
* Added constraint to the new tests.dgp2003-10-081-9/+10
|
* Made Tcl_NumUtfChars do the right thing with \u0000 when guessing the lengthdkf2003-10-081-4/+19
| | | | because of a negative 'length' parameter. [Bug 769812]
* * tests/exec.test: Corrected temporary file managementdgp2003-10-071-366/+364
| | | | | | | | | * tests/fileSystem.test: issues uncovered by -debug 1 test * tests/io.test: operations. Also backported some * tests/ioCmd.test: other fixes from the HEAD. * tests/pid.test: [Bugs 675605, 675655, 675659] * tests/socket.test: * tests/source.test:
* * tests/exec.test: Corrected temporary file managementdgp2003-10-076-190/+317
| | | | | | | | * tests/fileSystem.test: issues uncovered by -debug 1 test * tests/ioCmd.test: operations. Also backported some * tests/pid.test: other fixes from the HEAD. * tests/socket.test: [Bugs 675605, 675655] * tests/source.test:
* * tests/fCmd.test: Run tests with the [temporaryDirectory] asdgp2003-10-071-1/+4
| | | | | the current directory, so that tests can depend on ability to write files. [Bug 575837]
* * tests/io.test: Corrected several tests that failed when pathsdgp2003-10-072-38/+23
| | | | * tests/ioCmd.test: included regexp-special chars. [Bug 775394]
* * tests/regexp.test: Matched [makeFile] with [removeFile].dgp2003-10-072-11/+19
| | | | * tests/regexpComp.test: [Bug 675652]
* * tests/fCmd.test (fCmd-8.2): Test only that tilde-substitutiondgp2003-10-061-5/+4
| | | | | | | happens, not for any particular result. [Bug 685991] * unix/tcl.m4 (SC_PATH_TCLCONFIG): Corrected search path so that alpha and beta releases of Tcl are not favored. [Bug 608698]
* * tests/reg.test: Corrected duplicate test names.dgp2003-10-062-4/+4
| | | | * tests/resource.test: [Bugs 710370, 710358]
* * tests/cmdMZ.test: Updated [package require tcltest] lines todgp2003-10-065-9/+9
| | | | | | | * tests/fileSystem.test: indiciate that these test files * tests/notify.test: use features of tcltest 2. [Bug 706114] * tests/parseExpr.test: * tests/unixNotfy.test:
* filesystem bug fixes: volumerelative normalization, file join inconsistencyvincentdarley2003-10-061-1/+18
|
* new tests for reported problems, fixes to followvincentdarley2003-10-032-4/+112
|
* * generic/tclBasic.c (CallCommandTraces): Added safety bitdgp2003-09-291-13/+16
| | | | | | | | * tests/trace.test: masking to prevent any of the bit values TCL_TRACE_*_EXEC from leaking into the flags field of any Command struct. This does not fix [Bug 811483] but helps to contain some of its worst symptoms. Also backported the corrections to test trace-28.4 from Vince Darley.
* * generic/tclCmdMZ.c (): Fixed [Bug 807243] wheredgp2003-09-241-1/+37
| | | | | | * tests/trace.test (trace-31,32.*): the introspection results of both [trace info command] and [trace info execution] were getting co-mingled. Thanks to Mark Saye for the report.
* * generic/tclExecute.c: adding (DE)CACHE_STACK_INFO() pairs toMiguel Sofer2003-09-191-1/+9
| | | | | protect all calls that may cause traces on ::errorInfo or ::errorCode to corrupt the stack [Bug 804681]
* && of the constraints is the default; need not be specified.dgp2003-09-041-3/+3
|
* Typo correction: knownbug -> knownBugdgp2003-09-041-2/+2
|
* * generic/tclUtil.c: Corrected [Bug 411825] and other bugs indgp2003-08-271-1/+21
| | | | | | TclNeedSpace() where non-breaking space (\u00A0) and backslash-escaped spaces were handled incorrectly. * tests/util.test: Added new tests util-8.[2-6].
* * tests/util.test: Added new tests for remaining TclNeedSpace()dgp2003-08-271-1/+36
| | | | bugs discussed in [Bug 411825].