From 81c07c2668e487ceb367228ba44b4a45b9277aad Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Sun, 26 Nov 2017 21:19:56 +1000 Subject: [PATCH] tests: Make the failing SIGPIPE tests go away on AppVeyor Work around the problem by skipping the test Signed-off-by: Steve Bennett --- tests/exec2.test | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 ' -- 2.11.4.GIT