Searched refs:BIN_DIR (Results 1 – 3 of 3) sorted by relevance
/bionic/tests/ |
D | utils.h | 44 #define BIN_DIR "/bin/" macro 46 #define BIN_DIR "/system/bin/" macro
|
D | unistd_test.cpp | 1284 eth.Run([&]() { execve(BIN_DIR "echo", eth.GetArgs(), eth.GetEnv()); }, 0, "hello world\n"); in TEST() 1289 eth.Run([&]() { execve(BIN_DIR "printenv", eth.GetArgs(), eth.GetEnv()); }, 0, "A=B\n"); in TEST() 1301 eth.Run([&]() { execl(BIN_DIR "echo", "echo", "hello", "world", nullptr); }, 0, "hello world\n"); in TEST() 1315 eth.Run([&]() { execle(BIN_DIR "printenv", "printenv", nullptr, eth.GetEnv()); }, 0, "A=B\n"); in TEST() 1329 eth.Run([&]() { execv(BIN_DIR "echo", eth.GetArgs()); }, 0, "hello world\n"); in TEST() 1384 ASSERT_TRUE(android::base::WriteStringToFile("#!" BIN_DIR "sh\necho script\n", tf.path)); in TEST() 1454 int echo_fd = open(BIN_DIR "echo", O_RDONLY | O_CLOEXEC); in TEST() 1462 int printenv_fd = open(BIN_DIR "printenv", O_RDONLY | O_CLOEXEC); in TEST()
|
D | spawn_test.cpp | 191 eth.SetArgs({BIN_DIR "true", nullptr}); in TEST()
|