[LTP] [PATCH] lib/tst_test.sh: Add statistics info TST_BROK

Zhao Gongyi zhaogongyi@huawei.com
Sat Apr 10 09:30:38 CEST 2021


Before test exit, we need print statistics info of TST_BROK.

Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com>
---
 testcases/lib/tst_test.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/lib/tst_test.sh b/testcases/lib/tst_test.sh
index a6a8e9579..02152796a 100644
--- a/testcases/lib/tst_test.sh
+++ b/testcases/lib/tst_test.sh
@@ -82,6 +82,7 @@ _tst_do_exit()
 	echo "Summary:"
 	echo "passed   $TST_PASS"
 	echo "failed   $TST_FAIL"
+	echo "broked   $TST_BROK"
 	echo "skipped  $TST_CONF"
 	echo "warnings $TST_WARN"

--
2.17.1



More information about the ltp mailing list