]> 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)
commitc1011609cdc5aec0074837499228ea31e93ee865
tree8a2230889ffe2c2f657538cf694305abdb4c8ce9
parent7c1ed2d07106791649defe92070ae96442324fec
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