diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2006-11-03 11:45:32 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2006-11-03 11:45:32 (GMT) |
| commit | c765889d5f3882f72078d64d2d0eeed999f4d5dc (patch) | |
| tree | 1eefe38f45eef7570a4b44ce733132a9d2fb8602 /tests/unixInit.test | |
| parent | 3e9bde0c0270666aadd23619f3cd9102f9ce35f9 (diff) | |
| download | tcl-c765889d5f3882f72078d64d2d0eeed999f4d5dc.zip tcl-c765889d5f3882f72078d64d2d0eeed999f4d5dc.tar.gz tcl-c765889d5f3882f72078d64d2d0eeed999f4d5dc.tar.bz2 | |
Keep most tests from making sockets that are reachable off the machine.
Diffstat (limited to 'tests/unixInit.test')
| -rw-r--r-- | tests/unixInit.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unixInit.test b/tests/unixInit.test index 4c876c4..1f4dc7a 100644 --- a/tests/unixInit.test +++ b/tests/unixInit.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: unixInit.test,v 1.49 2006/03/21 11:12:29 dkf Exp $ +# RCS: @(#) $Id: unixInit.test,v 1.50 2006/11/03 11:45:35 dkf Exp $ package require tcltest 2.2 namespace import -force ::tcltest::* @@ -50,7 +50,7 @@ test unixInit-1.2 {initialisation: standard channel type deduction} {unix stdio} close $channel exit } - puts [fconfigure [socket -server accept 0] -sockname] + puts [fconfigure [socket -server accept -myaddr 127.0.0.1 0] -sockname] vwait forever \ } # Note the backslash above; this is important to make sure that the |
