Lines Matching refs:ATF_REQUIRE
53 ATF_REQUIRE(f != NULL);
54 ATF_REQUIRE(fflush(NULL) == 0);
55 ATF_REQUIRE(fclose(f) == 0);
58 ATF_REQUIRE(f != NULL);
68 ATF_REQUIRE(fclose(f) == 0);
106 ATF_REQUIRE(f != NULL);
108 ATF_REQUIRE(fwrite("garbage", 1, 7, f) == 7);
109 ATF_REQUIRE(fclose(f) == 0);
112 ATF_REQUIRE(f != NULL);
115 ATF_REQUIRE(fd != -1);
117 ATF_REQUIRE(fread(buf, 1, 3, f) == 3);
118 ATF_REQUIRE(fflush(f) == 0);
119 ATF_REQUIRE(fseek(f, 0, SEEK_CUR) == 0);
125 ATF_REQUIRE(ftell(f) == 3);
126 ATF_REQUIRE(lseek(fd, 0, SEEK_CUR) == 3);
127 ATF_REQUIRE(fgetc(f) == 'b');
129 ATF_REQUIRE(fclose(f) == 0);
130 ATF_REQUIRE(unlink(path) == 0);
149 ATF_REQUIRE(f != NULL);
150 ATF_REQUIRE(fclose(f) == 0);