Skip to content

Commit 6734d21

Browse files
mhiramatshuahkh
authored andcommitted
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 <[email protected]> Acked-by: Steven Rostedt (VMware) <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent b730d66 commit 6734d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/ftrace/ftracetest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ eval_result() { # sigval
299299
return $UNSUPPORTED_RESULT # depends on use case
300300
;;
301301
$XFAIL)
302-
prlog " [${color_red}XFAIL${color_reset}]"
302+
prlog " [${color_green}XFAIL${color_reset}]"
303303
XFAILED_CASES="$XFAILED_CASES $CASENO"
304304
return 0
305305
;;

0 commit comments

Comments
 (0)