Lines Matching refs:fp
120 FILE *fp; in test_parse_test_list_file() local
128 fp = fdopen(fd, "w"); in test_parse_test_list_file()
129 if (!ASSERT_NEQ(fp, NULL, "fdopen tmp")) { in test_parse_test_list_file()
134 fprintf(fp, "# comment\n"); in test_parse_test_list_file()
135 fprintf(fp, " test_with_spaces \n"); in test_parse_test_list_file()
136 fprintf(fp, "testA/subtest # comment\n"); in test_parse_test_list_file()
137 fprintf(fp, "testB#comment with no space\n"); in test_parse_test_list_file()
138 fprintf(fp, "testB # duplicate\n"); in test_parse_test_list_file()
139 fprintf(fp, "testA/subtest # subtest duplicate\n"); in test_parse_test_list_file()
140 fprintf(fp, "testA/subtest2\n"); in test_parse_test_list_file()
141 fprintf(fp, "testC_no_eof_newline"); in test_parse_test_list_file()
142 fflush(fp); in test_parse_test_list_file()
144 if (!ASSERT_OK(ferror(fp), "prepare tmp")) in test_parse_test_list_file()
164 fclose(fp); in test_parse_test_list_file()