rename tfalse.nim to tafalse.nim
This commit is contained in:
parent
8d85809d62
commit
7f25db2dd1
3 changed files with 8 additions and 7 deletions
|
|
@ -4,14 +4,14 @@ discard """
|
|||
"""
|
||||
import osproc, os
|
||||
|
||||
const filename = when defined(Windows): "tfalse.exe" else: "tfalse"
|
||||
const filename = when defined(Windows): "tafalse.exe" else: "tafalse"
|
||||
let dir = getCurrentDir() / "tests" / "osproc"
|
||||
doAssert fileExists(dir / filename)
|
||||
|
||||
doAssert fileExists(getCurrentDir() / "tests" / "osproc" / filename)
|
||||
|
||||
var p = startProcess(filename, getCurrentDir() / "tests" / "osproc")
|
||||
var p = startProcess(filename, dir)
|
||||
doAssert(waitForExit(p) == QuitFailure)
|
||||
|
||||
p = startProcess(filename, getCurrentDir() / "tests" / "osproc")
|
||||
p = startProcess(filename, dir)
|
||||
var running = true
|
||||
while running:
|
||||
running = running(p)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue