testament: quote categories too because of 'dir with space' test
This commit is contained in:
parent
4b2f003500
commit
3d768738f8
1 changed files with 2 additions and 2 deletions
|
|
@ -486,9 +486,9 @@ proc main() =
|
||||||
assert testsDir.startsWith(testsDir)
|
assert testsDir.startsWith(testsDir)
|
||||||
let cat = dir[testsDir.len .. ^1]
|
let cat = dir[testsDir.len .. ^1]
|
||||||
if kind == pcDir and cat notin ["testament", "testdata", "nimcache"]:
|
if kind == pcDir and cat notin ["testament", "testdata", "nimcache"]:
|
||||||
cmds.add(myself & " cat " & cat & rest)
|
cmds.add(myself & " cat " & quoteShell(cat) & rest)
|
||||||
for cat in AdditionalCategories:
|
for cat in AdditionalCategories:
|
||||||
cmds.add(myself & " cat " & cat & rest)
|
cmds.add(myself & " cat " & quoteShell(cat) & rest)
|
||||||
quit osproc.execProcesses(cmds, {poEchoCmd, poStdErrToStdOut, poUsePath, poParentStreams})
|
quit osproc.execProcesses(cmds, {poEchoCmd, poStdErrToStdOut, poUsePath, poParentStreams})
|
||||||
of "c", "cat", "category":
|
of "c", "cat", "category":
|
||||||
var cat = Category(p.key)
|
var cat = Category(p.key)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue