* [LTP] [PATCH] pipe13: Increase time to wait for child processes to terminate
@ 2020-11-16 13:11 Joerg Vehlow
2020-11-17 5:19 ` Yang Xu
0 siblings, 1 reply; 2+ messages in thread
From: Joerg Vehlow @ 2020-11-16 13:11 UTC (permalink / raw)
To: ltp
From: Joerg Vehlow <joerg.vehlow@aox-tech.de>
If the system is not fast enough, to clean up
the child processes, the test shows a false negative result.
Signed-off-by: Joerg Vehlow <joerg.vehlow@aox-tech.de>
---
testcases/kernel/syscalls/pipe/pipe13.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/kernel/syscalls/pipe/pipe13.c b/testcases/kernel/syscalls/pipe/pipe13.c
index 4e6777e63..5d76e1f00 100644
--- a/testcases/kernel/syscalls/pipe/pipe13.c
+++ b/testcases/kernel/syscalls/pipe/pipe13.c
@@ -60,7 +60,7 @@ static void verify_pipe(unsigned int n)
SAFE_CLOSE(fds[0]);
SAFE_CLOSE(fds[1]);
- while (cnt < child_num && sleep_us < 100000) {
+ while (cnt < child_num && sleep_us < 1000000) {
ret = waitpid(-1, NULL, WNOHANG);
if (ret < 0)
tst_brk(TBROK | TERRNO, "waitpid()");
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [LTP] [PATCH] pipe13: Increase time to wait for child processes to terminate
2020-11-16 13:11 [LTP] [PATCH] pipe13: Increase time to wait for child processes to terminate Joerg Vehlow
@ 2020-11-17 5:19 ` Yang Xu
0 siblings, 0 replies; 2+ messages in thread
From: Yang Xu @ 2020-11-17 5:19 UTC (permalink / raw)
To: ltp
Hi Joerg
> From: Joerg Vehlow<joerg.vehlow@aox-tech.de>
>
> If the system is not fast enough, to clean up
> the child processes, the test shows a false negative result.
Pushed, thanks.
Best Regards
Yang Xu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-17 5:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-16 13:11 [LTP] [PATCH] pipe13: Increase time to wait for child processes to terminate Joerg Vehlow
2020-11-17 5:19 ` Yang Xu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.