summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-01-24 13:29:37 +0100
committerAraq <rumpf_a@web.de>2015-01-27 01:33:48 +0100
commitefb5ec3e734fa4042555c41fde7a117b4b83ba46 (patch)
tree9ce70f1ca37eecffa2c7596db863395977a88f9f
parent8d064cedf2594664e309976b256d5562b0bd08d1 (diff)
downloadNim-efb5ec3e734fa4042555c41fde7a117b4b83ba46.tar.gz
proper 'space in dir' test
-rw-r--r--tests/dir with space/tspace.nim (renamed from tests/misc/tspace in filename.nim)0
-rw-r--r--tests/testament/tester.nim2
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/tspace in filename.nim b/tests/dir with space/tspace.nim
index 8db4b52f2..8db4b52f2 100644
--- a/tests/misc/tspace in filename.nim
+++ b/tests/dir with space/tspace.nim
diff --git a/tests/testament/tester.nim b/tests/testament/tester.nim
index ba3abd1bd..b37f72f04 100644
--- a/tests/testament/tester.nim
+++ b/tests/testament/tester.nim
@@ -57,7 +57,7 @@ let
 proc callCompiler(cmdTemplate, filename, options: string,
                   target: TTarget): TSpec =
   let c = parseCmdLine(cmdTemplate % ["target", targetToCmd[target],
-                       "options", options, "file", filename])
+                       "options", options, "file", filename.quoteShell])
   var p = startProcess(command=c[0], args=c[1.. -1],
                        options={poStdErrToStdOut, poUseShell})
   let outp = p.outputStream