diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2020-06-03 05:40:10 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-06-16 18:15:40 +0300 |
commit | 76ebbc2736434f210d0fe4a41cc3232b0dae4563 (patch) | |
tree | 8cf2f03a3b55911d89f64e1c56b2ce2e4401ac01 /tools/testing/selftests/ftrace | |
parent | 43708c0ab7c9861cf3fb8664ab327f8c7b1bada0 (diff) | |
download | linux-76ebbc2736434f210d0fe4a41cc3232b0dae4563.tar.xz |
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" } |