tst_test: Change result strings to use T prefix
Bird
PATCH 1/1 tst_test: Change result strings to use T prefix
Change PASS to TPASS in the new C library.
Change other results strings to also include the "T" prefix. This makes the new library consistent with previous LTP output, and with the shell output.
Signed-off-by Tim Bird <[email protected]>
--- lib/tst_test.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
lib/tst_test.c +6 -6
@@ -193,22 +193,22 @@ static void print_result(const char *file, const int lineno, int ttype,switch (TTYPE_RESULT (ttype)) {case TPASS : - res ="PASS" ; + res ="TPASS" ;break ;case TFAIL : - res ="FAIL" ; + res ="TFAIL" ;break ;case TBROK : - res ="BROK" ; + res ="TBROK" ;break ;case TCONF : - res ="CONF" ; + res ="TCONF" ;break ;case TWARN : - res ="WARN" ; + res ="TWARN" ;break ;case TINFO : - res ="INFO" ; + res ="TINFO" ;break ;default :tst_brk (TBROK ,"Invalid ttype value %i" , ttype);
Signature · 1 line
2.1.4
PATCH 1/1 tst_test: Change result strings to use T prefix
Hi Tim,
Quoted 4 lines
Change PASS to TPASS in the new C library.
Change other results strings to also include the "T" prefix. This makes the new library consistent with previous LTP output, and with the shell output.
Acked-by Petr Vorel <[email protected]>
Kind regards,
Petr