summaryrefslogtreecommitdiffstats
path: root/tests/init.test
Commit message (Collapse)AuthorAgeFilesLines
* Plug memory leak. jan.nijtmans2024-12-111-2/+2
|\ | | | | test hygiene -- avoid fragility in makeFile / removeFile
| * Plug memory leak. jan.nijtmans2024-12-111-2/+2
| |\ | | | | | | test hygiene -- avoid fragility in makeFile / removeFile
| | * more test hygiene -- avoid fragility in makeFile / removeFiledgp2024-11-271-2/+2
| | |
| | * Fix problem in testcasejan.nijtmans2024-11-141-1/+1
| | |
| * | Fix problem in testcasejan.nijtmans2024-11-141-1/+1
| | |
| * | merge 8.6: fix and coverage for bug [43c94f95988f3057]: avoid vulnerability ↵sebres2024-11-131-0/+33
| |\ \ | | |/ | | | | | | loading init.tcl in current directory, if some of the scripts in init resulting to empty tcl_library (must return "." if pwd is expected)
| | * fix and coverage for bug [43c94f95988f3057]: avoid vulnerability loading ↵sebres2024-11-131-0/+33
| | |\ | | | | | | | | | | | | init.tcl in current directory, if some of the scripts in init resulting to empty tcl_library (must return "." if pwd is expected)
| | | * fix and coverage for bug [43c94f95988f3057]: avoid vulnerability loading ↵sebres2024-11-131-0/+33
| | | | | | | | | | | | | | | | init.tcl in current directory, if some of the scripts in init resulting to empty tcl_library (must return "." if pwd is expected)
| | * | Eliminate use of old deprecated trace subcommands from testcasesjan.nijtmans2023-09-271-2/+2
| | | |
| | * | Remove unnecessary end-of-line spacing in test-casesjan.nijtmans2021-02-161-5/+5
| | | |
* | | | Fix problem in testcase, caused by [01d1cd487a74c15a|this] commitjan.nijtmans2024-11-141-1/+1
| | | |
* | | | partial merge 8.7: fix and coverage for bug [43c94f95988f3057]: avoid ↵sebres2024-11-131-0/+33
| | | | | | | | | | | | | | | | vulnerability loading init.tcl in current directory, if some of the scripts in init resulting to empty tcl_library (must return "." if pwd is expected)
* | | | Indenting in testcases. Always use tabs in stead of 8 spacesjan.nijtmans2024-10-091-6/+6
|/ / /
* | | "trace variable" -> "trace add variable" in testcases (and documentation)jan.nijtmans2023-06-211-1/+1
| | |
* | | Thanks to TIP #587, convert many escapes in the testcases into the actual ↵jan.nijtmans2021-03-301-1/+1
| | | | | | | | | | | | (UTF-8) character.
* | | More ©-sign consolidationjan.nijtmans2020-11-231-1/+1
| | |
* | | Now that all Tcl source files are UTF-8 by default, we can use the ©-sign ↵jan.nijtmans2020-11-231-2/+2
| | | | | | | | | | | | whenever reasonable.
* | | Merge 8.6jan.nijtmans2020-09-041-1/+1
|\ \ \ | |/ /
* | | Merge 8.6jan.nijtmans2020-07-201-5/+5
|\ \ \ | |/ /
| * | Merge 8.5.jan.nijtmans2020-07-201-5/+5
| |\ \ | | |/ | | | Mark testcases io-50.* nonPortable: they fail too often in travis builds.
| | * Backport changes in tcltest package from higher Tcl versions.jan.nijtmans2020-07-201-5/+5
| | | | | | | | | | | | Rename (internal, undocumented) tcltest::loadIntoSlaveInterpreter into tcltest::loadIntoChildInterpreter tcltest 2.5.1 -> 2.5.3
* | | Merge 8.6jan.nijtmans2020-02-211-0/+13
|\ \ \ | |/ /
| * | merge 8.5sebres2020-02-171-0/+13
| |\ \ | | |/
| | * windows: avoid create of legacy error-vars on init phase (in fresh created ↵sebres2020-02-171-0/+13
| | | | | | | | | | | | interpreter) - no tcl_pkgPath variable on windows
* | | Merge 8.6; Bump to TclOO 1.2.0.dgp2017-06-261-0/+10
|\ \ \ | |/ /
| * | Try to make good stack trace. Fallback to making not-so-good stack trace.dgp2017-06-261-1/+1
| | | | | | | | | Stop failing altogether. Test in test suite, not program fragility.
| * | Test demonstrating autoloader fragility.dgp2017-06-261-0/+10
| | |
* | | Eliminate exess spacings in many test-casesjan.nijtmans2016-03-101-5/+5
|/ /
* | [Bug 967195]: Make tcltest work when tclsh is compiled without using the ↵jan.nijtmans2011-11-301-1/+1
|\ \ | |/ | | | | setargv() function on mingw.
| * [Bug 967195]: Make tcltest work when tclsh is compiled without using the ↵jan.nijtmans2011-11-301-1/+1
| |\ | | | | | | | | | setargv() function on mingw.
| | \
| \ \
*-. \ \ tcltest 2.3.3 fixes:dgp2011-06-211-1/+1
|\ \ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | * Use package ifneeded so slave gets exactly same tcltest version as master * Use configure command instead of legacy ::argv magic to pass tcltest configuration options to slave interp. Test files using the new loadIntoSlaveInterpreter command updated to declare their need for tcltest 2.3.3 as minimum acceptable release.
| | * | tcltest 2.3.3 fixes:dgp2011-06-211-1/+1
| |/ / | | | | | | | | | | | | | | | | | | * Use [package ifneeded] so slave gets exactly same tcltest version as master * Use [configure] command instead of legacy ::argv magic to pass tcltest configuration options to slave interp. Test files using the new [loadIntoSlaveInterpreter] command updated to declare their need for tcltest 2.3.3 as minimum acceptable release.
| * | Backport tcltest 2.3.3 for release with Tcl 8.5.*dgp2011-06-211-16/+13
| | |
* | | Make tests in child interpreters report their summary info in the master.dkf2011-03-101-16/+12
| | | | | | | | | Bumped tcltest version to 2.3.3
* | | Update more of the test suite to use Tcltest 2.dkf2011-03-091-30/+34
| | |
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ \ | |/ / | | | cause more harm than good. Purged them (except in zlib files).
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * * tests/compile.test (compile-12.4): Backport test for Bug 1001997.dgp2004-10-261-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/timer.test (timer-10.1): Backport test for Bug 1016167. * tests/tcltest.test (tcltest-12.3,4): Backport setup corrections. * tests/error.test (error-6.3,4,7,9): Backport of some tests. * tests/basic.test (basic-49.*): * tests/namespace.test (namespace-8.7): * tests/init.test (init-2.8): Updated to not rely on http package. * generic/tclThreadTest.c (ThreadEventProc): Corrected subtle bug where the returned (char *) from Tcl_GetStringResult(interp) continued to be used without copying or refcounting, while activity on the interp continued.
| | * * generic/tclBasic.c: Corrected several instances of unsafedgp2003-07-181-7/+5
| | | | | | | | | | | | | | | | | | | | | * generic/tclCompile.c: truncation of UTF-8 strings that might * generic/tclProc.c: break apart a multi-byte character. * library/init.tcl: [Bug 760872] * tests/init.test:
* | | TIP #348 IMPLEMENTATION - Substituted error stackferrieux2010-04-051-2/+2
| | |
* | | Revert mistaken commitdgp2009-11-161-2/+2
| | |
* | | (forward port) Fix [Bug 2891556] and improve test to detect similar ↵ferrieux2009-11-161-2/+2
| | | | | | | | | | | | manifestations in the future. Add tcltest support for finalization.
* | | Correct "incidental" test failure; exact error message generated bydkf2009-07-251-55/+33
|/ / | | | | | | ::tcl::HistAdd changed
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * generic/tclDictObj.c: Changed the underlying implementation of thedkf2007-11-201-2/+2
| | | | | | | | | | | | | | | | | | hash table used in dictionaries to additionally keep all entries in the hash table in a linked list, which is only ever added to at the end. This makes iteration over all entries in the dictionary in key insertion order a trivial operation, and so cleans up a great deal of complexity relating to dictionary representation and stability of iteration order.
* | * generic/tclResult.c (Tcl_GetReturnOptions): Take care that adgp2007-09-071-2/+2
| | | | | | | | | | | | | | | | * tests/init.test: non-TCL_ERROR code doesn't cause existing -errorinfo, -errorcode, and -errorline entries to be omitted. * generic/tclEvent.c: With -errorInfo no longer lost, generate more complete ::errorInfo when calling [bgerror] after a non-TCL_ERROR background exception.
* | * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/fconfigure.n, doc/interp.n, doc/unknown.n: * library/auto.tcl, library/init.tcl, library/package.tcl: * library/safe.tcl, library/tm.tcl, library/msgcat/msgcat.tcl: * tests/all.tcl, tests/basic.test, tests/cmdInfo.test: * tests/compile.test, tests/encoding.test, tests/execute.test: * tests/fCmd.test, tests/http.test, tests/init.test: * tests/interp.test, tests/io.test, tests/ioUtil.test: * tests/iogt.test, tests/namespace-old.test, tests/namespace.test: * tests/parse.test, tests/pkg.test, tests/pkgMkIndex.test: * tests/proc.test, tests/reg.test, tests/trace.test: * tests/upvar.test, tests/winConsole.test, tests/winFCmd.test: * tools/tclZIC.tcl: * generic/tclParse.c (Tcl_ParseCommand): Replace {expand} with {*} officially (TIP #293). Leave -DALLOW_EXPAND=0|1 option to keep {expand} syntax for transition users. [Bug 1589629]
* | * library/init.tcl: Updated [unknown] to be sure the [return]dgp2005-05-241-1/+14
| | | | | | | | | | * tests/init.test: options from an auto-loaded command are seen correctly by the caller.
* | * tests/basic.test: Added missing constraints.dgp2004-10-261-11/+10
| | | | | | | | | | | | | | * tests/compile.test: * tests/fileSystem.test: * tests/init.test (init-2.8): Updated to not rely on http package.