[LTP] [PATCH] crypto/af_alg04: log INFO message when beginning test

Eric Biggers ebiggers@kernel.org
Mon Apr 22 19:37:42 CEST 2019


From: Eric Biggers <ebiggers@google.com>

Make it more obvious that this test will crash buggy kernels.

Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 testcases/kernel/crypto/af_alg04.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testcases/kernel/crypto/af_alg04.c b/testcases/kernel/crypto/af_alg04.c
index b8e494b87..48239e020 100644
--- a/testcases/kernel/crypto/af_alg04.c
+++ b/testcases/kernel/crypto/af_alg04.c
@@ -28,6 +28,8 @@ static void run(void)
 	else
 		algfd = tst_alg_setup("hash", "vmac(aes)", NULL, 16);
 
+	tst_res(TINFO, "Starting vmac hashing test.  May crash buggy kernels.");
+
 	pid = SAFE_FORK();
 
 	reqfd = tst_alg_accept(algfd);
-- 
2.21.0.593.g511ec345e18-goog



More information about the ltp mailing list