Hi all, fork13 is a test program back-ported from upstream mainline: 5fdee8c4a5e1800489ce61963208f8cc55e42ea1, however, this test produces too many outputs that may cause syscall output log too large (10GB+!!). Also 10e7 times fork is too time-consuming, 10e6 forking is valid enough to reproduce the issue and it takes less time (~5min).
Signed-off-by: Caspar Zhang <[email protected]> --- runtest/syscalls | 2 +- testcases/kernel/syscalls/fork/fork13.c | 2 -- 2 files changed, 1 insertions(+), 3 deletions(-) diff --git a/runtest/syscalls b/runtest/syscalls index d402531..3bd9c50 100644 --- a/runtest/syscalls +++ b/runtest/syscalls @@ -274,7 +274,7 @@ fork08 fork08 fork09 fork09 fork10 fork10 fork11 fork11 -fork13 fork13 -c 2 -i 10000000 +fork13 fork13 -c 2 -i 1000000 fpathconf01 fpathconf01 diff --git a/testcases/kernel/syscalls/fork/fork13.c b/testcases/kernel/syscalls/fork/fork13.c index 7c72352..e7dd192 100644 --- a/testcases/kernel/syscalls/fork/fork13.c +++ b/testcases/kernel/syscalls/fork/fork13.c @@ -103,8 +103,6 @@ void check(void) exit(child_exit_code); default: if (lc > 0) { - tst_resm(TINFO, "last_pid = %d pid = %d", - last_pid, pid); distance = pid_distance(last_pid, pid); if (distance == 0) tst_resm(TFAIL, -- 1.7.4.1 -- Quality Engineer (Kernel) in Red Hat Software (Beijing) Co., R&D Branch http://www.cn.redhat.com/ TEL: +86-10-62608150
From c0a48a4c347ee7a7534f9695e7bc66a6649cb753 Mon Sep 17 00:00:00 2001 From: Caspar Zhang <[email protected]> Date: Thu, 3 Mar 2011 14:47:55 +0800 Subject: [PATCH 2/2] fork13 output too large Hi all, fork13 is a test program ported from upstream mainline: 5fdee8c4a5e1800489ce61963208f8cc55e42ea1, however, this test produces too many outputs that may cause syscall output log too large (10GB+!!). Also 10e7 times fork is too time-consuming, 10e6 forking is valid enough to reproduce the issue and it takes less time (~5min). Signed-off-by: Caspar Zhang <[email protected]> --- runtest/syscalls | 2 +- testcases/kernel/syscalls/fork/fork13.c | 2 -- 2 files changed, 1 insertions(+), 3 deletions(-) diff --git a/runtest/syscalls b/runtest/syscalls index d402531..3bd9c50 100644 --- a/runtest/syscalls +++ b/runtest/syscalls @@ -274,7 +274,7 @@ fork08 fork08 fork09 fork09 fork10 fork10 fork11 fork11 -fork13 fork13 -c 2 -i 10000000 +fork13 fork13 -c 2 -i 1000000 fpathconf01 fpathconf01 diff --git a/testcases/kernel/syscalls/fork/fork13.c b/testcases/kernel/syscalls/fork/fork13.c index 7c72352..e7dd192 100644 --- a/testcases/kernel/syscalls/fork/fork13.c +++ b/testcases/kernel/syscalls/fork/fork13.c @@ -103,8 +103,6 @@ void check(void) exit(child_exit_code); default: if (lc > 0) { - tst_resm(TINFO, "last_pid = %d pid = %d", - last_pid, pid); distance = pid_distance(last_pid, pid); if (distance == 0) tst_resm(TFAIL, -- 1.7.4.1
------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
