aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/ftrace
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-06-10 15:27:55 +0100
committerShuah Khan <skhan@linuxfoundation.org>2023-06-12 16:40:22 -0600
commit8cd0d8633e2de4e6dd9ddae7980432e726220fdb (patch)
tree864c21b617547e87c2f135f8d60c783d42406e48 /tools/testing/selftests/ftrace
parentselftests/cpufreq: Don't enable generic lock debugging options (diff)
downloadwireguard-linux-8cd0d8633e2de4e6dd9ddae7980432e726220fdb.tar.xz
wireguard-linux-8cd0d8633e2de4e6dd9ddae7980432e726220fdb.zip
selftests/ftace: Fix KTAP output ordering
The KTAP parser I used to test the KTAP output for ftracetest was overly robust and did not notice that the test number and pass/fail result were reversed. Fix this. Fixes: dbcf76390eb9 ("selftests/ftrace: Improve integration with kselftest runner") Signed-off-by: Mark Brown <broonie@kernel.org> Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/ftrace')
-rwxr-xr-xtools/testing/selftests/ftrace/ftracetest2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/ftrace/ftracetest b/tools/testing/selftests/ftrace/ftracetest
index 2506621e75df..cb5f18c06593 100755
--- a/tools/testing/selftests/ftrace/ftracetest
+++ b/tools/testing/selftests/ftrace/ftracetest
@@ -301,7 +301,7 @@ ktaptest() { # result comment
comment="# $comment"
fi
- echo $CASENO $result $INSTANCE$CASENAME $comment
+ echo $result $CASENO $INSTANCE$CASENAME $comment
}
eval_result() { # sigval