Replace args.split() with shlex.split(args), because args.split() may
accidentally split too much.

CC: Eric Anholt <[email protected]>
CC: Kenneth Graunke <[email protected]>
Signed-off-by: Chad Versace <[email protected]>
---
 tests/all.tests | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/all.tests b/tests/all.tests
index 6d3ddcd..0cfdc65 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -40,7 +40,7 @@ def add_plain_test(group, name):
        group[name] = PlainExecTest([name, '-auto'])
 
 def concurrent_test(args):
-       test = PlainExecTest(args.split() + ['-auto', '-fbo'])
+       test = PlainExecTest(shlex.split(args) + ['-auto', '-fbo'])
        test.runConcurrent = True
        return test
 
-- 
1.7.11.7

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to