summaryrefslogtreecommitdiffstats
path: root/tests/event.test
Commit message (Collapse)AuthorAgeFilesLines
* [16828b3744] [vwait] *must* successfully undo its variable trace, or elsedgp2016-06-161-0/+28
| | | | | it risks corrupting memory. Namespace teardown complexities were giving the traces an opportunity to survive. Added another (arguably better) Tcl_UntraceVar() call to be sure we avoid this problem.
* event tests should continue to work with static Tcltest packagejan.nijtmans2012-07-301-5/+5
|
* fix event-tests running with tcltest86.dlljan.nijtmans2012-07-301-2/+11
|
* No longer build tcltest.exe to run the tests,but use tclsh86.exe in ↵jan.nijtmans2012-07-291-0/+3
| | | | combination with tcltest86.dll to do that (Windows only)
* 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.
| | * * unix/tclUnixChan.c (TclUnixWaitForFile):Kevin B Kenny2006-11-281-1/+210
| | | | | | | | | | | | | | | | | | | | | * tests/event.test (event-14.*): Corrected a bug where TclUnixWaitForFile would present select() with the wrong mask on an LP64 machine if a fd number exceeds 32. Thanks to Jean-Luc Fontaine for reporting and diagnosing [Bug 1602208].
| * | * generic/tclInterp.c: Fixed completely boneheaded mistake thatdgp2008-06-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/interp.test: [interp bgerror $slave] and [$slave bgerror] would always act like [interp bgerror {}]. [Bug 1999035]. * tests/chanio.test: Corrected flawed tests revealed by a -debug 1 * tests/event.test: -singleproc 1 test suite run. * tests/io.test:
* | | Tidying up and taking better advantage of tcltest2 to make the tests moredkf2010-07-051-386/+387
| | | | | | | | | | | | | | | robust and (apparently) similar through focusing in on what is really being tested
* | | * changes: Updates for 8.6a1 release.dgp2008-06-201-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInterp.c: Fixed completely boneheaded mistake that * tests/interp.test: [interp bgerror $slave] and [$slave bgerror] would always act like [interp bgerror {}]. [Bug 1999035]. * tests/chanio.test: Corrected flawed tests revealed by a -debug 1 * tests/cmdAH.test: -singleproc 1 test suite run. * tests/event.test: * tests/interp.test: * tests/io.test: * tests/ioTrans.test: * tests/namespace.test:
* | * generic/tclEvent.c (TclDefaultBgErrorHandlerObjCmd): Added errordgp2008-03-101-1/+64
| | | | | | | | | | * tests/event.test (event-5.*): checking to protect against callers passing invalid return options dictionaries. [Bug 1901113]
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * generic/tclEvent.c ([::tcl::Bgerror]): Corrections to Tcl'sdgp2007-09-071-1/+40
| | | | | | | | | | | | * tests/event.test: default [interp bgerror] handler so that when it falls back to a hidden [bgerror] in a safe interp, it gets the right error context data. [Bug 1790274].
* | * generic/tclEvent.c (HandleBgErrors): Make efficient private copydgp2007-03-121-1/+18
| | | | | | | | | | | | * tests/event.test (event-5.3): of the command prefix for the interp's background error handling command to avoid panics due to pointers to memory invalid after shimmering. [Bug 1670155]
* | * unix/tclUnixChan.c (TclUnixWaitForFile):Kevin B Kenny2006-11-271-1/+210
| | | | | | | | | | | | | | * tests/event.test (event-14.*): Corrected a bug where TclUnixWaitForFile would present select() with the wrong mask on an LP64 machine if a fd number exceeds 32. Thanks to Jean-Luc Fontaine for reporting and diagnosing [Bug 1602208].
* | Keep most tests from making sockets that are reachable off the machine.dkf2006-11-031-2/+2
| |
* | * tests/*.test: updated all tests to refer explicitly to thetip_278_20061009Miguel Sofer2006-10-091-3/+3
|/ | | | | | | | | | | | | | global variables ::errorInfo, ::errorCode, ::env and ::tcl_platform: many were relying on the alternative lookup in the global namespace, that feature is tested specifically in namespace and variable tests. The modified testfiles are: apply.test, basic.test, case.test, cmdIL.test, cmdMZ.test, compExpr-old.test, error.test, eval.test, event.test, expr.test, fileSystem.test, for.test, http.test, if.test, incr-old.test, incr.test, interp.test, io.test, ioCmd.test, load.test, misc.test, namespace.test, parse.test, parseOld.test, pkg.test, proc-old.test, set.test, switch.test, tcltest.test, thread.test, var.test, while-old.test, while.test.
* * Cleaned up, constrained, and reduced the amount of [exec] usagedgp2002-07-101-18/+13
| | | | in the test suite.
* Made many tests work properly when the current directory is not writable.dkf2002-07-051-29/+21
| | | | Added targets to unix/Makefile.in to facilitate testing of this situation.
* * doc/tcltest.n: Reverted [makeFile] and [viewFile] todgp2002-07-021-3/+4
| | | | | | | | * library/tcltest/tcltest.tcl: their former behavior, and documented * tests/cmdAH.test: it. Corrected misspelling of hook * tests/event.test: procedure. Restored tests. * tests/http.test: * tests/io.test:
* * Fixed [makeFile] and [viewFile] to accurately reflect a file'sdgp2002-07-011-4/+3
| | | | | | contents. Updated tests that depended on buggy behavior. Also added warning messages to "-debug 1" operations to debug test calls to (make|remove)(File|Directory).
* * Corrections to tcltest and the Tcl test suite so that a testdgp2002-06-221-5/+5
| | | | | | | with options -constraints knownBug -limitConstraints 1 only tests the knownBug tests. Mostly involves replacing direct access to the testConstraints array with calls to the testConstraint command (which requires tcltest version 2).
* * generic/tclInt.decls:das2002-01-271-2/+4
| | | | | | | | | | | | | | | * generic/tclIntPlatDecls.h: * mac/tclMacChan.c: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacLoad.c: * mac/tclMacResource.c: * mac/tclMacSock.c: TIP 27 CONSTification induced changes * tests/event.test: * tests/main.test: added catches/constraints to test that use features that don't exist on the mac.
* fix background error reporting in the absence of a bgerror proc [Bug 219142].Miguel Sofer2001-12-101-1/+15
|
* Changes from TIP#17 "Redo Tcl's filesystem"vincentdarley2001-07-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following files were impacted. * doc/Access.3: * doc/FileSystem.3: * doc/OpenFileChnl.3: * doc/file.n: * doc/glob.n: * generic/tcl.decls: * generic/tcl.h: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDate.c: * generic/tclDecls.h: * generic/tclEncoding.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclGetDate.y: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclIOUtil.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclLoad.c: * generic/tclStubInit.c: * generic/tclTest.c: * generic/tclUtil.c: * library/init.tcl: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacPort.h: * mac/tclMacResource.c: * mac/tclMacTime.c: * tests/cmdAH.test: * tests/event.test: * tests/fCmd.test: * tests/fileName.test: * tests/io.test: * tests/ioCmd.test: * tests/proc-old.test: * tests/registry.test: * tests/unixFCmd.test: * tests/winDde.test: * tests/winFCmd.test: * unix/mkLinks: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPipe.c: * win/tclWinFCmd.c: * win/tclWinFile.c: * win/tclWinInit.c: * win/tclWinPipe.c
* * tests/event.test (event-11.5): Removed hard-coded port numberdkf2001-06-271-3/+3
| | | | which could fail on some systems. [Bug #436727]
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* * tests/env.test:jenn1999-08-271-11/+3
| | | | | | | | | * 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-271-5/+12
| | | | | | * 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.
* Changed the tests to use the testConstraints array that thejenn1999-07-011-4/+4
| | | | test harness uses instead of the old name (testConfig).
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
|
* Resynced with mainline.rjohnson1999-04-211-1/+1
|
* added a delay to a event to so it can pass on slower machines.hershey1999-04-201-1/+2
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-292/+314
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* *** empty log message ***stanton1998-06-181-2/+2
|
* Initial revisionrjohnson1998-03-261-0/+567