summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Unix channels now have the right type associated with them [bug #219137]dkf2001-06-181-8/+21
| | | | A couple of nasty faults/assumptions in unixInit.test are fixed too.
* Fix for bug #219232 (submatch errors with regexp -all -inline -indices)dkf2001-06-121-1/+4
|
* Changes from TIP#15 "Functions to List and Detail Math Functions"dkf2001-05-301-10/+28
|
* tests/utf.test: added tests to check unicode 3 compliancehobbs2001-05-281-8/+32
|
* * tests/io.test: changed io-52.[9-11] to not be platform sensitivehobbs2001-05-231-13/+14
| | | | with EOL translation.
* * tests/tcltest.test (tcltest-19.1): fixed failing test that washobbs2001-05-221-9/+14
| | | | getting affected by Windows env handling of empty valued elements.
* * tests/cmdMZ.test (cmdMZ-1.4): added notLinux constraint to testhobbs2001-05-211-2/+7
| | | | to prevent failure message on Linux due to OS caching bug.
* * tests/httpd (httpdRespond): added response to timeout value inhobbs2001-05-211-0/+3
| | | | query string.
* tests/http.test: removed unused notLinux constraint settinghobbs2001-05-211-3/+1
|
* * Note that "tclbench" (see project "tcllib") was extended withandreas_kupries2001-05-191-1/+79
| | | | | | | | | | | | | | | | | | performance benchmarks for [fcopy] too. * doc/fcopy.n: Updated to reflect the extended behaviour of 'fcopy'. * tests/io.test: Added tests 'io-52.9', 'io-52.10' and 'io-52.11' to test the handling of encodings by 'fcopy' / 'TclCopychannel' [Bug #209210]. * generic/tclIO.c: Split of both 'Tcl_ReadChars' and 'Tcl_WriteChars' into a public error checking and an internal working part. The public functions now use the new internal ones. The new functions are 'DoReadChars' and 'DoWriteChars'. Extended 'CopyData' to use the new functions 'DoXChars' when required by the encodings on the input and output channels [Bug #209210].
* * tests/appendComp.test:hobbs2001-05-172-0/+909
| | | | * tests/stringComp.test: new files for extended bytecode testing
* * tests/error.test: updated error-1.3 message to account forhobbs2001-05-172-16/+8
| | | | string index being compiled at toplevel.
* * tests/fileName.test: corrected tests not to fail on win when ahobbs2001-05-151-4/+4
| | | | C:/test dir exists.
* [Patch: 423617]Miguel Sofer2001-05-151-1/+4
|
* Patch from [Bug: 231259]Miguel Sofer2001-05-151-1/+15
|
* Negative start index to [string first] caused offset return value (Bug 423581)dkf2001-05-141-1/+4
|
* * tests/tcltest.test: removed extraneous 'c' (doh!) [Bug: 414031]hobbs2001-05-031-2/+2
|
* Fix for Bug 420186dgp2001-05-032-3/+12
|
* Patch for bug #420507Miguel Sofer2001-05-031-1/+12
|
* Recognise the non-numeric boolean literals (true,false,yes,no,on,off.)dkf2001-04-091-1/+15
| | | | [Bug #217777]
* Fixed typo.dkf2001-04-091-2/+2
|
* Avoid panic when there are extra items in the tcl stackMiguel Sofer2001-04-071-1/+10
| | | | [Bug #406709, Patch #414470]
* Corrected behaviour of [namespace code] (bug #219385, patch #403530)Miguel Sofer2001-04-072-7/+18
|
* Modified processing of $::errorInfo by [unknown] when the auto-loaded commanddgp2001-04-061-12/+52
| | | | | throws an error to better cover the tracks of auto-loading. [Bug 219280, Patch 403551]
* Fixed problem with [string compare \x00 \x01] and hopefully sped thedkf2001-04-061-3/+8
| | | | | command up in a few cases too (notably byte arrays and UNICODE objects.) [Bug #219201]
* 2001-04-04 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-04-041-9/+2
| | | | | | | * generic/tclTest.c: * tests/io.tests: TIP #10 followup correcting a problem with the original patch because of the lack of 'testthread id' for a non-threaded compilation.
* 2001-03-30 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-03-301-14/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * All of the changes below belong to TIP #10 [Tcl I/O Enhancement: Thread-Aware Channels]. See also [Patch #403358] at SF. * generic/tclIO.h (struct ChannelState, line 236f): Extended the structure with a new field of type 'Tcl_ThreadId' to hold the id of the thread currently managing all channels with this state. Note: This structure is shared by all channels in a stack of transformations. * generic/tclIO.c (Tcl_CreateChannel, lines 1058-1065): Modified to store the Id of the current thread in the 'ChannelState' of the new channel. * generic/tclIO.c (Tcl_SpliceChannel, lines 2265-2270): Modified in the same manner as 'Tcl_CreateChannel' as the channel will be managed by the current thread afterward. * generic/tclIO.c (Tcl_GetChannelThread, lines 1478-1503): * generic/tcl.decls (Tcl_GetChannelThread, lines 1504-1506): New API function to retrieve the Id of the managing thread from a channel. Implementation and declaration. * generic/tclTest.c (TestChannelCmd, lines 4520-4532): Added subcommand 'mthread' to query a channel about its managing thread.
* * tests/interp.test: Print out warning whenmdejong2001-03-291-2/+23
| | | | | | testinterpdelete command is not defined. Add tests that checks to make sure a child interp inherits the parent's cwd.
* * tests/regexp.test (regexp-19.1):hobbs2001-03-281-15/+5
| | | | | * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): fixed handling of nulls in subspec value.
* Error behaviour of [unset] was changed to agree with documentation, sodkf2001-03-151-14/+4
| | | | must change associated test as well.
* Fixed some string test numberings and added a test.dkf2001-03-121-3/+7
|
* Fixed two faults with [unset -nocomplain]; one with a possible overrundkf2001-03-061-2/+2
| | | | of the argument array, and another with the documentation.
* added test for evaluation of an expression in a variable; evals onceMiguel Sofer2001-02-231-1/+7
| | | | by compiling, second time using the previous compilation
* Fixes tests when spaces exist in install pathnames.dkf2001-01-123-6/+6
| | | | (Applies patch #103174 which fixes bug #119406.)
* 2001-01-04 Don Porter <dgp@users.sourceforge.net>dgp2001-01-041-1/+19
| | | | | | | | | | | | * tests/unixInit.test: * unix/tclUnixInit.c (TclpInitLibraryPath): * win/tclWinInit.c (TclpInitLibraryPath): Several entries in the library path ($tcl_libPath) are determined relative to the absolute path of the executable. When the executable is installed in or near the root directory of the file system, relative pathnames were being incorrectly generated, and in the worst case, memory access violations were crashing the program. [Bug 119416, Patch 102972]
* 2000-12-14 Don Porter <dgp@users.sourceforge.net>dgp2000-12-141-1/+7
| | | | | | | | | | * generic/tclExecute.c: * tests/expr-old.test: Re-wrote Tcl's [expr rand()] and [expr srand($seed)] implementations, fixing a range error on some 64-bit platforms. Added tests that detect the bug. The rewrite changes the seed -> sequence map on 64-bit platforms, only for seed >= 2^31, a slight incompatibility. [Bug 121072, Patch 102781]
* * docs/scan.n:hobbs2000-12-101-15/+30
| | | | | | | * tests/scan.test: * generic/tclScan.c (Tcl_ScanObjCmd): changed %o and %x to use strtoul instead of strtol to correctly preserve scan<>format conversion of large integers. [Patch #102663, Bug #124600]
* Added test to detect bug #119153; the string forms of boolean valuesdkf2000-11-241-1/+6
| | | | should not be second-class citizens in the Tcl world...
* Now correctly test for (and fix) Bug #119082.dkf2000-11-241-1/+20
|
* Applied the patch for TIP #7 from Kevin Kenny.andreas_kupries2000-11-211-1/+27
| | | | See http://www.cs.man.ac.uk/fellowsd-bin/TIP/7.html
* Finally fixed bug 119192. This was a real nasty that was hidden bydkf2000-11-171-2/+2
| | | | | | | the fact that it never caused a crash and was blocked most of the time from coming into play by the way the compiler handles array variable references. (Yes, the test suite does pass now on this machine at least...)
* Added test for bug 119192 to test suite.dkf2000-11-171-1/+4
|
* * tests/subst.test: added tests for non-zero return code handlinghobbs2000-11-011-14/+66
| | | | | | by subst. * generic/tclParse.c (Tcl_EvalEx): corrected handling of non-zero, non-error return code cases for subst. [BUG: 119829]
* tests/clock.test: corrected clock-2.* test numberinghobbs2000-10-311-3/+3
|
* * tests/all.tcl: Removed support for tcltest 1.0.jenn2000-10-243-1475/+1028
| | | | | | | | | | * tests/tcltest.test: * library/tcltest1.0/tcltest.tcl: * library/tcltest1.0/pkgIndex.tcl: * docs/tcltest.n: Moved tcltest2 code so that it's the standard version of tcltest. Removed all tcltest2 files (tests/tcltest2.test, library/tcltest1.0/tcltest2.tcl, docs/tcltest2.n).
* * library/tcltest1.0/tcltest2.tcl:jenn2000-10-192-41/+197
| | | | | | | | | | | | | | * tests/tcltest2.test * doc/tcltest2.n: Code and documentation cleanup. Modified -verbose to take list of keywords as well as string of letters. Removed Tcl version information from tcltest. Removed tcltest::grep from tcltest package. Added optional 3rd directory argument to makeFile/makeDirectory and removeFile/removeDirectory. * tests/basic.test: Changed references to tcltest::tclVersion to hardcoded numbers. * generic/tcl.h: Changed reference to tcltest2.tcl and tcltest.tcl in comments to tests/basic.test.
* * tests/cmdAH.test: extra tests for 'file channels' that includehobbs2000-10-061-11/+66
| | | | | | | multiple interpreter tests and channel sharing * generic/tclIO.c (Tcl_GetChannelNamesEx): corrected function (and consequently 'file channels') to return channels that are actually registered for this specific interp, rather than this thread.
* * tests/tcltest.test: Modified the new form of the testjenn2000-09-291-237/+272
| | | | | | command to accept both attribute-value pairs and command line options. Updated the tests and the documentation for this new format. Also changed the option names for the test command.
* * tests/stack.test: prevented possible crash on systems with lowhobbs2000-09-291-3/+23
| | | | | | default stacksize (Tru64, AIX) in infinite recursion test. A solution to check remaining stack space in the core is best, but hard to do in a cross-platform manner.
* * tests/fCmd.test (fCmd-6.20): corrected test to removehobbs2000-09-292-34/+11
| | | | | | | c:/tcl8975@ after creating it. * tests/fileName.test: cleaned up the testing of glob patterns for c:/globTest (Windows) to directly create/remove directory.