summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * doc/glob.n:hobbs1999-12-121-5/+123
| | | | | | | | | | | | | | | | * tests/fileName.test: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclEncoding.c: * generic/tclFileName.c: * mac/tclMacFile.c: * unix/tclUnixFile.c: * win/tclWinFile.c: enhanced the glob command with the new options -types -path -directory and -join. Deprecated TclpMatchFiles with TclpMatchFilesTypes, extended TclGlob and TclDoGlob and added GlobTypeData structure.
* * tests/info.test:hobbs1999-12-123-21/+35
| | | | | | | | | | * tests/parseOld.test: * generic/tclCmdAH.c: * generic/tclProc.c: changed Tcl_UplevelObjCmd (uplevel) and Tcl_EvalObjCmd (eval) to use TCL_EVAL_DIRECT in the single arg case as well, to take advantage of potential pure list input optimization. This means that it won't get byte compiled though, which should be acceptable.
* * tests/io.test: removed 'knownBug' tests that were forhobbs1999-12-081-68/+1
| | | | unsupported0, which is now fcopy (that already has tests)
* * tests/env.test: removed knownBug limitation from working testhobbs1999-12-046-13/+36
| | | | | | | | | | | | | | | | | | * tests/all.tcl: ensured that ::tcltest::testsDirectory would be set to an absolute path * tests/expr-old.test: * tests/parseExpr.test: * tests/string.test: * generic/tclGet.c: * generic/tclInt.h: * generic/tclObj.c: * generic/tclParseExpr.c: * generic/tclUtil.c: * generic/tclExecute.c: added TclCheckBadOctal routine to enhance error message checking for when users use invalid octal numbers (like 08), as well as replumbed the Expr*Funcs with a new VerifyExprObjType to simplify type handling.
* * tests/scan.test:hobbs1999-11-301-1/+5
| | | | | * generic/tclScan.c: fixed scan where %[..] didn't match anything and added test case [Bug: 3700]
* Took out "nonPortable" flag that was hiding -timeout tests,welch1999-11-221-4/+45
| | | | plus added more timeout cases for various bad host/port combinations.
* updated to 2.2 version for httphobbs1999-11-201-5/+5
|
* removed excess newliuneshobbs1999-11-191-13/+1
|
* minor change that prevents stack blowinghobbs1999-11-191-3/+3
|
* * tests/scan.test:hobbs1999-11-192-9/+33
| | | | | * generic/tclScan.c: finished support for inline scan by supporting XPG identifiers.
* added tests for related fixeshobbs1999-10-294-29/+93
|
* new test caseshobbs1999-10-212-14/+7
|
* * tests/tcltest.test:jenn1999-10-197-23/+77
| | | | | | | | | | | * doc/tcltest.n: * library/tcltest1.0/tcltest.tcl: Removed the extra return at the end of the tcltest.tcl file. Applied patches sent in by Andreas Kupries to add helper procs for debug output, add 3 new flags (-testsdir, -load, -loadfile), and internally refactors common code for dealing with paths into separate procedures. [Bug: 2838, 2842]
* * tests/reg.test: updated to Henry Spencer's new regexp enginehobbs1999-10-131-95/+125
| | | | (mid-Sept 99). Should greatly reduce stack space reqs.
* * tests/basic.test: updated test cases for 8.3hobbs1999-10-132-10/+10
| | | | | | * tests/encoding.test: fixed test case that change system encoding to a double-byte one (this causes a bogus mem read error for purify)
* 1999-09-20 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-211-3/+3
| | | | | | | | * tests/env.test: * unix/Makefile.in: added support for AIX LIBPATH env var [Bug: 2793] removed second definition of INCLUDE_INSTALL_DIR (the one that referenced @includedir@) [Bug: 2805] * unix/dltest/Makefile.in: added -lc to LIBS [Bug: 2794]
* 1999-09-16 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-218-15/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/timer.test: changed after delay in timer test 6.29 from 1 to 10. [Bug: 2796] * tests/pkg.test: * generic/tclPkg.c: fixed package version check to disallow 1.2..3 [Bug: 2539] * unix/Makefile.in: fixed gendate target - this never worked since RCS was intro'd. * generic/tclGetDate.y: updated to reflect previous changes to tclDate.c (leap year calc) and added CEST and UCT time zone recognition. Fixed 4 missing UCHAR() casts. [Bug: 2717, 954, 1245, 1249] * generic/tclCkalloc.c: changed Tcl_DumpActiveMemory to really dump to stderr and close it [Bug: 725] and changed Tcl_Ckrealloc and Tcl_Ckfree to not bomb when NULL was passed in [Bug: 1719] and changed Tcl_Alloc, et al to not panic when a alloc request for zero came through and NULL was returned (valid on AIX, Tru64) [Bug: 2795, etc] * tests/clock.test: * doc/clock.n: * generic/tclClock.c: added -milliseconds switch to clock clicks to guarantee that the return value of clicks is in the millisecs granularity [Bug: 2682, 1332] 1999-09-15 Jeff Hobbs <hobbs@scriptics.com> * generic/tclIOCmd.c: fixed potential core dump in conjunction with stacked channels with result obj manipulation in Tcl_ReadChars [Bug: 2623] * tests/format.test: * generic/tclCmdAH.c: fixed translation of %0#s in format [Bug: 2605] * doc/msgcat.n: fixed \\ bug in example [Bug: 2548] * unix/tcl.m4: * unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition [Bug: 2070] and fix for IRIX SHLIB_LB_LIBS. [Bug: 2610] * doc/array.n: * tests/var.test: * tests/set.test: * generic/tclVar.c: added an array unset operation, with docs and tests. Variation of [Bug: 1775]. Added fix in TclArraySet to check when trying to set in a non-existent namespace. [Bug: 2613] 1999-09-14 Jeff Hobbs <hobbs@scriptics.com> * tests/linsert.test: * doc/linsert.n: * generic/tclCmdIL.c: fixed end-int interpretation of linsert to correctly calculate value for end, added test and docs [Bug: 2693] * doc/regexp.n: * doc/regsub.n: * tests/regexp.test: * generic/tclCmdMZ.c: add -start switch to regexp and regsub with docs and tests * doc/switch.n: added proper use of comments to example. * generic/tclCmdMZ.c: changed switch to complain when an error occurs that seems to be due to a misplaced comment. * generic/tclCmdMZ.c: fixed illegal ref for \[0-9] substitutions in regsub [Bug: 2723] * generic/tclCmdMZ.c: changed [string equal] to return an Int type object (was a Boolean)
* 1999-09-01 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-021-1/+18
| | | | | | | | | | | | | * generic/tclParseExpr.c: changed '"' to '\"' to make FreeBSD happy [Bug: 2625] * generic/tclProc.c: moved static buf to better location and changed static msg that would overflow in ProcessProcResultCode [Bug: 2483] and added Tcl_DStringFree to Tcl_ProcObjCmd. Also reworked size of static buffers. * tests/stringObj.test: added test 9.11 * generic/tclStringObj.c: changed Tcl_AppendObjToObj to properly handle the 1-byte dest and mixed src case where both had had Unicode string len checks made on them. [Bug: 2678]
* typosjenn1999-08-311-10/+9
|
* * library/tcltest1.0/tcltest.tcl:jenn1999-08-311-12/+44
| | | | | | | * doc/tcltest.n: * tests/README: Modified testConstraints variable so that it isn't unset every time ::tcltest::initConstraints is called and cleaned up documentation in the README file and the man page.
* * tests/env.test:jenn1999-08-275-37/+28
| | | | | | | | | * tests/exec.test: * tests/io.test: * tests/event.test: * tests/tcltest.test: Added 'exit' calls to scripts that the tests themselves write, and removed accidental checkin of knownBugThreaded constraints for Solaris and Linux.
* * tests/tcltest.test:jenn1999-08-273-20/+58
| | | | | | * library/tcltest1.0/tcltest.tcl: Added a -args flag that sets a variable named ::tcltest::parameters based on whatever's being sent in as the argument to the -args flag.
* * tests/tcltest.test: Added additional tests for -tmpdir, markedjenn1999-08-236-57/+107
| | | | | | | | | | | | | | all tests that use exec as unixOrPc. * tests/encoding.test: * tests/interp.test: * tests/macFCmd.test: * tests/parseOld.test: * tests/regexp.test: Applied patches from Jim Ingham to add encoding to a Mac only interp test, change an error message in macFCmd.tet, put a comment in parseOld.test, fix tests using the testencoding path command, and put unixOrPc constraints on tests that use exec.
* 1999-08-18 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-192-10/+37
| | | | added tests for bug fixes
* typojenn1999-08-171-2/+2
|
* * win/Makefile.in: Added COMPILE_DEBUG_FLAGS macro to make itstanton1999-08-121-10/+13
| | | | | | | | | easier to turn on compiler tracing. * tests/parse.test: * generic/tclParse.c: Fixed bug in Tcl_EvalEx where the termOffset was not being updated in cases where the evaluation returned a non TCL_OK error code. [Bug: 2535]
* 1999-08-09 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-102-5/+18
| | | | | | * tests/string.test: added largest_int proc to adapt for >32 bit machines and int overflow testing. * tests/tcltest.test: fixed minor error in 8.2 result (from dgp)
* * tests/reg.test: Added test for REG_EXPECT bug fixed by Henry'sstanton1999-08-051-1/+2
| | | | patch.
* * unix/tclUnixThrd.c: Applied patch to fix threads on Irix 6.5.redman1999-07-311-2/+2
| | | | | | | Patch from James Dennett. [Bug: 2450] * tests/info.test: Enable test for tclParse.c change (info complete).
* Updated to match the new return values from tcltest.jenn1999-07-301-4/+4
|
* * tests/tcltest.test:jenn1999-07-281-3/+4
| | | | | | | | * library/tcltest1.0/tcltest.tcl: Fixed the condition under which ::tcltest::PrintError had an infinite loop problem and added a test case for it. Added an optional argument to ::tcltest::getMatchingFiles telling it where to search for test files.
* Bug fixes for threaded Tcl on NT with single and dual CPUs. Still someredman1999-07-273-5/+9
| | | | open issues, this code is a little more stable though.
* Tests for the tcltest packagejenn1999-07-261-0/+296
|
* Removed patch for bug 2382, for info complete.redman1999-07-231-4/+4
|
* Fix hange with socket code (win32) with threads enabled, fixedredman1999-07-221-1/+5
| | | | | the semaphores for threads disabled. Fixed calling of tcltest in Makefile.in (win32) and fixed safe-6.3 for threads enabled.
* * Changed version to 8.2b2.redman1999-07-221-2/+7
| | | | | | | | | | | | | | | | | | * win/tclWinPort.h: Block out include of sys/*.h in order to build extensions with MetroWerks compiler for Win32. [Bug: 2385] * generic/tclCmdMZ.c: * generic/tclIO.c: Fix ANSI-style prototypes based on patch from Ulrich Ring. [Bug: 2391] * unix/Makefile.in: Need to make install-sh executable before calling (with chmod +x). [Bug: 2413] * tests/var.test: * generic/tclVar.c: Fixed bug that caused a seg. fault when using "array set a(b) {}", which is a bad array name anyway. Now the "array set" command will return an error in this case. Added test case and fixed existing test. [Bug: 2427]
* Applied patch for info complete. [Bug: 2382]redman1999-07-221-1/+7
|
* * doc/open.n: Added documentation of \\.\comX notation for openingredman1999-07-221-2/+2
| | | | | | | | | | | serial ports on Windows (alternative to comX:). * tests/ioCmd.test: * doc/open.n: * win/tclWinSerial.c: Applied patch from Rolf Schroedter to add -pollinterval option to fconfigure to modify the maxblocktime used in the fileevent polling. Added documentation and fixed the test case as well.
* changed http package version from 2.0 to 2.1hershey1999-07-201-2/+2
|
* * tests/string.test:stanton1999-07-091-1/+4
| | | | | * generic/tclCmdMZ.c: Fixed bug in string range bounds checking code.
* * win/Makefile.in: Added tcltest target so runtest worksstanton1999-07-081-1/+3
| | | | | | | | properly. Added missing names to the clean/distclean targets. * tests/reg.test: * generic/rege_dfa.c: Applied fix supplied by Henry Spencer for bug in DFA state caching under lookahead conditions. [Bug: 2318]
* Fixed bogus test for env.testrjohnson1999-07-081-9/+4
|
* Do additional checks to unset any environment variables set, changed orjenn1999-07-082-28/+12
| | | | created by the tests.
* Improved test to handle empty env array - (will raise error)rjohnson1999-07-081-1/+4
|
* Fixed a couple of bad registry tests...rjohnson1999-07-081-4/+4
|
* Fixed bug in test suite - remember to update tests whenrjohnson1999-07-081-0/+1
| | | | changing features!!!
* Made test encoding test understand platform differences.rjohnson1999-07-071-3/+7
|
* Marked two timing-dependent tests "nonPortable",welch1999-07-071-3/+3
| | | | but I really need to fix these (4.11 and 4.12)
* Removed extra '\' characters at the beginning of the parseOld.testjenn1999-07-061-2/+2
| | | | | file that were causing "invalid command" messages whenever the test was run.
* Improved support for empty array nameswelch1999-07-022-8/+7
|