Lines Matching refs:fd
91 check_line(int fd, const char *exp)
93 char *line = atf_utils_readline(fd);
325 int fd = open(path, O_RDONLY);
326 ATF_CHECK(fd != -1);
327 check_line(fd, "test-message");
328 close(fd);
444 int fd = open(path, O_RDONLY); \
445 ATF_CHECK(fd != -1); \
446 check_line(fd, "Line 1 to " outname " for " resname); \
447 check_line(fd, "Line 2 to " outname " for " resname); \
448 close(fd); \