[LTP] [PATCH v2 1/5] ioctl_sg01: Add max_runtime
Martin Doucha
mdoucha@suse.cz
Wed Sep 14 18:19:26 CEST 2022
Test setup can take very long time depending on the amount of free RAM.
Set high max_runtime to avoid timeout issues.
Signed-off-by: Martin Doucha <mdoucha@suse.cz>
---
Changes since v1:
- Changed max_runtime from unlimited to 1 hour
We'll add .max_setup_runtime after the release to not break even more things.
Let's use this as a temporary fix.
testcases/kernel/syscalls/ioctl/ioctl_sg01.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/testcases/kernel/syscalls/ioctl/ioctl_sg01.c b/testcases/kernel/syscalls/ioctl/ioctl_sg01.c
index 94b30dc6b..dfbba399d 100644
--- a/testcases/kernel/syscalls/ioctl/ioctl_sg01.c
+++ b/testcases/kernel/syscalls/ioctl/ioctl_sg01.c
@@ -126,6 +126,7 @@ static struct tst_test test = {
.test_all = run,
.setup = setup,
.cleanup = cleanup,
+ .max_runtime = 3600,
.tags = (const struct tst_tag[]) {
{"linux-git", "a45b599ad808"},
{"CVE", "2018-1000204"},
--
2.37.3
More information about the ltp
mailing list