Lines Matching defs:fd
86 check_line(int fd, const char *exp)
88 char *line = atf_utils_readline(fd);
320 int fd = open(path, O_RDONLY);
321 ATF_CHECK(fd != -1);
322 check_line(fd, "test-message");
323 close(fd);
439 int fd = open(path, O_RDONLY); \
440 ATF_CHECK(fd != -1); \
441 check_line(fd, "Line 1 to " outname " for " resname); \
442 check_line(fd, "Line 2 to " outname " for " resname); \
443 close(fd); \