pipe13: Increase time to wait for child processes to terminate
PATCH 1/1 pipe13: Increase time to wait for child processes to terminate
From: Joerg Vehlow <[email protected]>
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 <[email protected]>
--- testcases/kernel/syscalls/pipe/pipe13.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/syscalls/pipe/pipe13.c +1 -1
@@ -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()" );
Signature · 1 line
2.25.1
PATCH 1/1 pipe13: Increase time to wait for child processes to terminate
Hi Joerg
Quoted 4 lines
From: Joerg Vehlow<[email protected]>
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