Lines Matching refs:argv

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