Re: [PATCH v2 3/5] selftests/ima: define common logging functions

From: shuah
Date: Tue Feb 26 2019 - 20:40:02 EST


On 2/26/19 4:26 PM, Mimi Zohar wrote:
Define log_info, log_pass, log_fail, and log_skip functions.

Suggested-by: Petr Vorel <pvorel@xxxxxxx>
Signed-off-by: Mimi Zohar <zohar@xxxxxxxxxxxxx>
---
tools/testing/selftests/ima/common_lib.sh | 43 +++++++++++++++++++++++---
tools/testing/selftests/ima/test_kexec_load.sh | 19 +++---------
2 files changed, 43 insertions(+), 19 deletions(-)

diff --git a/tools/testing/selftests/ima/common_lib.sh b/tools/testing/selftests/ima/common_lib.sh
index 5583ea74c14e..c6d04006281d 100755
--- a/tools/testing/selftests/ima/common_lib.sh
+++ b/tools/testing/selftests/ima/common_lib.sh
@@ -1,5 +1,36 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later

Same here:

# SPDX-License-Identifier: GPL-2.0

thanks,
-- Shuah