selftests: ftrace: fix typo in test report

Message ID 20240201082557.15965-1-ahzahraee@gmail.com
State New
Headers
Series selftests: ftrace: fix typo in test report |

Commit Message

Ali Zahraee Feb. 1, 2024, 8:25 a.m. UTC
  This is just another trivial typo fix. The typo shows up in the final
report after tests are done.

Signed-off-by: Ali Zahraee <ahzahraee@gmail.com>
---
 tools/testing/selftests/ftrace/ftracetest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Masami Hiramatsu (Google) Feb. 6, 2024, 1:35 p.m. UTC | #1
On Thu,  1 Feb 2024 09:25:57 +0100
Ali Zahraee <ahzahraee@gmail.com> wrote:

> This is just another trivial typo fix. The typo shows up in the final
> report after tests are done.
> 

Thanks, and that is already reported very recently.

https://lore.kernel.org/all/20240129162841.57979-1-five231003@gmail.com/

> Signed-off-by: Ali Zahraee <ahzahraee@gmail.com>
> ---
>  tools/testing/selftests/ftrace/ftracetest | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/ftrace/ftracetest b/tools/testing/selftests/ftrace/ftracetest
> index c778d4dcc17e..25d4e0fca385 100755
> --- a/tools/testing/selftests/ftrace/ftracetest
> +++ b/tools/testing/selftests/ftrace/ftracetest
> @@ -504,7 +504,7 @@ prlog "# of undefined(test bug): " `echo $UNDEFINED_CASES | wc -w`
>  if [ "$KTAP" = "1" ]; then
>    echo -n "# Totals:"
>    echo -n " pass:"`echo $PASSED_CASES | wc -w`
> -  echo -n " faii:"`echo $FAILED_CASES | wc -w`
> +  echo -n " fail:"`echo $FAILED_CASES | wc -w`
>    echo -n " xfail:"`echo $XFAILED_CASES | wc -w`
>    echo -n " xpass:0"
>    echo -n " skip:"`echo $UNTESTED_CASES $UNSUPPORTED_CASES | wc -w`
> -- 
> 2.34.1
>
  

Patch

diff --git a/tools/testing/selftests/ftrace/ftracetest b/tools/testing/selftests/ftrace/ftracetest
index c778d4dcc17e..25d4e0fca385 100755
--- a/tools/testing/selftests/ftrace/ftracetest
+++ b/tools/testing/selftests/ftrace/ftracetest
@@ -504,7 +504,7 @@  prlog "# of undefined(test bug): " `echo $UNDEFINED_CASES | wc -w`
 if [ "$KTAP" = "1" ]; then
   echo -n "# Totals:"
   echo -n " pass:"`echo $PASSED_CASES | wc -w`
-  echo -n " faii:"`echo $FAILED_CASES | wc -w`
+  echo -n " fail:"`echo $FAILED_CASES | wc -w`
   echo -n " xfail:"`echo $XFAILED_CASES | wc -w`
   echo -n " xpass:0"
   echo -n " skip:"`echo $UNTESTED_CASES $UNSUPPORTED_CASES | wc -w`