Home
last modified time | relevance | path

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

/bionic/tests/
Ddl_test.cpp117 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()
136eth.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()
152eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, expected_output.c_str()… in TEST()
[all …]
Dunistd_test.cpp1347 ExecTestHelper eth; in TEST() local
1349 ASSERT_EQ(-1, execve("/", eth.GetArgs(), eth.GetEnv())); in TEST()
1357 ExecTestHelper eth; in TEST() local
1358 eth.SetArgs({"echo", "hello", "world", nullptr}); in TEST()
1359 eth.Run([&]() { execve(BIN_DIR "echo", eth.GetArgs(), eth.GetEnv()); }, 0, "hello world\n"); in TEST()
1362 eth.SetArgs({"printenv", nullptr}); in TEST()
1363 eth.SetEnv({"A=B", nullptr}); in TEST()
1364 eth.Run([&]() { execve(BIN_DIR "printenv", eth.GetArgs(), eth.GetEnv()); }, 0, "A=B\n"); in TEST()
1374 ExecTestHelper eth; in TEST() local
1376 eth.Run([&]() { execl(BIN_DIR "echo", "echo", "hello", "world", nullptr); }, 0, "hello world\n"); in TEST()
[all …]
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.cpp148 ExecTestHelper eth; in TEST() local
149 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
150 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
160 ExecTestHelper eth; in TEST() local
161 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
162 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
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()
Ddlext_test.cpp2078 ExecTestHelper eth; in TEST() local
2083 eth.SetArgs({ helper.c_str(), app_ns_dir.c_str(), nullptr }); in TEST()
2087 eth.SetEnv({ env.c_str(), nullptr }); in TEST()
2089 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, in TEST()
Dstdio_test.cpp2525 ExecTestHelper eth; in TEST() local
2526 eth.Run([&]() { errno = EINVAL; perror("a b c"); exit(0); }, 0, "a b c: Invalid argument\n"); in TEST()
2527 eth.Run([&]() { errno = EINVAL; perror(nullptr); exit(0); }, 0, "Invalid argument\n"); in TEST()
2528 eth.Run([&]() { errno = EINVAL; perror(""); exit(0); }, 0, "Invalid argument\n"); in TEST()
2532 ExecTestHelper eth; in TEST() local
2533 eth.Run([&]() { exit(puts("a b c")); }, 0, "a b c\n"); in TEST()
/bionic/libc/kernel/uapi/linux/
Dif_arcnet.h53 struct ethhdr eth; member