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: dbcf76390e ("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>
This commit is contained in:
Mark Brown 2023-06-10 15:27:55 +01:00 committed by Shuah Khan
parent 1e2c449927
commit 8cd0d8633e

View File

@ -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