Searched refs:BIN_DIR (Results 1 – 4 of 4) sorted by relevance
/bionic/tests/ |
D | utils.h | 57 #define BIN_DIR "/bin/" macro 59 #define BIN_DIR "/system/bin/" macro
|
D | unistd_test.cpp | 1440 eth.Run([&]() { execve(BIN_DIR "echo", eth.GetArgs(), eth.GetEnv()); }, 0, "hello world\n"); in TEST() 1449 eth.Run([&]() { execve(BIN_DIR "printenv", eth.GetArgs(), eth.GetEnv()); }, 0, in TEST() 1462 eth.Run([&]() { execl(BIN_DIR "echo", "echo", "hello", "world", nullptr); }, 0, "hello world\n"); in TEST() 1480 eth.Run([&]() { execle(BIN_DIR "printenv", "printenv", nullptr, eth.GetEnv()); }, 0, in TEST() 1495 eth.Run([&]() { execv(BIN_DIR "echo", eth.GetArgs()); }, 0, "hello world\n"); in TEST() 1554 ASSERT_TRUE(android::base::WriteStringToFile("#!" BIN_DIR "sh\necho script\n", tf.path)); in TEST() 1634 int echo_fd = open(BIN_DIR "echo", O_RDONLY | O_CLOEXEC); in TEST() 1642 int printenv_fd = open(BIN_DIR "printenv", O_RDONLY | O_CLOEXEC); in TEST()
|
D | spawn_test.cpp | 195 eth.SetArgs({BIN_DIR "true", nullptr}); in TEST()
|
D | stdlib_test.cpp | 508 ASSERT_TRUE(android::base::WriteStringToFile("#!" BIN_DIR "sh\nexit 66\n", script)); in TEST()
|