Home
last modified time | relevance | path

Searched refs:BIN_DIR (Results 1 – 4 of 4) sorted by relevance

/bionic/tests/
Dutils.h57 #define BIN_DIR "/bin/" macro
59 #define BIN_DIR "/system/bin/" macro
Dunistd_test.cpp1440 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()
Dspawn_test.cpp195 eth.SetArgs({BIN_DIR "true", nullptr}); in TEST()
Dstdlib_test.cpp508 ASSERT_TRUE(android::base::WriteStringToFile("#!" BIN_DIR "sh\nexit 66\n", script)); in TEST()