diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2022-11-13 12:52:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-13 05:52:21 +0100 |
commit | cfab08d9850a4989a6cc56ebb90f8ecb8de19b5d (patch) | |
tree | 69adf5c4a669c74f0789cc61dd26b40462432ae7 | |
parent | 1410243d3bd5a5898bea2130e2f3534bd23f5c04 (diff) | |
download | Nim-cfab08d9850a4989a6cc56ebb90f8ecb8de19b5d.tar.gz |
fixes tests and add notes (#20830)
-rw-r--r-- | tests/stdlib/tosproc.nim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/stdlib/tosproc.nim b/tests/stdlib/tosproc.nim index de2243c50..e86f3853b 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") |