* [PATCH ima-evm-utils] tests: list crypto algorithm tests skipped
@ 2021-07-15 0:39 Mimi Zohar
0 siblings, 0 replies; only message in thread
From: Mimi Zohar @ 2021-07-15 0:39 UTC (permalink / raw)
To: linux-integrity; +Cc: Mimi Zohar
Include the list and number of crypto tests skipped in the output.
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
---
build.sh | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/build.sh b/build.sh
index b922fa69ef04..c4d28f1302c6 100755
--- a/build.sh
+++ b/build.sh
@@ -79,8 +79,16 @@ VERBOSE=1 make check || ret=$?
title "logs"
if [ $ret -eq 0 ]; then
- tail -3 tests/ima_hash.log
- tail -3 tests/sign_verify.log
+ if [ -f tests/ima_hash.log ]; then
+ tail -3 tests/ima_hash.log
+ grep "skipped" tests/ima_hash.log && \
+ grep "skipped" tests/ima_hash.log | wc -l
+ fi
+ if [ -f tests/sign_verify.log ]; then
+ tail -3 tests/sign_verify.log
+ grep "skipped" tests/sign_verify.log && \
+ grep "skipped" tests/sign_verify.log | wc -l
+ fi
tail -20 tests/boot_aggregate.log
exit 0
fi
--
2.27.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-15 0:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-15 0:39 [PATCH ima-evm-utils] tests: list crypto algorithm tests skipped Mimi Zohar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).