Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Radu Nicolau <radu.nico...@intel.com> --- test/test/test_debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/test/test_debug.c b/test/test/test_debug.c index faf2cf5..56fadce 100644 --- a/test/test/test_debug.c +++ b/test/test/test_debug.c @@ -34,7 +34,8 @@ test_panic(void) printf("Fork Failed\n"); return -1; } - wait(&status); + sleep(1); + waitpid(pid, &status, WNOHANG); if(status == 0){ printf("Child process terminated normally!\n"); return -1; -- 2.7.5