| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/test.def |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||||||||
| 2 | - | |||||||||||||
| 3 | - | |||||||||||||
| 4 | - | |||||||||||||
| 5 | - | |||||||||||||
| 6 | - | |||||||||||||
| 7 | - | |||||||||||||
| 8 | - | |||||||||||||
| 9 | - | |||||||||||||
| 10 | - | |||||||||||||
| 11 | - | |||||||||||||
| 12 | int | - | ||||||||||||
| 13 | test_builtin (list) | - | ||||||||||||
| 14 | WORD_LIST *list; | - | ||||||||||||
| 15 | { | - | ||||||||||||
| 16 | char **argv; | - | ||||||||||||
| 17 | int argc, result; | - | ||||||||||||
| 18 | - | |||||||||||||
| 19 | - | |||||||||||||
| 20 | - | |||||||||||||
| 21 | - | |||||||||||||
| 22 | if (list == 0
| 2-4357 | ||||||||||||
| 23 | { | - | ||||||||||||
| 24 | if (this_command_name[0] == '['
| 0-1 | ||||||||||||
| 25 | { | - | ||||||||||||
| 26 | builtin_error ( | - | ||||||||||||
| 27 | dcgettext (((void *)0), | - | ||||||||||||
| 28 | "missing `]'" | - | ||||||||||||
| 29 | , 5) | - | ||||||||||||
| 30 | ); | - | ||||||||||||
| 31 | return executed 1 time by 1 test: (2);return (2);Executed by:
executed 1 time by 1 test: return (2);Executed by:
| 1 | ||||||||||||
| 32 | } | - | ||||||||||||
| 33 | - | |||||||||||||
| 34 | return executed 1 time by 1 test: (1);return (1);Executed by:
executed 1 time by 1 test: return (1);Executed by:
| 1 | ||||||||||||
| 35 | } | - | ||||||||||||
| 36 | - | |||||||||||||
| 37 | argv = make_builtin_argv (list, &argc); | - | ||||||||||||
| 38 | result = test_command (argc, argv); | - | ||||||||||||
| 39 | sh_xfree(((char *)argv), "./test.def", 156); | - | ||||||||||||
| 40 | - | |||||||||||||
| 41 | return executed 4357 times by 1 test: (result);return (result);Executed by:
executed 4357 times by 1 test: return (result);Executed by:
| 4357 | ||||||||||||
| 42 | } | - | ||||||||||||
| Switch to Source code | Preprocessed file |