diff options
-rw-r--r-- | tests/testament/tester.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testament/tester.nim b/tests/testament/tester.nim index 566338559..f1f07b3c0 100644 --- a/tests/testament/tester.nim +++ b/tests/testament/tester.nim @@ -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) |