From cfab08d9850a4989a6cc56ebb90f8ecb8de19b5d Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Sun, 13 Nov 2022 12:52:21 +0800 Subject: [PATCH] fixes tests and add notes (#20830) --- tests/stdlib/tosproc.nim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/stdlib/tosproc.nim b/tests/stdlib/tosproc.nim index de2243c505..e86f3853b3 100644 --- a/tests/stdlib/tosproc.nim +++ b/tests/stdlib/tosproc.nim @@ -120,7 +120,10 @@ else: # main driver runTest("exit_0", 0) runTest("exitnow_139", 139) runTest("c_exit2_139", 139) - runTest("quit_139", 127) + when defined(posix): + runTest("quit_139", 127) # The quit value gets saturated to 127 + else: + runTest("quit_139", 139) block execCmdTest: let output = compileNimProg("-d:release -d:case_testfile", "D20220705T221100")