diff options
author | Steve Bennett <steveb@workware.net.au> | 2011-09-11 14:12:01 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2011-09-12 16:58:56 +1000 |
commit | bec5cf9f69e4a57e6993233a638dc8d652fee511 (patch) | |
tree | b4ba64d8436dd091dfd95789ed19885722e118cf /tests/exec.test | |
parent | be9297ea02c2958d2e57a6fed698114ef37af91b (diff) | |
download | jimtcl-bec5cf9f69e4a57e6993233a638dc8d652fee511.zip jimtcl-bec5cf9f69e4a57e6993233a638dc8d652fee511.tar.gz jimtcl-bec5cf9f69e4a57e6993233a638dc8d652fee511.tar.bz2 |
Implement full [exec] on mingw/msys
This also involves some restructuring of the existing
implementation to allow for as much reuse as possible.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests/exec.test')
-rw-r--r-- | tests/exec.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/exec.test b/tests/exec.test index 8b9a743..07770cd 100644 --- a/tests/exec.test +++ b/tests/exec.test @@ -263,8 +263,8 @@ test exec-6.2 {redirecting stderr through a pipeline} { } "foo bar" test exec-6.3 {redirecting stderr through a pipeline} { exec sh -c "echo foo bar 1>&2" \ - |& sh -c "echo second msg 1>&2 ; cat" |& cat -} "second msg\nfoo bar" + |& cat |& cat +} "foo bar" # I/O redirection: combinations. @@ -409,7 +409,7 @@ exec sleep 3 test exec-12.1 {reaping background processes} { for {set i 0} {$i < 20} {incr i} { - exec echo foo > /dev/null & + exec echo foo > exec.tmp1 & } exec sleep 1 catch {exec ps | fgrep "echo foo" | fgrep -v fgrep | wc} msg |