mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
the test case now identifies which signal caused an exception
This commit is contained in:
@@ -242,7 +242,8 @@ main(int argc, char **argv)
|
|||||||
deadpid = waitpid(T_pid, &status, 0);
|
deadpid = waitpid(T_pid, &status, 0);
|
||||||
if (deadpid == T_pid) {
|
if (deadpid == T_pid) {
|
||||||
if (WIFSIGNALED(status)) {
|
if (WIFSIGNALED(status)) {
|
||||||
t_info("the test case caught an exception\n");
|
t_info("the test case caught an exception %d\n",
|
||||||
|
WTERMSIG(status));
|
||||||
t_result(T_UNRESOLVED);
|
t_result(T_UNRESOLVED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user