From bc9b33168c036c6817a4dcf87ab0f04ed654c7e5 Mon Sep 17 00:00:00 2001 From: Daniel Kochmanski Date: Mon, 20 Mar 2017 22:15:42 +0100 Subject: [PATCH] test: sigchld-handler: adjust for cygwin --- src/tests/normal-tests/run-program.lsp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/tests/normal-tests/run-program.lsp b/src/tests/normal-tests/run-program.lsp index 7771701aa..5ddd1570c 100644 --- a/src/tests/normal-tests/run-program.lsp +++ b/src/tests/normal-tests/run-program.lsp @@ -148,4 +148,9 @@ (sleep 1) (ext:terminate-process process) (sleep 1)) - (is (= x 3) "X is ~s, should be 3." x)))) + #-cygwin + (is (= x 3) "X is ~s, should be 3." x) + ;; XXX: cygwin quirk: sigchld isn't called for suspend/resume on + ;; cygwin (but they work - process is suspended/resumed) + #+cygwin + (is (= x 1) "X is ~s, should be 1." x))))