| From ef7086347c82c53a6c5238bd2cf31379f6acadde Mon Sep 17 00:00:00 2001 |
| From: Tommi Rantala <tommi.t.rantala@nokia.com> |
| Date: Thu, 8 Oct 2020 15:26:24 +0300 |
| Subject: selftests/harness: prettify SKIP message whitespace again |
| |
| From: Tommi Rantala <tommi.t.rantala@nokia.com> |
| |
| commit ef7086347c82c53a6c5238bd2cf31379f6acadde upstream. |
| |
| Commit 9847d24af95c ("selftests/harness: Refactor XFAIL into SKIP") |
| replaced XFAIL with SKIP in the output. Add one more space to make the |
| output aligned and pretty again. |
| |
| Fixes: 9847d24af95c ("selftests/harness: Refactor XFAIL into SKIP") |
| Signed-off-by: Tommi Rantala <tommi.t.rantala@nokia.com> |
| Acked-by: Kees Cook <keescook@chromium.org> |
| Reviewed-by: Christian Brauner <christian.brauner@ubuntu.com> |
| Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| |
| --- |
| tools/testing/selftests/kselftest_harness.h | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| --- a/tools/testing/selftests/kselftest_harness.h |
| +++ b/tools/testing/selftests/kselftest_harness.h |
| @@ -126,7 +126,7 @@ |
| snprintf(_metadata->results->reason, \ |
| sizeof(_metadata->results->reason), fmt, ##__VA_ARGS__); \ |
| if (TH_LOG_ENABLED) { \ |
| - fprintf(TH_LOG_STREAM, "# SKIP %s\n", \ |
| + fprintf(TH_LOG_STREAM, "# SKIP %s\n", \ |
| _metadata->results->reason); \ |
| } \ |
| _metadata->passed = 1; \ |