@@ -63,7 +63,7 @@ static void cleanup(void)
static struct tst_test test = {
.needs_root = 1,
.forks_child = 1,
- .timeout = -1,
+ .max_iteration_runtime = TST_UNLIMITED_RUNTIME,
.setup = setup,
.cleanup = cleanup,
.test_all = verify_oom,
@@ -70,7 +70,7 @@ static void cleanup(void)
static struct tst_test test = {
.needs_root = 1,
.forks_child = 1,
- .timeout = -1,
+ .max_iteration_runtime = TST_UNLIMITED_RUNTIME,
.setup = setup,
.cleanup = cleanup,
.test_all = verify_oom,
@@ -95,7 +95,7 @@ static void cleanup(void)
static struct tst_test test = {
.needs_root = 1,
.forks_child = 1,
- .timeout = -1,
+ .max_iteration_runtime = TST_UNLIMITED_RUNTIME,
.setup = setup,
.cleanup = cleanup,
.test_all = verify_oom,
@@ -91,7 +91,7 @@ static void cleanup(void)
static struct tst_test test = {
.needs_root = 1,
.forks_child = 1,
- .timeout = -1,
+ .max_iteration_runtime = TST_UNLIMITED_RUNTIME,
.setup = setup,
.cleanup = cleanup,
.test_all = verify_oom,
@@ -113,7 +113,7 @@ void cleanup(void)
static struct tst_test test = {
.needs_root = 1,
.forks_child = 1,
- .timeout = -1,
+ .max_iteration_runtime = TST_UNLIMITED_RUNTIME,
.setup = setup,
.cleanup = cleanup,
.test_all = verify_oom,
@@ -231,7 +231,7 @@ static void cleanup(void)
static struct tst_test test = {
.needs_root = 1,
.forks_child = 1,
- .timeout = -1,
+ .max_iteration_runtime = TST_UNLIMITED_RUNTIME,
.setup = setup,
.cleanup = cleanup,
.test_all = min_free_kbytes_test,
This just sets the runtime to TST_UNLIMITED_RUNTIME which disables the timeout. Signed-off-by: Cyril Hrubis <chrubis@suse.cz> --- testcases/kernel/mem/oom/oom01.c | 2 +- testcases/kernel/mem/oom/oom02.c | 2 +- testcases/kernel/mem/oom/oom03.c | 2 +- testcases/kernel/mem/oom/oom04.c | 2 +- testcases/kernel/mem/oom/oom05.c | 2 +- testcases/kernel/mem/tunable/min_free_kbytes.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)