Skip to contentSkip to conversation

Various fixes for manpages.

PATCH In review Cristian Greco 2 participants 2 messages Jan 21, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Various fixes for manpages.

Hi,

please merge some small fixes for manpages (typos, outdated content and file permissions).

---
 doc/man1/ltp-pan.1           |    4 ++--
 doc/man3/parse_opts.3        |    4 +---
 doc/man3/tst_res.3           |    6 +++---
 doc/man3/usctest.3           |    5 ++---
 4 files changed, 8 insertions(+), 11 deletions(-)
 mode change 100755 => 100644 doc/man3/random_range.3
 mode change 100755 => 100644 doc/man3/random_range_seed.3
doc/man1/ltp-pan.1 +2 -2
index 16893ee..1359c78 100644
@@ -144,7 +144,7 @@ specified for \fI-x\fP then it is bumped up to be equal to the value of
 Indicates the length that ltp-pan should run tests. By default this is not set.  If specified, 
 the \fI-s\fP flag is automatically set to 0 (infinite).  Presumably, you want as many 
 tests ran during this timeframe. Duration is measured in \fIs\fPeconds, \fIm\fPinutes, 
-\fIh\Pours,OR \fId\Pays.
+\fIh\fPours, or \fId\fPays.
 .TP 1i
 \fB-x \fInactive\fB
 Indicates the number of commands (tags) that should be kept active at any one
@@ -198,7 +198,7 @@ printing the output as a human readable format, with the test output at /tmp/out
 and all failed test commands (if you have any) at /tmp/fail-command-file.
 
 $ ltp-pan -n stress -e -p -q -S -t 24h -a stress -l logfile -f command-file \
-		-o /tmp/output-file -C /tmp/fail-command-file
+-o /tmp/output-file -C /tmp/fail-command-file
 
 .SH LAYERING
 
doc/man3/parse_opts.3 +1 -3
index 525554a..abba0d5 100644
@@ -115,7 +115,7 @@ Run for \fIn\fR iterations. A value of 0 makes the test loop infinitely.
 The test will loop until \fIx\fR seconds have passed. (default 0.0)
 .TP
 .B \-p
-Pause for SIGUSR1 before testing. The test will pause were you place
+Pause for SIGUSR1 before testing. The test will pause where you place
 TEST_PAUSE.  \fIWarning\fR: The test will also fork at this point if \-c is
 used.  
 .TP
@@ -177,5 +177,3 @@ int main(int argc, char *argv[])
 .fi
 .SH "SEE ALSO"
 usctest(3), getopt(3).
-
-
doc/man3/random_range.3 +0 -0
old mode 100755
new mode 100644
doc/man3/random_range_seed.3 +0 -0
old mode 100755
new mode 100644
doc/man3/tst_res.3 +3 -3
index d1a1c50..03e8f24 100644
@@ -37,9 +37,9 @@ tst_res \- Print result message, including file contents
 .sp
 tst_resm \- Print result message
 .sp
-tst_brk \- Print result message and break remaining test cases
+tst_brk \- Print result message, including file contents, and break remaining test cases
 .sp
-tst_brkm \- Print result message, including file contents, and break remaining test cases
+tst_brkm \- Print result message and break remaining test cases
 .sp
 tst_flush \- Print any messages pending because of CONDENSE mode, and flush output stream
 .sp
@@ -74,7 +74,7 @@ extern int Tst_range;
 .SH DESCRIPTION
 .SS Introduction
 This library of functions are used by UNICOS tests to report results to
-standard out in a consistent manner.  It is assumed that tests using this
+standard output in a consistent manner.  It is assumed that tests using this
 library have a distinct number of test cases, and that each test case is
 distinct and uniquely identified by the test case number.  It is also assumed
 that test case results are printed in consecutive order, starting with 1.
doc/man3/usctest.3 +2 -3
index 8407803..d52968c 100644
@@ -114,8 +114,7 @@ The \fBparse_opts\fR routine parses the command line (see \fBparse_opts(3)\fR).
 variables used are set by the \fBparse_opts(3)\fR routine.
 
 .SH EXAMPLES
-Below is a partial template of a system call test using these routines, macros, and global variables.  A complete
-template may be found in the CUTS/sun/skel directory, in the file \fBusctest.c\fR.
+Below is a partial template of a system call test using these routines, macros, and global variables.
 
 .nf
 void
@@ -143,7 +142,7 @@ int main(ac, av)
 	setup();	/* execute setup */
 
 	/* parse options */
-	msg=parse_opts(ac, av, (option_t *)NULL);
+	msg=parse_opts(ac, av, (option_t *)NULL, NULL);
 
 	/* Check parse_opts return */
 
Signature · 18 lines
1.7.2.3


Thanks,
--
Cristian Greco
GPG key ID: 0xCF4D32E4

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#1 lore raw
Quoted 4 lines · Cristian Greco

Hi,

please merge some small fixes for manpages (typos, outdated content and file permissions).

Committed with date bumps -- thanks!
-Garrett

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list