diff options
author | Steve Bennett <steveb@workware.net.au> | 2017-11-26 21:19:56 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2017-11-26 21:19:56 +1000 |
commit | 81c07c2668e487ceb367228ba44b4a45b9277aad (patch) | |
tree | 1408c302eb3578cc619d0589abfdd13ab7cf67a5 /tests/exec2.test | |
parent | 5b7810ea7e7c3b5ae68cdb7abfe123cb9d1af189 (diff) | |
download | jimtcl-81c07c2668e487ceb367228ba44b4a45b9277aad.zip jimtcl-81c07c2668e487ceb367228ba44b4a45b9277aad.tar.gz jimtcl-81c07c2668e487ceb367228ba44b4a45b9277aad.tar.bz2 |
tests: Make the failing SIGPIPE tests go away on AppVeyor
Work around the problem by skipping the test
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests/exec2.test')
-rw-r--r-- | tests/exec2.test | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/exec2.test b/tests/exec2.test index bf5a187..08f3d11 100644 --- a/tests/exec2.test +++ b/tests/exec2.test @@ -5,7 +5,13 @@ source [file dirname [info script]]/testing.tcl needs cmd exec -testConstraint pipe [expr {[info commands pipe] ne ""}] +# Some Windows platforms (e.g. AppVeyor) produce ENOSPC rather than killing +# the child with SIGPIPE). So turn off this test for that platform +if {[info commands pipe] ne "" && [env MSYSTEM ""] ne "MINGW32"} { + testConstraint pipe 1 +} else { + testConstraint pipe 0 +} set d \" set s ' |