weaken tosproc test for my Windows machine which doesn't have 'ls'
This commit is contained in:
parent
37253d660f
commit
49cea86d8b
1 changed files with 2 additions and 1 deletions
|
|
@ -219,6 +219,7 @@ else: # main driver
|
||||||
var result = execCmdEx("nim r --hints:off -", options = {}, input = "echo 3*4")
|
var result = execCmdEx("nim r --hints:off -", options = {}, input = "echo 3*4")
|
||||||
stripLineEnd(result[0])
|
stripLineEnd(result[0])
|
||||||
doAssert result == ("12", 0)
|
doAssert result == ("12", 0)
|
||||||
|
when not defined(windows):
|
||||||
doAssert execCmdEx("ls --nonexistant").exitCode != 0
|
doAssert execCmdEx("ls --nonexistant").exitCode != 0
|
||||||
when false:
|
when false:
|
||||||
# bug: on windows, this raises; on posix, passes
|
# bug: on windows, this raises; on posix, passes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue