projects/linux·commit 8cd0d863

selftests/ftace: Fix KTAP output ordering

8cd0d863 · Mark Brown <[email protected]> · 2023-06-10 15:27:55 +01:00

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 <[email protected]>
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Acked-by: Steven Rostedt (Google) <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Commit
8cd0d8633e2de4e6dd9ddae7980432e726220fdb
Parents
1e2c4499

Changes

1 files changed · +1 −1

FileStatusAddDelContent
tools/testing/selftests/ftrace/ftracetestmodified+1−1View file

tools/testing/selftests/ftrace/ftracetest

View file
diff --git a/tools/testing/selftests/ftrace/ftracetest b/tools/testing/selftests/ftrace/ftracetest
index 2506621..cb5f18c 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