Lines Matching refs:getopt
29 char *argv[] = {"./getopt", "-b"};
31 int result = getopt(argc, argv, optstring);
33 t_error("%s getopt get result is '%c' are not want 'b'\n", __func__, result);
46 char *argv[] = {"./getopt", "-a12345"};
48 int result = getopt(argc, argv, optstring);
50 t_error("%s getopt get result is %d are not want -1\n", __func__, result);
62 char *argv[] = {"./getopt", "-a"};
64 int result = getopt(argc, argv, optstring);
66 t_error("%s getopt get result is %d are not want -1\n", __func__, result);
79 char *argv[] = {"./getopt", "-f"};
81 int result = getopt(argc, argv, optstring);
83 t_error("%s getopt get result is %d are not want -1\n", __func__, result);
95 char *argv[] = {"./getopt", NULL};
97 int result = getopt(argc, argv, optstring);
99 t_error("%s getopt get result is %d are not want -1\n", __func__, result);
111 char *argv[] = {"./getopt", "-"};
113 int result = getopt(argc, argv, optstring);
115 t_error("%s getopt get result is %d are not want -1\n", __func__, result);
127 char *argv[] = {"./getopt", "b"};
129 int result = getopt(argc, argv, optstring);
131 t_error("%s getopt get result is %d are not want -1\n", __func__, result);
143 char *argv[] = {"./getopt", "-b"};
145 int result = getopt(argc, argv, optstring);
147 t_error("%s getopt get result is %d are not want -1\n", __func__, result);