diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2020-05-01 16:37:41 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-05-01 18:31:38 +0300 |
commit | 6734d211feaec0c24f90da77313dbe704437d8a8 (patch) | |
tree | c4bf75dcef2eff9961aae8951f9627744e375c32 /tools | |
parent | b730d668138cb3dd9ce78f8003986d1adae5523a (diff) | |
download | linux-6734d211feaec0c24f90da77313dbe704437d8a8.tar.xz |
selftests/ftrace: Make XFAIL green color
Since XFAIL (Expected Failure) is expected to fail the test, which
means that test case works as we expected. IOW, XFAIL is same as
PASS. So make it green.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools')
-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 19e9236dec5e..a4605b5ee66d 100755 --- a/tools/testing/selftests/ftrace/ftracetest +++ b/tools/testing/selftests/ftrace/ftracetest @@ -299,7 +299,7 @@ eval_result() { # sigval return $UNSUPPORTED_RESULT # depends on use case ;; $XFAIL) - prlog " [${color_red}XFAIL${color_reset}]" + prlog " [${color_green}XFAIL${color_reset}]" XFAILED_CASES="$XFAILED_CASES $CASENO" return 0 ;; |