cleanup tgorge test

This commit is contained in:
Araq
2016-10-24 20:10:10 +02:00
parent 06e03099e4
commit bad35a2709
2 changed files with 2 additions and 2 deletions

View File

@@ -4,9 +4,9 @@ template getScriptDir(): string =
parentDir(instantiationInfo(-1, true).filename)
const
execName = when defined(windows): "tgorge.bat" else: "./tgorge.sh"
execName = when defined(windows): "tgorge.bat" else: "sh tgorge.sh"
relOutput = gorge(execName)
absOutput = gorge(getScriptDir() / execName)
doAssert relOutput == "gorge test"
doAssert absOutput == "gorge test"
doAssert absOutput == "gorge test"

0
tests/vm/tgorge.sh Executable file → Normal file
View File