From 3d768738f8a5b444c61a1e01b1cfa0d2c51255c4 Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 26 Sep 2018 11:31:17 +0200 Subject: testament: quote categories too because of 'dir with space' test --- tests/testament/tester.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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) -- cgit 1.4.1-2-gfad0