OpenCoverage

colon.def

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/bash/src/builtins/colon.def
Source codeSwitch to Preprocessed file
LineSourceCount
1This file is colon.def, from which is created colon.c.-
2It implements the builtin ":" in Bash.-
3-
4Copyright (C) 1987-2009 Free Software Foundation, Inc.-
5-
6This file is part of GNU Bash, the Bourne Again SHell.-
7-
8Bash is free software: you can redistribute it and/or modify-
9it under the terms of the GNU General Public License as published by-
10the Free Software Foundation, either version 3 of the License, or-
11(at your option) any later version.-
12-
13Bash is distributed in the hope that it will be useful,-
14but WITHOUT ANY WARRANTY; without even the implied warranty of-
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-
16GNU General Public License for more details.-
17-
18You should have received a copy of the GNU General Public License-
19along with Bash. If not, see <http://www.gnu.org/licenses/>.-
20-
21$PRODUCES colon.c-
22-
23$BUILTIN :-
24$DOCNAME colon-
25$FUNCTION colon_builtin-
26$SHORT_DOC :-
27Null command.-
28-
29No effect; the command does nothing.-
30-
31Exit Status:-
32Always succeeds.-
33$END-
34-
35$BUILTIN true-
36$FUNCTION colon_builtin-
37$SHORT_DOC true-
38Return a successful result.-
39-
40Exit Status:-
41Always succeeds.-
42$END-
43-
44$BUILTIN false-
45$FUNCTION false_builtin-
46$SHORT_DOC false-
47Return an unsuccessful result.-
48-
49Exit Status:-
50Always fails.-
51$END-
52-
53/* Return a successful result. */-
54int-
55colon_builtin (ignore)-
56 char *ignore;-
57{-
58 return (0);
executed 11848883 times by 1 test: return (0);
Executed by:
  • Self test
11848883
59}-
60-
61/* Return an unsuccessful result. */-
62int-
63false_builtin (ignore)-
64 char *ignore;-
65{-
66 return (1);
executed 186 times by 1 test: return (1);
Executed by:
  • Self test
186
67}-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.1.2