diff options
author | das <das> | 2001-11-23 01:25:35 (GMT) |
---|---|---|
committer | das <das> | 2001-11-23 01:25:35 (GMT) |
commit | bf3f2b462290dda8accb57bda76e8e98d45a8a12 (patch) | |
tree | 22e1756e8fb4d5f339d6ac1dfdf679782e33f6e5 /tests/exec.test | |
parent | 59ae2a6c2b08e679a8f5aa457d4a09fcf5442e35 (diff) | |
download | tcl-bf3f2b462290dda8accb57bda76e8e98d45a8a12.zip tcl-bf3f2b462290dda8accb57bda76e8e98d45a8a12.tar.gz tcl-bf3f2b462290dda8accb57bda76e8e98d45a8a12.tar.bz2 |
** upport to 8.4 of mac code changes for 8.3.3 & various new
** changes for 8.4, some already backported to 8.3.4 (patch #435658)
see ChangeLog for details
Diffstat (limited to 'tests/exec.test')
-rw-r--r-- | tests/exec.test | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/exec.test b/tests/exec.test index af8bf32..9087173 100644 --- a/tests/exec.test +++ b/tests/exec.test @@ -11,7 +11,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: exec.test,v 1.8 2000/04/10 17:18:58 ericm Exp $ +# RCS: @(#) $Id: exec.test,v 1.9 2001/11/23 01:26:02 das Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -228,7 +228,9 @@ test exec-4.5 {redirecting output and stderr to file} {execCommandExists stdio} # I/O redirection: input from file. +if { [set ::tcltest::testConstraints(execCommandExists)] } { exec $::tcltest::tcltest echo "Just a few thoughts" > gorp.file +} test exec-5.1 {redirecting input from file} {execCommandExists stdio} { exec $::tcltest::tcltest cat < gorp.file } {Just a few thoughts} @@ -432,7 +434,9 @@ test exec-11.5 {commands in background} {execCommandExists stdio} { # Make sure that background commands are properly reaped when # they eventually die. +if { [set ::tcltest::testConstraints(execCommandExists)] } { exec $::tcltest::tcltest sleep 3 +} test exec-12.1 {reaping background processes} \ {execCommandExists stdio unixOnly nonPortable} { for {set i 0} {$i < 20} {incr i} { |