[LTP] [COMMITTED] [PATCH 3/6] syscalls/gettimeofday02: Default to 10s run.

Cyril Hrubis chrubis@suse.cz
Thu Mar 9 16:13:05 CET 2017


Running the test for 10s should be more than enough.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
 testcases/kernel/syscalls/gettimeofday/gettimeofday02.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/syscalls/gettimeofday/gettimeofday02.c b/testcases/kernel/syscalls/gettimeofday/gettimeofday02.c
index 5c2d5a9..0ff001a 100644
--- a/testcases/kernel/syscalls/gettimeofday/gettimeofday02.c
+++ b/testcases/kernel/syscalls/gettimeofday/gettimeofday02.c
@@ -40,7 +40,7 @@
 
 static volatile sig_atomic_t done;
 static char *str_rtime;
-static int rtime = 30;
+static int rtime = 10;
 
 static struct tst_option options[] = {
 	{"T:", &str_rtime, "-T len   Test iteration runtime in seconds"},
-- 
2.10.2



More information about the ltp mailing list