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
This commit is contained in:
Timothee Cour 2019-01-13 00:00:39 -08:00 • committed by Andreas Rumpf
commit 9af85fb69f
8 changed files with 148 additions and 41 deletions

View file

@ -263,3 +263,5 @@ block splitFile:
doAssert splitFile("abc/.") == ("abc", ".", "")
doAssert splitFile("..") == ("", "..", "")
doAssert splitFile("a/..") == ("a", "..", "")
# execShellCmd is tested in tosproc