Lines Matching refs:GetArgs
1345 ASSERT_EQ(-1, execve("/", eth.GetArgs(), eth.GetEnv())); in TEST()
1360 eth.Run([&]() { execve(BIN_DIR "echo", eth.GetArgs(), eth.GetEnv()); }, 0, "hello world\n"); in TEST()
1369 eth.Run([&]() { execve(BIN_DIR "printenv", eth.GetArgs(), eth.GetEnv()); }, 0, in TEST()
1407 ASSERT_EQ(-1, execv("/", eth.GetArgs())); in TEST()
1415 eth.Run([&]() { execv(BIN_DIR "echo", eth.GetArgs()); }, 0, "hello world\n"); in TEST()
1434 ASSERT_EQ(-1, execvp("/", eth.GetArgs())); in TEST()
1442 eth.Run([&]() { execvp("echo", eth.GetArgs()); }, 0, "hello world\n"); in TEST()
1448 ASSERT_EQ(-1, execvpe("this-does-not-exist", eth.GetArgs(), eth.GetEnv())); in TEST()
1459 eth.Run([&]() { execvpe("echo", eth.GetArgs(), eth.GetEnv()); }, 0, "hello world\n"); in TEST()
1468 eth.Run([&]() { execvpe("printenv", eth.GetArgs(), eth.GetEnv()); }, 0, expected_output.c_str()); in TEST()
1484 ASSERT_EQ(-1, execvpe(basename(tf.path), eth.GetArgs(), eth.GetEnv())); in TEST()
1492 ASSERT_EQ(-1, execvpe(basename(tf.path), eth.GetArgs(), eth.GetEnv())); in TEST()
1497 eth.Run([&]() { execvpe(basename(tf.path), eth.GetArgs(), eth.GetEnv()); }, 0, "script\n"); in TEST()
1501 eth.Run([&]() { execvpe(basename(tf.path), eth.GetArgs(), eth.GetEnv()); }, 0, "script\n"); in TEST()
1505 eth.Run([&]() { execvpe(tf.path, eth.GetArgs(), eth.GetEnv()); }, 0, "script\n"); in TEST()
1513 ASSERT_EQ(-1, execvp("/system/bin/does-not-exist", eth.GetArgs())); in TEST()
1530 ASSERT_EQ(-1, fexecve(fd, eth.GetArgs(), eth.GetEnv())); in TEST()
1538 ASSERT_EQ(-1, fexecve(-1, eth.GetArgs(), eth.GetEnv())); in TEST()
1548 eth.Run([&]() { fexecve(echo_fd, eth.GetArgs(), eth.GetEnv()); }, 0, "hello world\n"); in TEST()
1560 eth.Run([&]() { fexecve(printenv_fd, eth.GetArgs(), eth.GetEnv()); }, 0, expected_output.c_str()); in TEST()