Skip to content

Commit

Permalink
fixes tests and add notes (#20830)
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout authored Nov 13, 2022
1 parent 1410243 commit cfab08d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/stdlib/tosproc.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit cfab08d

Please sign in to comment.