summaryrefslogtreecommitdiff
path: root/include/ouroboros/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ouroboros/test.h')
-rw-r--r--include/ouroboros/test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ouroboros/test.h b/include/ouroboros/test.h
index 6e32579f..a88b5548 100644
--- a/include/ouroboros/test.h
+++ b/include/ouroboros/test.h
@@ -62,7 +62,7 @@ static int __attribute__((unused)) test_assert_fail(int(* testfunc)(void))
waitpid(pid, &wstatus, 0);
#ifdef CONFIG_OUROBOROS_DEBUG
- if (WIFSIGNALED(wstatus) && wstatus == 134)
+ if (WIFSIGNALED(wstatus) && (wstatus == 134 || wstatus == 6))
return 0;
printf("Process did not abort, status: %d.\n", wstatus);