Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Masami Hiramatsu and committed by
Shuah Khan
76ebbc27 43708c0a

+1 -1
+1 -1
tools/testing/selftests/ftrace/ftracetest
··· 263 263 264 264 testcase() { # testfile 265 265 CASENO=$((CASENO+1)) 266 - desc=`grep "^#[ \t]*description:" $1 | cut -f2 -d:` 266 + desc=`grep "^#[ \t]*description:" $1 | cut -f2- -d:` 267 267 prlog -n "[$CASENO]$INSTANCE$desc" 268 268 } 269 269