-
Notifications
You must be signed in to change notification settings - Fork 6
/
shcov.1
34 lines (34 loc) · 1.23 KB
/
shcov.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.TH SHCOV 1 "February 26, 2015"
.SH NAME
shcov - collect execution coverage information for shell scripts
.SH DESCRIPTION
.PP
shcov collects coverage data for bourne shell and bash scripts similar to gcov
for C/C++ programs. It is used together with the
.I shlcov
tool to create HTML output of coverage information.
.SH SYNOPSIS
\fBshcov [--output=where] [--shell=shell] script ...\fR
.TP
\fB\--output=\fR \fIwhere\fR
Place output in \fIwhere\fR instead of the default. By default, \fIshcov\fR
will read the POSIX \fITMPDIR\fR environment variable for the path of the
temporary directory, before defaulting to \fI/tmp\fR. This path is then used
as a prefix to the data directory, i.e. \fI/tmp/shcov\fR.
.PP
.TP
\fB\--shell=\fR \fIwhat\fR
Use shell command line \fIwhat\fR instead of \fIbash -x\fR
.PP
.SH ENVIRONMENT
\fBSHCOV_DATADIR\fR
This can be used instead of or in conjunction with the \fI\--output\fR option.
If the \fI\--output\fR option is set, this will override the \fISHCOV_DATADIR\fR
setting. This is useful for setting the path globally, such as within a build
chroot or on a build machine.
.SH HOMEPAGE
http://shcov.googlecode.com
.SH SEE ALSO
.BR shlcov (1)
.SH AUTHOR
This manual page was written by Simon Kagstrom <[email protected]>