summaryrefslogtreecommitdiffstats
path: root/tests/socket.test
Commit message (Collapse)AuthorAgeFilesLines
* * tests/cmdAH.test:dgp2003-10-071-31/+33
| | | | | | | | | | | * tests/exec.test: Corrected temporary file management * 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/main.test: * tests/pid.test: [Bugs 675605, 675655, 675659] * tests/socket.test: * tests/source.test:
* * Cleaned up, constrained, and reduced the amount of [exec] usagedgp2002-07-101-40/+35
| | | | in the test suite.
* * tests/socket.test: Fixed bug #578164. The original reason forandreas_kupries2002-07-081-3/+3
| | | | | | the was a DNS outage while running the testsuite. Changed [info hostname] to 127.0.0.1 to bypass DNS, knowing that we operate on the local host.
* * tests/socket.test:andreas_kupries2002-07-041-48/+53
| | | | | | * tests/winPipe.test: * tests/pid.test: Fixed SF Bug #575848. See below for a description the general problem.
* * Increased timeout values so that tests havedgp2002-04-151-8/+8
| | | | time to successfully complete even on slow/busy machines. [Bug 523470]
* * tests/socket.test (2.7): Accepted and applied patch for Tcl SFandreas_kupries2002-02-271-3/+3
| | | | | bug #523470 provided by Don Porter <dgp@users.sourceforge.net> to avoid timing problems in that test.
* Make -eofchar and -translation options read only formdejong2002-01-251-2/+2
| | | | | | | | | | | | | | | server sockets. [Bug 496733] * generic/tclIO.c (Tcl_GetChannelOption, Tcl_SetChannelOption): Instead of returning nothing for the -translation option on a server socket, always return "auto". Return the empty string enclosed in quotes for the -eofchar option on a server socket. Fixup -eofchar usage message so that it matches the implementation. * tests/io.test: Add -eofchar tests and -translation tests to ensure options are read only on server sockets. * tests/socket.test: Update tests to account for -eofchar and -translation option changes.
* (socket-7.2): corrected to work on Win2Khobbs2001-10-121-6/+5
|
* removed dependence on socket.test being run from same dir as remote.tcl,dkf2001-09-201-2/+5
| | | | which only now needs to be in the same dir as it. [Bug #219326]
* fixed typo in socket-12.1hobbs2001-09-141-2/+2
|
* * The changes below are a fix for [219253].andreas_kupries2001-09-111-78/+116
| | | | | | | | | | | * tests/socket.test: Removed _most_ instances of hardwired port numbers for listening sockets. Remaining are the ports in all tests with constraint 'doTestsWithRemoteServer'. These seem to be designed for a more controlled environment and are usually skipped when running the testsuite. * tests/io.test: Removed all instances of hardwired port numbers for listening sockets.
* * tests/socket.test: removed doTestsWithRemoteServer constrainthobbs2000-09-211-28/+14
| | | | | from socket-12.*. It requires 'exec', not a remote server. Cleaned up some coding errors.
* * library/tcltest1.0/pkgIndex.tcl: Updated to load tcltest 2.0.jenn2000-09-201-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/tcltest1.0/tcltest2.tcl: New version of tcltest. Cleanup of command line parsing: allows users to specify command line arguments through an environment variable named TCLTEST_OPTIONS [RFE: 3748], does not respond to incorrect arguments, and forces usage of entire flag name when using command line arguments. Defines accessor procs for all tcltest variables. Allows users to use 'return' in test scripts. Allow users to specify whether test files should be sourced or run in a separate process. 'all.tcl' code moved to tcltest package. 'test' proc modified to use attribute-value pairs. Allow users to specify what return codes, output, and errors can be compared and whether these values should be compared using regexp, glob, or exact matching. makeDirectory & removeDirectory now operate with respect to temporaryDirectory [Bug: 6001]. Test results from tests run in slave interpreters are now included in test totals [Bug: 1493]. Test files that return error values are now reported. * tests/all.tcl: Added code to check for the tcltest version loaded; modified to figure out which tests to run based on the tcltest version loaded. * tests/tcltest.test: Modified to explicitly load version 1.0 of tcltest. * tests/tcltest2.test: New test suite for tcltest; includes all of the old tests plus new ones reflecting changes made for version 2.0. * tests/cmdAH.test: Added singleTestInterp constraint to cmdAH-31.2; this test does not run if tests aren't sourced into a single interpreter. * tests/socket.test: Fixed two tests that were referencing variables outside of scope. * tools/tcl.wse.in: Added code to install tcltest2.tcl. * doc/tcltest2.n: New documentation for tcltest version 2.0. Removes documentation for tcltest namespace variables. Adds documentation for new tcltest procs. * unix/mkLinks: Added code to link to tcltest2.n. * generic/tcl.h: Added comment to modify tcltest2.tcl as well as tcltest.tcl for version changes.
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* * tests/tcltest.test:jenn1999-10-191-1/+2
| | | | | | | | | | | * 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]
* Changed the tests to use the testConstraints array that thejenn1999-07-011-3/+3
| | | | test harness uses instead of the old name (testConfig).
* Fixed style problems in many of the test files.rjohnson1999-06-261-2/+2
| | | | Fixed bug in pkg.test where defs.tcl was still being used.
* Modified the tests to use the package tcltestjenn1999-06-261-29/+30
|
* Resynced with mainline.rjohnson1999-04-211-1/+1
|
* moved the ThreadReap command to ::tcltest::threadReap. Now each thread test ↵hershey1999-04-201-24/+8
| | | | | | | | | calls threadReap at the beginning and end of the test, inside the test body. This fixes the problem where the test suite was exiting on a call to threadReap (reap was killing the main thread by accident because other tests were leaving threads running and setting mainthread to be the list of running threads).
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-131/+207
|
* * tclWinSock.c (CreateSocket, TcpAccept): Windows NT createsstanton1998-12-041-1/+213
| | | | | sockets so they are inheritable by default. Turn off this bit so sockets aren't kept open by exec'ed processes. [Bug: 892]
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* fixed bug in socket-9.3 {testing EOF stickyness}hershey1998-07-241-12/+12
|
* plugin updateswelch1998-06-271-16/+25
|
* added test for windows bugstanton1998-05-271-0/+28
|
* Initial revisionrjohnson1998-03-261-0/+1344