diff options
author | 2020-06-03 11:40:10 +0900 | |
---|---|---|
committer | 2020-06-16 09:15:40 -0600 | |
commit | 76ebbc2736434f210d0fe4a41cc3232b0dae4563 (patch) | |
tree | 8cf2f03a3b55911d89f64e1c56b2ce2e4401ac01 /tools/testing/selftests/ftrace | |
parent | tools: testing: ftrace: trigger: fix spelling mistake (diff) | |
download | linux-76ebbc2736434f210d0fe4a41cc3232b0dae4563.tar.gz linux-76ebbc2736434f210d0fe4a41cc3232b0dae4563.tar.bz2 linux-76ebbc2736434f210d0fe4a41cc3232b0dae4563.zip |
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>
Diffstat (limited to 'tools/testing/selftests/ftrace')
-rwxr-xr-x | tools/testing/selftests/ftrace/ftracetest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/ftrace/ftracetest b/tools/testing/selftests/ftrace/ftracetest index a4605b5ee66d..d3f6652311ef 100755 --- a/tools/testing/selftests/ftrace/ftracetest +++ b/tools/testing/selftests/ftrace/ftracetest @@ -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" } |