Searched refs:BIN_DIR (Results 1 – 3 of 3) sorted by relevance
/bionic/tests/ |
D | utils.h | 54 #define BIN_DIR "/bin/" macro 56 #define BIN_DIR "/system/bin/" macro
|
D | unistd_test.cpp | 1359 eth.Run([&]() { execve(BIN_DIR "echo", eth.GetArgs(), eth.GetEnv()); }, 0, "hello world\n"); in TEST() 1364 eth.Run([&]() { execve(BIN_DIR "printenv", eth.GetArgs(), eth.GetEnv()); }, 0, "A=B\n"); in TEST() 1376 eth.Run([&]() { execl(BIN_DIR "echo", "echo", "hello", "world", nullptr); }, 0, "hello world\n"); in TEST() 1390 eth.Run([&]() { execle(BIN_DIR "printenv", "printenv", nullptr, eth.GetEnv()); }, 0, "A=B\n"); in TEST() 1404 eth.Run([&]() { execv(BIN_DIR "echo", eth.GetArgs()); }, 0, "hello world\n"); in TEST() 1459 ASSERT_TRUE(android::base::WriteStringToFile("#!" BIN_DIR "sh\necho script\n", tf.path)); in TEST() 1529 int echo_fd = open(BIN_DIR "echo", O_RDONLY | O_CLOEXEC); in TEST() 1537 int printenv_fd = open(BIN_DIR "printenv", O_RDONLY | O_CLOEXEC); in TEST()
|
D | spawn_test.cpp | 193 eth.SetArgs({BIN_DIR "true", nullptr}); in TEST()
|