selftests/ftrace: Allow ":" in description
Allow ":" in the description line. Currently if there is ":" in the test description line, the description is cut at that point, but that was unintended. Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Reviewed-by: Tom Zanussi <zanussi@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
43708c0ab7
commit
76ebbc2736
@ -263,7 +263,7 @@ CASENO=0
|
||||
|
||||
testcase() { # testfile
|
||||
CASENO=$((CASENO+1))
|
||||
desc=`grep "^#[ \t]*description:" $1 | cut -f2 -d:`
|
||||
desc=`grep "^#[ \t]*description:" $1 | cut -f2- -d:`
|
||||
prlog -n "[$CASENO]$INSTANCE$desc"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user