Lines Matching refs:argv

63     std::vector< std::string > argv;  in exec_process_helpers()  local
64 argv.push_back(get_process_helpers_path(tc, true).leaf_name()); in exec_process_helpers()
65 argv.push_back(helper_name); in exec_process_helpers()
68 atf::process::argv_array(argv), in exec_process_helpers()
87 atf::process::argv_array argv(carray); in ATF_TEST_CASE_BODY() local
89 ATF_REQUIRE_EQ(argv.size(), 0); in ATF_TEST_CASE_BODY()
94 atf::process::argv_array argv(carray); in ATF_TEST_CASE_BODY() local
96 ATF_REQUIRE_EQ(argv.size(), 1); in ATF_TEST_CASE_BODY()
97 ATF_REQUIRE(std::strcmp(argv[0], carray[0]) == 0); in ATF_TEST_CASE_BODY()
102 atf::process::argv_array argv(carray); in ATF_TEST_CASE_BODY() local
104 ATF_REQUIRE_EQ(argv.size(), 3); in ATF_TEST_CASE_BODY()
105 ATF_REQUIRE(std::strcmp(argv[0], carray[0]) == 0); in ATF_TEST_CASE_BODY()
106 ATF_REQUIRE(std::strcmp(argv[1], carray[1]) == 0); in ATF_TEST_CASE_BODY()
107 ATF_REQUIRE(std::strcmp(argv[2], carray[2]) == 0); in ATF_TEST_CASE_BODY()
121 atf::process::argv_array argv(col); in ATF_TEST_CASE_BODY() local
123 ATF_REQUIRE_EQ(argv.size(), 0); in ATF_TEST_CASE_BODY()
129 atf::process::argv_array argv(col); in ATF_TEST_CASE_BODY() local
131 ATF_REQUIRE_EQ(argv.size(), 1); in ATF_TEST_CASE_BODY()
132 ATF_REQUIRE_EQ(argv[0], col[0]); in ATF_TEST_CASE_BODY()
140 atf::process::argv_array argv(col); in ATF_TEST_CASE_BODY() local
142 ATF_REQUIRE_EQ(argv.size(), 3); in ATF_TEST_CASE_BODY()
143 ATF_REQUIRE_EQ(argv[0], col[0]); in ATF_TEST_CASE_BODY()
144 ATF_REQUIRE_EQ(argv[1], col[1]); in ATF_TEST_CASE_BODY()
145 ATF_REQUIRE_EQ(argv[2], col[2]); in ATF_TEST_CASE_BODY()
157 atf::process::argv_array argv; in ATF_TEST_CASE_BODY() local
159 ATF_REQUIRE_EQ(argv.size(), 0); in ATF_TEST_CASE_BODY()
171 atf::process::argv_array argv("arg0", NULL); in ATF_TEST_CASE_BODY() local
173 ATF_REQUIRE_EQ(argv.size(), 1); in ATF_TEST_CASE_BODY()
174 ATF_REQUIRE_EQ(argv[0], std::string("arg0")); in ATF_TEST_CASE_BODY()
178 atf::process::argv_array argv("arg0", "arg1", "arg2", NULL); in ATF_TEST_CASE_BODY() local
180 ATF_REQUIRE_EQ(argv.size(), 3); in ATF_TEST_CASE_BODY()
181 ATF_REQUIRE_EQ(argv[0], std::string("arg0")); in ATF_TEST_CASE_BODY()
182 ATF_REQUIRE_EQ(argv[1], std::string("arg1")); in ATF_TEST_CASE_BODY()
183 ATF_REQUIRE_EQ(argv[2], std::string("arg2")); in ATF_TEST_CASE_BODY()
257 argv_array argv; in ATF_TEST_CASE_BODY() local
258 const char* const* eargv = argv.exec_argv(); in ATF_TEST_CASE_BODY()
265 argv_array argv(carray); in ATF_TEST_CASE_BODY() local
266 const char* const* eargv = argv.exec_argv(); in ATF_TEST_CASE_BODY()
275 argv_array argv(col); in ATF_TEST_CASE_BODY() local
276 const char* const* eargv = argv.exec_argv(); in ATF_TEST_CASE_BODY()
297 argv_array argv(vector); in ATF_TEST_CASE_BODY() local
298 ATF_REQUIRE_EQ(argv.size(), 3); in ATF_TEST_CASE_BODY()
300 for (argv_array::const_iterator iter = argv.begin(); iter != argv.end(); in ATF_TEST_CASE_BODY()