* [LTP] [PATCH 1/1] tst_test.sh: Print Summary into stderr
@ 2022-09-12 10:06 Petr Vorel
2022-09-15 11:36 ` Cyril Hrubis
0 siblings, 1 reply; 3+ messages in thread
From: Petr Vorel @ 2022-09-12 10:06 UTC (permalink / raw)
To: ltp; +Cc: Richard Palethorpe
To follow the pattern in C API, where it was changed in
8f560e5dc ("lib: Print everything to stderr").
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
NOTE: applied on the top of patchset "v5 shell: df01.sh:
$TST_ALL_FILESYSTEMS (.all_filesystems)"
https://lore.kernel.org/ltp/20220909141840.18327-1-pvorel@suse.cz/
https://patchwork.ozlabs.org/project/ltp/list/?series=317639&state=*
Kind regards,
Petr
testcases/lib/tst_test.sh | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/testcases/lib/tst_test.sh b/testcases/lib/tst_test.sh
index de4599625..84f29af5b 100644
--- a/testcases/lib/tst_test.sh
+++ b/testcases/lib/tst_test.sh
@@ -69,13 +69,15 @@ _tst_do_exit()
_tst_check_security_modules
fi
- echo
- echo "Summary:"
- echo "passed $TST_PASS"
- echo "failed $TST_FAIL"
- echo "broken $TST_BROK"
- echo "skipped $TST_CONF"
- echo "warnings $TST_WARN"
+ cat >&2 << EOF
+
+Summary:
+passed $TST_PASS
+failed $TST_FAIL
+broken $TST_BROK
+skipped $TST_CONF
+warnings $TST_WARN
+EOF
exit $ret
}
--
2.37.3
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [LTP] [PATCH 1/1] tst_test.sh: Print Summary into stderr
2022-09-12 10:06 [LTP] [PATCH 1/1] tst_test.sh: Print Summary into stderr Petr Vorel
@ 2022-09-15 11:36 ` Cyril Hrubis
2022-09-15 11:58 ` Petr Vorel
0 siblings, 1 reply; 3+ messages in thread
From: Cyril Hrubis @ 2022-09-15 11:36 UTC (permalink / raw)
To: Petr Vorel; +Cc: Richard Palethorpe, ltp
Hi!
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LTP] [PATCH 1/1] tst_test.sh: Print Summary into stderr
2022-09-15 11:36 ` Cyril Hrubis
@ 2022-09-15 11:58 ` Petr Vorel
0 siblings, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2022-09-15 11:58 UTC (permalink / raw)
To: Cyril Hrubis; +Cc: Richard Palethorpe, ltp
Hi Cyril,
thanks for a review, merged!
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-09-15 11:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-12 10:06 [LTP] [PATCH 1/1] tst_test.sh: Print Summary into stderr Petr Vorel
2022-09-15 11:36 ` Cyril Hrubis
2022-09-15 11:58 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox