Lines Matching defs:read_file
46 read_file(const std::string& path)
76 ATF_REQUIRE_EQ("", read_file("captured.txt"));
88 ATF_REQUIRE_EQ("PREFIXThis is a single line\n", read_file("captured.txt"));
101 read_file("captured.txt"));
113 ATF_REQUIRE_EQ("PREFIXFoo\nPREFIX bar baz", read_file("captured.txt"));
206 ATF_REQUIRE_EQ("This is a %d test", read_file("test.txt"));
242 ATF_REQUIRE_EQ("Child stdout\n", read_file(out_name.str()));
243 ATF_REQUIRE_EQ("Child stderr\n", read_file(err_name.str()));
304 ATF_REQUIRE_EQ("The printed message", read_file("captured.txt"));
315 ATF_REQUIRE_EQ("The printed message", read_file("captured.txt"));
326 ATF_REQUIRE_EQ(message, read_file("captured.txt"));