summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_fork_thread_deadlock.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_fork_thread_deadlock.c b/tests/test_fork_thread_deadlock.c
index 7d4d4a7..de54d1e 100644
--- a/tests/test_fork_thread_deadlock.c
+++ b/tests/test_fork_thread_deadlock.c
@@ -45,8 +45,10 @@
static void test_swrap_signal_handler(int signum)
{
+ ssize_t w;
fprintf(stderr, "PID: %u, SIGNUM: %d\n", (unsigned int)getpid(), signum);
- write(1, "DEADLOCK?\n", 10);
+ w = write(1, "DEADLOCK?\n", 10);
+ fprintf(stderr, "WRITE: %zu\n", w);
}
static void test_swrap_fork_pthread(void **state)