Home
last modified time | relevance | path

Searched refs:eth (Results 1 – 10 of 10) sorted by relevance

/bionic/tests/
Ddl_test.cpp118 ExecTestHelper eth; in TEST() local
119 eth.SetArgs({ path_to_linker, nullptr }); in TEST()
120 eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
121 ASSERT_EQ(0u, eth.GetOutput().find(usage_prefix)) << "Test output:\n" << eth.GetOutput(); in TEST()
135 ExecTestHelper eth; in TEST() local
136 eth.SetArgs({ path_to_linker, helper.c_str(), nullptr }); in TEST()
137eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, expected_output.c_str()… in TEST()
151 ExecTestHelper eth; in TEST() local
152 eth.SetArgs({ path_to_linker, helper.c_str(), nullptr }); in TEST()
153eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, expected_output.c_str()… in TEST()
[all …]
Dsys_thread_properties_test.cpp29 ExecTestHelper eth; in TEST() local
30 eth.SetArgs({helper.c_str(), nullptr}); in TEST()
31 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, expected_out); in TEST()
42 ExecTestHelper eth; in TEST() local
43 eth.SetArgs({helper.c_str(), nullptr}); in TEST()
44 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, expected_out); in TEST()
Dspawn_test.cpp192 ExecTestHelper eth; in TEST() local
193 eth.SetArgs({BIN_DIR "true", nullptr}); in TEST()
195 ASSERT_EQ(0, posix_spawn(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
200 ExecTestHelper eth; in TEST() local
201 eth.SetArgs({"true", nullptr}); in TEST()
203 ASSERT_EQ(0, posix_spawn(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
208 ExecTestHelper eth; in TEST() local
209 eth.SetArgs({"true", nullptr}); in TEST()
211 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
216 ExecTestHelper eth; in TEST() local
[all …]
Dcfi_test.cpp151 ExecTestHelper eth; in TEST() local
152 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
153 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
163 ExecTestHelper eth; in TEST() local
164 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
165 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
Dunistd_test.cpp1343 ExecTestHelper eth; in TEST() local
1345 ASSERT_EQ(-1, execve("/", eth.GetArgs(), eth.GetEnv())); in TEST()
1358 ExecTestHelper eth; in TEST() local
1359 eth.SetArgs({"echo", "hello", "world", nullptr}); in TEST()
1360 eth.Run([&]() { execve(BIN_DIR "echo", eth.GetArgs(), eth.GetEnv()); }, 0, "hello world\n"); in TEST()
1363 eth.SetArgs({"printenv", nullptr}); in TEST()
1364 eth.SetEnv({"A=B", nullptr}); in TEST()
1369 eth.Run([&]() { execve(BIN_DIR "printenv", eth.GetArgs(), eth.GetEnv()); }, 0, in TEST()
1380 ExecTestHelper eth; in TEST() local
1382 eth.Run([&]() { execl(BIN_DIR "echo", "echo", "hello", "world", nullptr); }, 0, "hello world\n"); in TEST()
[all …]
Dheap_tagging_level_test.cpp202 ExecTestHelper eth; in TEST_P() local
203 eth.SetArgs({helper.c_str(), nullptr}); in TEST_P()
204 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, in TEST_P()
Delftls_dl_test.cpp83 ExecTestHelper eth; in TEST() local
84 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
85 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, error.c_str()); in TEST()
Dstdio_test.cpp2559 ExecTestHelper eth; in TEST() local
2560 eth.Run([&]() { errno = EINVAL; perror("a b c"); exit(0); }, 0, "a b c: Invalid argument\n"); in TEST()
2561 eth.Run([&]() { errno = EINVAL; perror(nullptr); exit(0); }, 0, "Invalid argument\n"); in TEST()
2562 eth.Run([&]() { errno = EINVAL; perror(""); exit(0); }, 0, "Invalid argument\n"); in TEST()
2566 ExecTestHelper eth; in TEST() local
2567 eth.Run([&]() { exit(puts("a b c")); }, 0, "a b c\n"); in TEST()
2571 ExecTestHelper eth; in TEST() local
2572 eth.Run([&]() { exit(putchar('A')); }, 65, "A"); in TEST()
2576 ExecTestHelper eth; in TEST() local
2577 eth.Run([&]() { exit(putchar('B')); }, 66, "B"); in TEST()
Ddlext_test.cpp2077 ExecTestHelper eth; in TEST() local
2082 eth.SetArgs({ helper.c_str(), app_ns_dir.c_str(), nullptr }); in TEST()
2086 eth.SetEnv({ env.c_str(), nullptr }); in TEST()
2088 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, in TEST()
/bionic/libc/kernel/uapi/linux/
Dif_arcnet.h53 struct ethhdr eth; member