Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Fix (FT_PUT*_FD): Fix the timeout #75

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/libft/fsoares/test_putchar_fd.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ int test_putchar_fd()
set_signature_tn(6, "ft_putchar_fd(%i:%s, fd: %i)", 't', escape_chr('t'), fd);
null_null_check(ft_putchar_fd('t', fd), res);

close(fd);
remove("./fsoares");
return res;
}
Expand Down
1 change: 1 addition & 0 deletions tests/libft/fsoares/test_putendl_fd.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ int test_putendl_fd()
set_signature_tn(6, "ft_putendl_fd(\"%s\", fd: %i)", "teste", fd);
null_null_check(ft_putendl_fd("teste", fd), res);

close(fd);
remove("./fsoares");
return res;
}
Expand Down
1 change: 1 addition & 0 deletions tests/libft/fsoares/test_putnbr_fd.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ int test_putnbr_fd()
set_signature_tn(6, "ft_putnbr_fd(%i, fd: %i)", 10000, fd);
null_null_check(ft_putnbr_fd(10000, fd), res);

close(fd);
remove("./fsoares");
return res;
}
Expand Down
1 change: 1 addition & 0 deletions tests/libft/fsoares/test_putstr_fd.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ int test_putstr_fd()
set_signature_tn(6, "ft_putstr_fd(\"%s\", fd: %i)", "teste", fd);
null_null_check(ft_putstr_fd("teste", fd), res);

close(fd);
remove("./fsoares");
return res;
}
Expand Down