Line | Source | Count |
1 | | - |
2 | | - |
3 | static struct option const longopts[] = | - |
4 | { | - |
5 | {"ignore-environment", | - |
6 | 0 | - |
7 | , | - |
8 | ((void *)0) | - |
9 | , 'i'}, | - |
10 | {"null", | - |
11 | 0 | - |
12 | , | - |
13 | ((void *)0) | - |
14 | , '0'}, | - |
15 | {"unset", | - |
16 | 1 | - |
17 | , | - |
18 | ((void *)0) | - |
19 | , 'u'}, | - |
20 | {"chdir", | - |
21 | 1 | - |
22 | , | - |
23 | ((void *)0) | - |
24 | , 'C'}, | - |
25 | {"help", | - |
26 | 0 | - |
27 | , | - |
28 | ((void *)0) | - |
29 | , GETOPT_HELP_CHAR}, | - |
30 | {"version", | - |
31 | 0 | - |
32 | , | - |
33 | ((void *)0) | - |
34 | , GETOPT_VERSION_CHAR}, | - |
35 | { | - |
36 | ((void *)0) | - |
37 | , 0, | - |
38 | ((void *)0) | - |
39 | , 0} | - |
40 | }; | - |
41 | | - |
42 | void | - |
43 | usage (int status) | - |
44 | { | - |
45 | if (status != TRUE | evaluated 21 times by 1 test | FALSE | evaluated 74 times by 1 test |
| 21-74 |
46 | 0TRUE | evaluated 21 times by 1 test | FALSE | evaluated 74 times by 1 test |
| 21-74 |
47 | ) | - |
48 | do { fprintf ( | - |
49 | stderr | - |
50 | , | - |
51 | dcgettext (((void *)0), | - |
52 | "Try '%s --help' for more information.\n" | - |
53 | , 5) | - |
54 | , program_name); }executed 21 times by 1 test: end of block while (0); | 21 |
55 | else | - |
56 | { | - |
57 | printf ( | - |
58 | dcgettext (((void *)0), | - |
59 | "Usage: %s [OPTION]... [-] [NAME=VALUE]... [COMMAND [ARG]...]\n" | - |
60 | , 5) | - |
61 | | - |
62 | , | - |
63 | program_name); | - |
64 | fputs_unlocked ( | - |
65 | dcgettext (((void *)0), | - |
66 | "Set each NAME to VALUE in the environment and run COMMAND.\n" | - |
67 | , 5) | - |
68 | , | - |
69 | stdout | - |
70 | ) | - |
71 | | - |
72 | ; | - |
73 | | - |
74 | emit_mandatory_arg_note (); | - |
75 | | - |
76 | fputs_unlocked ( | - |
77 | dcgettext (((void *)0), | - |
78 | " -i, --ignore-environment start with an empty environment\n -0, --null end each output line with NUL, not newline\n -u, --unset=NAME remove variable from the environment\n" | - |
79 | , 5) | - |
80 | , | - |
81 | stdout | - |
82 | ) | - |
83 | | - |
84 | | - |
85 | | - |
86 | ; | - |
87 | fputs_unlocked ( | - |
88 | dcgettext (((void *)0), | - |
89 | " -C, --chdir=DIR change working directory to DIR\n" | - |
90 | , 5) | - |
91 | , | - |
92 | stdout | - |
93 | ) | - |
94 | | - |
95 | ; | - |
96 | fputs_unlocked ( | - |
97 | dcgettext (((void *)0), | - |
98 | " --help display this help and exit\n" | - |
99 | , 5) | - |
100 | , | - |
101 | stdout | - |
102 | ); | - |
103 | fputs_unlocked ( | - |
104 | dcgettext (((void *)0), | - |
105 | " --version output version information and exit\n" | - |
106 | , 5) | - |
107 | , | - |
108 | stdout | - |
109 | ); | - |
110 | fputs_unlocked ( | - |
111 | dcgettext (((void *)0), | - |
112 | "\nA mere - implies -i. If no COMMAND, print the resulting environment.\n" | - |
113 | , 5) | - |
114 | , | - |
115 | stdout | - |
116 | ) | - |
117 | | - |
118 | | - |
119 | ; | - |
120 | emit_ancillary_info ("env"); | - |
121 | }executed 74 times by 1 test: end of block | 74 |
122 | exit (status);executed 95 times by 1 test: exit (status); | 95 |
123 | } | - |
124 | | - |
125 | int | - |
126 | main (int argc, char **argv) | - |
127 | { | - |
128 | int optc; | - |
129 | | - |
130 | _Bool | - |
131 | ignore_environment = | - |
132 | 0 | - |
133 | ; | - |
134 | | - |
135 | _Bool | - |
136 | opt_nul_terminate_output = | - |
137 | 0 | - |
138 | ; | - |
139 | char const *newdir = | - |
140 | ((void *)0) | - |
141 | ; | - |
142 | | - |
143 | ; | - |
144 | set_program_name (argv[0]); | - |
145 | setlocale ( | - |
146 | 6 | - |
147 | , ""); | - |
148 | bindtextdomain ("coreutils", "/usr/local/share/locale"); | - |
149 | textdomain ("coreutils"); | - |
150 | | - |
151 | initialize_exit_failure (EXIT_CANCELED); | - |
152 | atexit (close_stdout); | - |
153 | | - |
154 | while ((TRUE | evaluated 177 times by 1 test | FALSE | evaluated 25 times by 1 test |
optc = getopt_long (argc, argv, "+C:iu:0", longopts, TRUE | evaluated 177 times by 1 test | FALSE | evaluated 25 times by 1 test |
| 25-177 |
155 | ((void *)0)TRUE | evaluated 177 times by 1 test | FALSE | evaluated 25 times by 1 test |
| 25-177 |
156 | )) != -1TRUE | evaluated 177 times by 1 test | FALSE | evaluated 25 times by 1 test |
) | 25-177 |
157 | { | - |
158 | switch (optc) | - |
159 | { | - |
160 | caseexecuted 20 times by 1 test: case 'i': 'i':executed 20 times by 1 test: case 'i': | 20 |
161 | ignore_environment = | - |
162 | 1 | - |
163 | ; | - |
164 | break;executed 20 times by 1 test: break; | 20 |
165 | caseexecuted 21 times by 1 test: case 'u': 'u':executed 21 times by 1 test: case 'u': | 21 |
166 | break;executed 21 times by 1 test: break; | 21 |
167 | caseexecuted 20 times by 1 test: case '0': '0':executed 20 times by 1 test: case '0': | 20 |
168 | opt_nul_terminate_output = | - |
169 | 1 | - |
170 | ; | - |
171 | break;executed 20 times by 1 test: break; | 20 |
172 | caseexecuted 18 times by 1 test: case 'C': 'C':executed 18 times by 1 test: case 'C': | 18 |
173 | newdir = optarg; | - |
174 | break;executed 18 times by 1 test: break; | 18 |
175 | caseexecuted 74 times by 1 test: case GETOPT_HELP_CHAR: GETOPT_HELP_CHAR:executed 74 times by 1 test: case GETOPT_HELP_CHAR: usage ( | 74 |
176 | 0 | - |
177 | ); break; never executed: break; ; | 0 |
178 | caseexecuted 5 times by 1 test: case GETOPT_VERSION_CHAR: GETOPT_VERSION_CHAR:executed 5 times by 1 test: case GETOPT_VERSION_CHAR: version_etc ( | 5 |
179 | stdout | - |
180 | , "env", "GNU coreutils", Version, ("Richard Mlynarik"), ("David MacKenzie"), (char *) | - |
181 | ((void *)0) | - |
182 | ); exit (executed 5 times by 1 test: exit ( 0 ); | 5 |
183 | 0executed 5 times by 1 test: exit ( 0 ); | 5 |
184 | );executed 5 times by 1 test: exit ( 0 ); break;never executed: break; ; | 0-5 |
185 | defaultexecuted 19 times by 1 test: default: :executed 19 times by 1 test: default: | 19 |
186 | usage (EXIT_CANCELED); | - |
187 | } never executed: end of block | 0 |
188 | } | - |
189 | | - |
190 | if (optind < argcTRUE | evaluated 14 times by 1 test | FALSE | evaluated 11 times by 1 test |
&& (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-14 |
191 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
192 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
193 | ) && __builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
194 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
195 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
196 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
197 | ), __s2_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
198 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
199 | ), (!((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
200 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
201 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
202 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
203 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
204 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
205 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
206 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
207 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
208 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
209 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
210 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
211 | ) : (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
212 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
213 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
214 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
215 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
216 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
217 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
218 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
219 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
220 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
221 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
222 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
223 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
224 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
225 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
226 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
227 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
228 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
229 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
230 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
231 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
232 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
233 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 0-13 |
234 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
235 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 0-13 |
236 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
237 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( argv[optind] ))[3] - __s2[3]); TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 0-13 |
238 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( argv[optind] ))[3] - __s2[3]); | 0-13 |
239 | ))[3] - __s2[3]);TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( argv[optind] ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 0-13 |
240 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
241 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
242 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
243 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
244 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
245 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
246 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
247 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
248 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
249 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
250 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
251 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
252 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
253 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
254 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
255 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
256 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
257 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
258 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
259 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
260 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
261 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | evaluated 14 times by 1 test | FALSE | never evaluated |
&& __result == 0TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 0-14 |
262 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
263 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 0-13 |
264 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
265 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 0-13 |
266 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | 0-13 |
267 | ))[3] - __s2[3]);TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); }never executed: end of block } __result; }))) : __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 0-13 |
268 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
269 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
270 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
271 | )))); }) TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
| 1-13 |
272 | == 0)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 13 times by 1 test |
) | 1-13 |
273 | ignore_environment = executed 1 time by 1 test: ignore_environment = 1 ; | 1 |
274 | 1executed 1 time by 1 test: ignore_environment = 1 ; | 1 |
275 | ;executed 1 time by 1 test: ignore_environment = 1 ; | 1 |
276 | | - |
277 | if (ignore_environmentTRUE | evaluated 5 times by 1 test | FALSE | evaluated 20 times by 1 test |
) | 5-20 |
278 | { | - |
279 | static char *dummy_environ[] = { | - |
280 | ((void *)0) | - |
281 | }; | - |
282 | environ = dummy_environ; | - |
283 | }executed 5 times by 1 test: end of block | 5 |
284 | | - |
285 | optind = 0; | - |
286 | while ((TRUE | evaluated 15 times by 1 test | FALSE | evaluated 23 times by 1 test |
optc = getopt_long (argc, argv, "+C:iu:0", longopts, TRUE | evaluated 15 times by 1 test | FALSE | evaluated 23 times by 1 test |
| 15-23 |
287 | ((void *)0)TRUE | evaluated 15 times by 1 test | FALSE | evaluated 23 times by 1 test |
| 15-23 |
288 | )) != -1TRUE | evaluated 15 times by 1 test | FALSE | evaluated 23 times by 1 test |
) | 15-23 |
289 | if (optc == 'u'TRUE | evaluated 5 times by 1 test | FALSE | evaluated 10 times by 1 test |
&& unsetenv (optarg)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 3 times by 1 test |
) | 2-10 |
290 | ((executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); !!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (EXIT_CANCELED, executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 2 |
291 | (*__errno_location ())executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 2 |
292 | , executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 2 |
293 | dcgettext (((void *)0), executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 2 |
294 | "cannot unset %s"executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 2 |
295 | , 5)executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 2 |
296 | , quote (optarg)), ((executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 2 |
297 | 0executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 2 |
298 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 2 |
299 | (*__errno_location ())executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 2 |
300 | , executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 2 |
301 | dcgettext (((void *)0), executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 2 |
302 | "cannot unset %s"executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 2 |
303 | , 5)executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 2 |
304 | , quote (optarg)), ((executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 2 |
305 | 0executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 2 |
306 | ) ? (void) 0 : __builtin_unreachable ()))));executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot unset %s\", 5), quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ...cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot unset %s" , 5) , quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))); | 2 |
307 | | - |
308 | if (optind < argcTRUE | evaluated 12 times by 1 test | FALSE | evaluated 11 times by 1 test |
&& (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-12 |
309 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
310 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
311 | ) && __builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
312 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
313 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
314 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
315 | ), __s2_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
316 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
317 | ), (!((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
318 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
319 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
320 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
321 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
322 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
323 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
324 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
325 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
326 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
327 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
328 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
329 | ) : (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
330 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
331 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
332 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
333 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
334 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
335 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
336 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
337 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
338 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
339 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
340 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
341 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
342 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
343 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
344 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
345 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
346 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
347 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
348 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
349 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
350 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
351 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 0-11 |
352 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
353 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 0-11 |
354 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
355 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( argv[optind] ))[3] - __s2[3]); TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 0-11 |
356 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( argv[optind] ))[3] - __s2[3]); | 0-11 |
357 | ))[3] - __s2[3]);TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( argv[optind] ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 0-11 |
358 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
359 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
360 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
361 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
362 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
363 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
364 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
365 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
366 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
367 | ) && ((size_t)(const void *)((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
368 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
369 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
370 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
371 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
372 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
373 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
374 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
375 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
376 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
377 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
378 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
379 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
&& __result == 0TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 0-12 |
380 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
381 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 0-11 |
382 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
383 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 0-11 |
384 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); | 0-11 |
385 | ))[3] - __s2[3]);TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]); }never executed: end of block } __result; }))) : __builtin_strcmp (TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 0-11 |
386 | argv[optind]TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
387 | , TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
388 | "-"TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
389 | )))); }) TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
| 1-11 |
390 | == 0)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 11 times by 1 test |
) | 1-11 |
391 | ++executed 1 time by 1 test: ++optind; optind;executed 1 time by 1 test: ++optind; | 1 |
392 | | - |
393 | char *eq; | - |
394 | while (optind < argcTRUE | evaluated 12 times by 1 test | FALSE | evaluated 17 times by 1 test |
&& (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
eq = TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 6-17 |
395 | (__extension__ (__builtin_constant_p (TRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 0-12 |
396 | '='TRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 0-12 |
397 | )TRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
&& !__builtin_constant_p (TRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 0-12 |
398 | argv[optind]TRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 0-12 |
399 | )TRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 0-12 |
400 | '='TRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 0-12 |
401 | ) == '\0'TRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
? (char *) __rawmemchr (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 0-12 |
402 | argv[optind]TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 6 |
403 | , TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 6 |
404 | '='TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 6 |
405 | ) : __builtin_strchr (TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 6 |
406 | argv[optind]TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 6 |
407 | , TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 6 |
408 | '='TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 6 |
409 | )))TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
| 6 |
410 | )TRUE | evaluated 6 times by 1 test | FALSE | evaluated 6 times by 1 test |
) | 6 |
411 | { | - |
412 | if (putenv (argv[optind])TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
) | 0-6 |
413 | { | - |
414 | *eq = '\0'; | - |
415 | ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot set %s\", 5), quote (argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error (EXIT_CANCELED, | - |
416 | (*__errno_location ()) | - |
417 | , | - |
418 | dcgettext (((void *)0), | - |
419 | "cannot set %s" | - |
420 | , 5) | - |
421 | , quote (argv[optind])), (( | - |
422 | 0 | - |
423 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, | - |
424 | (*__errno_location ()) | - |
425 | , | - |
426 | dcgettext (((void *)0), | - |
427 | "cannot set %s" | - |
428 | , 5) | - |
429 | , quote (argv[optind])), (( | - |
430 | 0 | - |
431 | ) ? (void) 0 : __builtin_unreachable ())))) | - |
432 | ; | - |
433 | } never executed: end of block | 0 |
434 | optind++; | - |
435 | }executed 6 times by 1 test: end of block | 6 |
436 | | - |
437 | | - |
438 | _Bool | - |
439 | program_specified = optind < argc; | - |
440 | | - |
441 | if (opt_nul_terminate_outputTRUE | evaluated 4 times by 1 test | FALSE | evaluated 19 times by 1 test |
&& program_specifiedTRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
) | 1-19 |
442 | { | - |
443 | error (0, 0, | - |
444 | dcgettext (((void *)0), | - |
445 | "cannot specify --null (-0) with command" | - |
446 | , 5) | - |
447 | ); | - |
448 | usage (EXIT_CANCELED); | - |
449 | } never executed: end of block | 0 |
450 | | - |
451 | if (newdirTRUE | evaluated 2 times by 1 test | FALSE | evaluated 20 times by 1 test |
&& ! program_specifiedTRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
) | 1-20 |
452 | { | - |
453 | error (0, 0, | - |
454 | dcgettext (((void *)0), | - |
455 | "must specify command with --chdir (-C)" | - |
456 | , 5) | - |
457 | ); | - |
458 | usage (EXIT_CANCELED); | - |
459 | } never executed: end of block | 0 |
460 | | - |
461 | if (! program_specifiedTRUE | evaluated 16 times by 1 test | FALSE | evaluated 5 times by 1 test |
) | 5-16 |
462 | { | - |
463 | | - |
464 | char *const *e = environ; | - |
465 | while (*TRUE | evaluated 568 times by 1 test | FALSE | evaluated 16 times by 1 test |
eTRUE | evaluated 568 times by 1 test | FALSE | evaluated 16 times by 1 test |
) | 16-568 |
466 | printf ("%s%c", *e++, opt_nul_terminate_output ? '\0' : '\n');executed 568 times by 1 test: printf ("%s%c", *e++, opt_nul_terminate_output ? '\0' : '\n'); | 568 |
467 | returnexecuted 16 times by 1 test: return 0 ; executed 16 times by 1 test: return 0 ; | 16 |
468 | 0executed 16 times by 1 test: return 0 ; | 16 |
469 | ;executed 16 times by 1 test: return 0 ; | 16 |
470 | } | - |
471 | | - |
472 | if (newdirTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 1 test |
) | 1-4 |
473 | { | - |
474 | if (chdir (newdir) != 0TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) | 0-1 |
475 | ((executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; !!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newdir)), assume (false))" ")"); int _gl_dummy; })) ? ((error (EXIT_CANCELED, executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
476 | (*__errno_location ())executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
477 | , executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
478 | dcgettext (((void *)0), executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
479 | "cannot change directory to %s"executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
480 | , 5)executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
481 | , quotearg_style (shell_escape_always_quoting_style, newdir)), ((executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
482 | 0executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
483 | ) ? (void) 0 : __builtin_unreachable ()))) : ((error (EXIT_CANCELED, executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
484 | (*__errno_location ())executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
485 | , executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
486 | dcgettext (((void *)0), executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
487 | "cannot change directory to %s"executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
488 | , 5)executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
489 | , quotearg_style (shell_escape_always_quoting_style, newdir)), ((executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
490 | 0executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
491 | ) ? (void) 0 : __builtin_unreachable ()))))executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
492 | ;executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert (EXIT_CANCELED, "verify_expr (" "EXIT_CANCELED" ", " "(error (EXIT_CANCELED, (*__errno_location ()), dcgettext (((void *)0), \"cannot change directory to %s\", 5), quotearg_style (shell_escape_always_quoting_style, newd...: __builtin_unreachable ()))) : ((error (EXIT_CANCELED, (*__errno_location ()) , dcgettext (((void *)0), "cannot change directory to %s" , 5) , quotearg_style (shell_escape_always_quoting_style, newdir)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ; | 1 |
493 | } never executed: end of block | 0 |
494 | | - |
495 | execvp (argv[optind], &argv[optind]); | - |
496 | | - |
497 | int exit_status = | - |
498 | (*TRUE | evaluated 3 times by 1 test | FALSE | evaluated 1 time by 1 test |
__errno_location ()) TRUE | evaluated 3 times by 1 test | FALSE | evaluated 1 time by 1 test |
| 1-3 |
499 | == TRUE | evaluated 3 times by 1 test | FALSE | evaluated 1 time by 1 test |
| 1-3 |
500 | 2TRUE | evaluated 3 times by 1 test | FALSE | evaluated 1 time by 1 test |
| 1-3 |
501 | ? EXIT_ENOENT : EXIT_CANNOT_INVOKE; | - |
502 | error (0, | - |
503 | (*__errno_location ()) | - |
504 | , "%s", quote (argv[optind])); | - |
505 | returnexecuted 4 times by 1 test: return exit_status; exit_status;executed 4 times by 1 test: return exit_status; | 4 |
506 | } | - |
| | |