Lines Matching refs:read_file
50 read_file(const char *path)
80 ATF_REQUIRE_EQ("", read_file("captured.txt"));
92 ATF_REQUIRE_EQ("PREFIXThis is a single line\n", read_file("captured.txt"));
105 read_file("captured.txt"));
117 ATF_REQUIRE_EQ("PREFIXFoo\nPREFIX bar baz", read_file("captured.txt"));
210 ATF_REQUIRE_EQ("This is a %d test", read_file("test.txt"));
241 ATF_REQUIRE_EQ("Child stdout\n", read_file("atf_utils_fork_out.txt"));
242 ATF_REQUIRE_EQ("Child stderr\n", read_file("atf_utils_fork_err.txt"));
303 ATF_REQUIRE_EQ("The printed message", read_file("captured.txt"));
314 ATF_REQUIRE_EQ("The printed message", read_file("captured.txt"));
325 ATF_REQUIRE_EQ(message, read_file("captured.txt"));