]> git.baikalelectronics.ru Git - kernel.git/commit
ktest: Place quotes around item variable
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Tue, 3 Feb 2015 20:45:13 +0000 (15:45 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 3 Feb 2015 20:45:13 +0000 (15:45 -0500)
commit6c22410a1a9e1544529f63f713b6369e17b0f69a
tree8a2230889ffe2c2f657538cf694305abdb4c8ce9
parentc0ec34627eb488b592a0c782b84d6bfb4ec65b27
ktest: Place quotes around item variable

Seems that some of the new console logic causes doprint to possibly
get evaluated. When printing a commit message that contains parenthesis,
it fails with a shell parsing error.

This gets fixed when we add quotes around the $item variable, and prevent
it from being evaluated by any shell commands.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl