mdbx-test: add coredump status.

Change-Id: I9003a891744eb78d91a3e279e20efcb4c1ad736c
This commit is contained in:
Leonid Yuriev
2019-07-07 02:33:35 +03:00
parent 7e1e142104
commit 30ac62ceec
4 changed files with 17 additions and 4 deletions

View File

@@ -199,7 +199,9 @@ retry:
if (WIFEXITED(status))
childs[pid] =
(WEXITSTATUS(status) == EXIT_SUCCESS) ? as_successful : as_failed;
else if (WIFSIGNALED(status) || WCOREDUMP(status))
else if (WCOREDUMP(status))
childs[pid] = as_coredump;
else if (WIFSIGNALED(status))
childs[pid] = as_killed;
else if (WIFSTOPPED(status))
childs[pid] = as_debuging;