mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 14:00:35 +00:00
testament: quote categories too because of 'dir with space' test
This commit is contained in:
@@ -486,9 +486,9 @@ proc main() =
|
||||
assert testsDir.startsWith(testsDir)
|
||||
let cat = dir[testsDir.len .. ^1]
|
||||
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:
|
||||
cmds.add(myself & " cat " & cat & rest)
|
||||
cmds.add(myself & " cat " & quoteShell(cat) & rest)
|
||||
quit osproc.execProcesses(cmds, {poEchoCmd, poStdErrToStdOut, poUsePath, poParentStreams})
|
||||
of "c", "cat", "category":
|
||||
var cat = Category(p.key)
|
||||
|
||||
Reference in New Issue
Block a user