Commit e96df6eb authored by RILLING Louis's avatar RILLING Louis
Browse files

tansiv/tests: Use write(2) instead of printf(3) in signal context

parent 63347786
Pipeline #137312 failed with stages
in 2 minutes and 47 seconds
......@@ -148,7 +148,9 @@ private:
void recv_cb(const struct vsg_context* context, uint32_t msglen, const uint8_t* msg)
{
printf("callback called\n");
// Try not to deadlock with libc's stdout
const char hey[] = "callback called\n";
write(STDOUT_FILENO, hey, sizeof(hey) - 1);
};
void TestTansiv::setUp(void) {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment