Searched refs:binary_path (Results 1 – 2 of 2) sorted by relevance
124 std::string binary_path = std::string(td.path) + "/update_binary"; in TEST() local125 Paths::Get().set_temporary_update_binary(binary_path); in TEST()129 ASSERT_EQ(binary_path, cmd[0]); in TEST()134 ASSERT_EQ(0, stat(binary_path.c_str(), &sb)); in TEST()141 ASSERT_EQ(binary_path, cmd[0]); in TEST()147 ASSERT_EQ(0, stat(binary_path.c_str(), &sb)); in TEST()
287 const std::string binary_path = Paths::Get().temporary_update_binary(); in SetUpNonAbUpdateCommands() local288 unlink(binary_path.c_str()); in SetUpNonAbUpdateCommands()290 open(binary_path.c_str(), O_CREAT | O_WRONLY | O_TRUNC | O_CLOEXEC, 0755)); in SetUpNonAbUpdateCommands()292 PLOG(ERROR) << "Failed to create " << binary_path; in SetUpNonAbUpdateCommands()307 binary_path, in SetUpNonAbUpdateCommands()