[LTP] [PATCH] msgstress01: remove TWARN type from runtime remaining
Li Wang
liwang@redhat.com
Tue Jun 25 12:01:30 CEST 2024
To mask the issue where a warning is being treated as a failure in CI
logs, we modify the code to change the message type from TWARN to TINFO.
This warning easily happens especaill on debug/slower kernel:
msgstress01.c:217: TWARN: Out of runtime during forking...
Signed-off-by: Li Wang <liwang@redhat.com>
---
testcases/kernel/syscalls/ipc/msgstress/msgstress01.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/kernel/syscalls/ipc/msgstress/msgstress01.c b/testcases/kernel/syscalls/ipc/msgstress/msgstress01.c
index 8b1e9a8c0..9f0ba105d 100644
--- a/testcases/kernel/syscalls/ipc/msgstress/msgstress01.c
+++ b/testcases/kernel/syscalls/ipc/msgstress/msgstress01.c
@@ -214,7 +214,7 @@ static void run(void)
break;
if (!tst_remaining_runtime()) {
- tst_res(TWARN, "Out of runtime during forking...");
+ tst_res(TINFO, "Warning: Out of runtime during forking...");
*stop = 1;
break;
}
--
2.45.2
More information about the ltp
mailing list