Lines Matching refs:eth
117 ExecTestHelper eth; in TEST() local
118 eth.SetArgs({ path_to_linker, nullptr }); in TEST()
119 eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
120 ASSERT_EQ(0u, eth.GetOutput().find(usage_prefix)) << "Test output:\n" << eth.GetOutput(); in TEST()
134 ExecTestHelper eth; in TEST() local
135 eth.SetArgs({ path_to_linker, helper.c_str(), nullptr }); in TEST()
136 …eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, expected_output.c_str()… in TEST()
150 ExecTestHelper eth; in TEST() local
151 eth.SetArgs({ path_to_linker, helper.c_str(), nullptr }); in TEST()
152 …eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, expected_output.c_str()… in TEST()
160 ExecTestHelper eth; in TEST() local
161 eth.SetArgs({ path_to_linker, path_to_linker, nullptr }); in TEST()
162 …eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, EXIT_FAILURE, error_messag… in TEST()
172 ExecTestHelper eth; in TEST() local
173 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
174 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
184 ExecTestHelper eth; in TEST() local
185 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
186 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
199 ExecTestHelper eth; in TEST() local
200 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
201 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "12345"); in TEST()
211 ExecTestHelper eth; in TEST() local
212 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
213 eth.SetEnv({ env.c_str(), nullptr }); in TEST()
219 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "54321"); in TEST()
241 ExecTestHelper eth; in TEST() local
242 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
243 …eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, EXIT_FAILURE, error_messag… in TEST()
285 ExecTestHelper eth; in TEST() local
286 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
287 eth.SetEnv({ env.c_str(), nullptr }); in TEST()
288 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "12345"); in TEST()
308 ExecTestHelper eth; in TEST() local
309 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
310 eth.SetEnv({ env.c_str(), env2.c_str(), nullptr }); in TEST()
311 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "54321"); in TEST()
338 ExecTestHelper eth; in TEST() local
339 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
340 eth.SetEnv({ env.c_str(), nullptr }); in TEST()
341 …eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, EXIT_FAILURE, error_messag… in TEST()
349 ExecTestHelper eth; in RelocationsTest() local
350 eth.SetArgs({ "readelf", "-SW", path.c_str(), nullptr }); in RelocationsTest()
351 eth.Run([&]() { execvpe("readelf", eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in RelocationsTest()
352 ASSERT_TRUE(eth.GetOutput().find(expectation) != std::string::npos) << eth.GetOutput(); in RelocationsTest()