xicodomingues / francinette

An easy to use testing framework for the 42 projects
MIT License
463 stars 44 forks source link

[BUG] `ft_putchar_fd`, `ft_putstr_fd`, `ft_putendl_fd` and ` ft_putnbr_fd` tests timeout #74

Open pioupia opened 11 months ago

pioupia commented 11 months ago

Describe the bug

Additional information Same as: https://github.com/Tripouille/libftTester/issues/43

Since the Linux transition for all 42 campus, theses functions timeout without any reason.

It could be a possible bug from all developers in the cursus for the 3 last function, but for ft_putchar_fd which just write a letter in a file its just impossible.

My code is the following:

#include <unistd.h>

void    ft_putchar_fd(char c, int fd)
{
    write(fd, &c, 1);
}

We can't say "This code can timeout". I set here the errors: Screenshot-from-2023-10-20-09-25-01-min