Files
Nim/tests/stdlib/t10231.nim
Timothee Cour 9af85fb69f fixes #10273 execShellCmd now returns nonzero when child killed with signal + other fixes (#10274)
* s/exitStatus(...)/exitStatusLikeShell(...)/
* fix #10273 execShellCmd now returns nonzero when child exits with signal
* test case for #10249 and explanation for the bug
* fix test failure
* add tests/nim.cfg
2019-01-13 09:00:39 +01:00

16 lines
268 B
Nim

discard """
target: cpp
action: run
exitcode: 0
"""
import os
# consider moving this inside tosproc (taking care that it's for cpp mode)
if paramCount() == 0:
# main process
doAssert execShellCmd(getAppFilename().quoteShell & " test") == 1
else:
quit 1