static int todo = 0;
static int test_died = 0;
static int test_pid;
+void (*tap_fail_callback)(void) = NULL;
/* Encapsulate the pthread code in a conditional. In the absence of
libpthread the code does nothing.
UNLOCK;
}
-int
-exit_status(void)
+static int
+exit_status_(void)
{
int r;
return r;
}
+
+int
+exit_status(void)
+{
+ int r = exit_status_();
+ if (r > 255)
+ r = 255;
+ return r;
+}