Remove whitespace at end of line
This is a scripted change done using the following command:
find . -type d -name .git -prune -o \
-type f \! -name \*\~ \! -name .\#\* \
\! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \
xargs -0 sed -i -e 's/[\t ]*$//'
Signed-off-by: Chris Dearman <chris@mips.com>
diff --git a/doc/automation-README.html b/doc/automation-README.html
index 6357d58..865bce3 100644
--- a/doc/automation-README.html
+++ b/doc/automation-README.html
@@ -1,101 +1,101 @@
<html>
<head>
<title>autoltp readme</title>
-
+
</head>
<body bgcolor="#ffffff" vlink="#800000">
-
+
<div align="center"><big><big><big><b>LTP Automation README<br>
using autoltp</b></big></big></big></div>
<br>
<br>
- <big><big><b>Prerequisites</b></big></big>
+ <big><big><b>Prerequisites</b></big></big>
<ul>
<li>All LTP installation prerequisites must be met<br>
</li>
<li>Perl modules Net::SFTP and Net::SSH::Perl <b>must</b> be <a
- href="http://www.cpan.org/misc/cpan-faq.html#How_install_Perl_modules">installed</a>
+ href="http://www.cpan.org/misc/cpan-faq.html#How_install_Perl_modules">installed</a>
on MASTER machine. (<a href="http://www.cpan.org/">www.cpan.org</a> for instructions/downloads)</li>
<li>MASTER and TARGET machines must have sftp and ssh capabilities.<br>
</li>
- <li>IP addresses may replace hostnames in this document if name service
+ <li>IP addresses may replace hostnames in this document if name service
is unavailable.<br>
</li>
-
+
</ul>
- <big><big><b>Install files</b></big></big>
+ <big><big><b>Install files</b></big></big>
<ul>
- <li>Go to <a href="http://ltp.sf.net/" target="_top">http://ltp.sf.net</a>
+ <li>Go to <a href="http://ltp.sf.net/" target="_top">http://ltp.sf.net</a>
-> Downloads -> Download latest version of LTP</li>
<li>Login as root on MASTER machine</li>
<li>Untar ltp-xxxxxxxx.tgz in /root</li>
-
+
<ul>
<li>tar -xzvf <filename.tgz></li>
- <li>mv ltp-<yyyymmdd>.tgz ltp <i>(<yyyymmdd> should be replaced
+ <li>mv ltp-<yyyymmdd>.tgz ltp <i>(<yyyymmdd> should be replaced
with the drop date you are using</i></li>
-
+
</ul>
-
+
</ul>
- <big><big><b>Setup/Edit config files</b></big></big>
+ <big><big><b>Setup/Edit config files</b></big></big>
<ul>
-
+
<ul>
-
+
</ul>
-
+
</ul>
-
+
<ul>
-
+
<ul>
-
+
</ul>
-
+
</ul>
-
+
<ul>
<li>edit runalltests.sh and modify the run line to include the PAN_LOG
options:</li>
-
+
<ul>
<li>ex: <i>${LTPROOT}/pan/ltp-pan -l $PAN_LOG -e -S $instances $time -a
$$ -n $$ -f ${TMP}/alltests</i></li>
-
+
</ul>
- <li>tar up the ltp directory (<i>this is the ltp.tgz that is copied to
+ <li>tar up the ltp directory (<i>this is the ltp.tgz that is copied to
the TARGET machines</i>)</li>
-
+
<ul>
- <li>in the root directory of MASTER type tar -czvf ltp.tgz to tar up
+ <li>in the root directory of MASTER type tar -czvf ltp.tgz to tar up
the testcases</li>
- <li>copy the resulting ltp.tgz to /tmp on MASTER (<i>autoltp will look
+ <li>copy the resulting ltp.tgz to /tmp on MASTER (<i>autoltp will look
for /ltp.tgz in the tmp directory</i>)<br>
</li>
-
+
</ul>
-
+
<ul>
-
+
</ul>
-
+
</ul>
-
+
<ul>
-
+
<ul>
-
+
</ul>
-
+
</ul>
<big><big><b>Run LTP</b></big></big><br>
-
+
<ul>
<li>cd to /root/ltp/auto on MASTER</li>
<li>create a config file that contains the list of hosts (TARGETS) to
run LTP against</li>
-
+
<ul>
<li>example config file:<br>
host1,username,password,number of instances,time<br>
@@ -113,8 +113,8 @@
</li>
</ul>
<ul>
-
+
</ul>
-
+
</body>
</html>
diff --git a/doc/automation-cookbook.html b/doc/automation-cookbook.html
index 38928af..0ce2f3d 100644
--- a/doc/automation-cookbook.html
+++ b/doc/automation-cookbook.html
@@ -1,101 +1,101 @@
<html>
<head>
<title>autoltp cookbook</title>
-
+
</head>
<body bgcolor="#ffffff" vlink="#800000">
-
+
<div align="center"><big><big><big><b>LTP Automation<br>
using autoltp</b></big></big></big></div>
<br>
<br>
- <big><big><b>Prerequisites</b></big></big>
+ <big><big><b>Prerequisites</b></big></big>
<ul>
<li>All LTP installation prerequisites must be met<br>
</li>
<li>Perl modules Net::SFTP and Net::SSH::Perl <b>must</b> be <a
- href="http://www.cpan.org/misc/cpan-faq.html#How_install_Perl_modules">installed</a>
+ href="http://www.cpan.org/misc/cpan-faq.html#How_install_Perl_modules">installed</a>
on MASTER machine. (<a href="http://www.cpan.org/">www.cpan.org</a> for instructions/downloads)</li>
<li>MASTER and TARGET machines must have sftp and ssh capabilities.<br>
</li>
- <li>IP addresses may replace hostnames in this document if name service
+ <li>IP addresses may replace hostnames in this document if name service
is unavailable.<br>
</li>
-
+
</ul>
- <big><big><b>Install files</b></big></big>
+ <big><big><b>Install files</b></big></big>
<ul>
- <li>Go to <a href="http://ltp.sf.net/" target="_top">http://ltp.sf.net</a>
+ <li>Go to <a href="http://ltp.sf.net/" target="_top">http://ltp.sf.net</a>
-> Downloads -> Download latest version of LTP</li>
<li>Login as root on MASTER machine</li>
<li>Untar ltp-xxxxxxxx.tgz in /root</li>
-
+
<ul>
<li>tar -xzvf <filename.tgz></li>
- <li>mv ltp-<yyyymmdd>.tgz ltp <i>(<yyyymmdd> should be replaced
+ <li>mv ltp-<yyyymmdd>.tgz ltp <i>(<yyyymmdd> should be replaced
with the drop date you are using</i></li>
-
+
</ul>
-
+
</ul>
- <big><big><b>Setup/Edit config files</b></big></big>
+ <big><big><b>Setup/Edit config files</b></big></big>
<ul>
-
+
<ul>
-
+
</ul>
-
+
</ul>
-
+
<ul>
-
+
<ul>
-
+
</ul>
-
+
</ul>
-
+
<ul>
<li>edit runalltests.sh and modify the run line to include the PAN_LOG
options:</li>
-
+
<ul>
<li>ex: <i>${LTPROOT}/pan/ltp-pan -l $PAN_LOG -e -S $instances $time -a
$$ -n $$ -f ${TMP}/alltests</i></li>
-
+
</ul>
- <li>tar up the ltp directory (<i>this is the ltp.tgz that is copied to
+ <li>tar up the ltp directory (<i>this is the ltp.tgz that is copied to
the TARGET machines</i>)</li>
-
+
<ul>
- <li>in the root directory of MASTER type tar -czvf ltp.tgz to tar up
+ <li>in the root directory of MASTER type tar -czvf ltp.tgz to tar up
the testcases</li>
- <li>copy the resulting ltp.tgz to /tmp on MASTER (<i>autoltp will look
+ <li>copy the resulting ltp.tgz to /tmp on MASTER (<i>autoltp will look
for /ltp.tgz in the tmp directory</i>)<br>
</li>
-
+
</ul>
-
+
<ul>
-
+
</ul>
-
+
</ul>
-
+
<ul>
-
+
<ul>
-
+
</ul>
-
+
</ul>
<big><big><b>Run LTP</b></big></big><br>
-
+
<ul>
<li>cd to /root/ltp/auto on MASTER</li>
<li>create a config file that contains the list of hosts (TARGETS) to
run LTP against</li>
-
+
<ul>
<li>example config file:<br>
host1,username,password,number of instances,time<br>
@@ -113,8 +113,8 @@
</li>
</ul>
<ul>
-
+
</ul>
-
+
</body>
</html>
diff --git a/doc/build-system-guide.txt b/doc/build-system-guide.txt
index 224161d..ea9966e 100644
--- a/doc/build-system-guide.txt
+++ b/doc/build-system-guide.txt
@@ -6,7 +6,7 @@
the new and improved Makefile system.
Changelog:
-
+
* Initial version: Garrett Cooper <yanegomi@gmail.com>
* Reformated for asciidoc: Cyril Hrubis <chrubis@suse.cz>
******************************************************************************
@@ -99,7 +99,7 @@
$(CPP) : The system C preprocessor.
-$(CFLAGS) : C compiler flags.
+$(CFLAGS) : C compiler flags.
$(CPPFLAGS) : Preprocessor flags, e.g. -I arguments.
diff --git a/doc/ltp-howto.lyx b/doc/ltp-howto.lyx
index f0cf451..7b9f9e0 100644
--- a/doc/ltp-howto.lyx
+++ b/doc/ltp-howto.lyx
@@ -9,7 +9,7 @@
\fontscheme default
\graphics default
\paperfontsize default
-\spacing single
+\spacing single
\papersize Default
\paperpackage a4
\use_geometry 0
@@ -26,11 +26,11 @@
\paperpagestyle default
\layout Title
-\added_space_top vfill \added_space_bottom vfill
+\added_space_top vfill \added_space_bottom vfill
Linux Test Project HOWTO
\layout Date
-10 October 2000
+10 October 2000
\layout Author
Nate Straz
@@ -49,69 +49,69 @@
ins and outs of the Linux Test Project.
\layout Subsection
-Copyright
+Copyright
\layout Standard
Copyright (c) 2000 by SGI, Inc.
-
+
\layout Standard
Please freely copy and distribute (sell or give away) this document in any
format.
It's requested that corrections and/or comments be fowarded to the document
maintainer.
- You may create a derivative work and distribute it provided that you:
+ You may create a derivative work and distribute it provided that you:
\layout Itemize
Send your derivative work (in the most suitable format such as sgml) to
the LDP (Linux Documentation Project) or the like for posting on the Internet.
If not the LDP, then let the LDP know where it is available.
-
+
\layout Itemize
License the derivative work with this same license or use GPL.
Include a copyright notice and at least a pointer to the license used.
-
+
\layout Itemize
Give due credit to previous authors and major contributors.
-
+
\layout Standard
If you're considering making a derived work other than a translation, it's
requested that you discuss your plans with the current maintainer.
-
+
\layout Subsection
-Disclaimer
+Disclaimer
\layout Standard
Use the information in this document at your own risk.
I disavow any potential liability for the contents of this document.
Use of the concepts, examples, and/or other content of this document is
entirely at your own risk.
-
+
\layout Standard
All copyrights are owned by their owners, unless specifically noted otherwise.
Use of a term in this document should not be regarded as affecting the
validity of any trademark or service mark.
-
+
\layout Standard
Naming of particular products or brands should not be seen as endorsements.
-
+
\layout Standard
You are strongly recommended to take a backup of your system before major
installation and backups at regular intervals.
-
+
\layout Section
-Introduction
+Introduction
\layout Subsection
-What is the Linux Test Project?
+What is the Linux Test Project?
\layout Standard
The Linux Test Project (LTP) is an effort to create a set of tools and tests
@@ -119,10 +119,10 @@
We hope this will support Linux development by making unit testing more
complete and minimizing user impact by building a barrier to keep bugs
from making it to the user.
-
+
\layout Subsection
-What is wrong with the current testing model?
+What is wrong with the current testing model?
\layout Standard
The Linux development community utilizes two important (some out argue most
@@ -135,54 +135,54 @@
that of interaction of features.
With a continuously improving set of tests and tools, developers can get
an indication of whether their changes may have broken some other functionality.
-
+
\layout Standard
There is no such thing as a perfect test base.
It is only useful it if keeps up with new and changing functionality,
and if it actually gets used.
-
+
\layout Subsection
-Are you doing benchmarking?
+Are you doing benchmarking?
\layout Standard
Not at this time.
We are more interested in functional, regression, and stress testing the
Linux kernel.
Benchmarking may be workable to compare the performance among kernel versions.
-
+
\layout Subsection
-Are you doing standards testing?
+Are you doing standards testing?
\layout Standard
No, we are leaving that to the Linux Standards Base (LSB).
- See the Linux Standards Base
+ See the Linux Standards Base
\begin_inset LatexCommand \htmlurl[web site]{http://www.linuxbase.org/}
-\end_inset
+\end_inset
for more information.
-
+
\layout Section
-Structure
+Structure
\layout Standard
-The basic building block of the test project is a
-\series bold
+The basic building block of the test project is a
+\series bold
test case
-\series default
+\series default
that consists of a single action and a verification that the action worked.
The result of the test case is usually restricted to PASS/FAIL.
-
+
\layout Standard
-A
-\series bold
+A
+\series bold
test program
-\series default
+\series default
is a runnable program that contains one or more test cases.
Test programs often understand command line options which alter their behavior.
The options could determine the amount of memory tested, the location of
@@ -190,15 +190,15 @@
\layout Standard
-\series bold
+\series bold
Test tags
-\series default
+\series default
are used to pair a unique identifier with a test program and a set of command
line options.
Test tags are the basis for test suites.
\layout Section
-Writing Tests
+Writing Tests
\layout Standard
Writing a test case is a lot easier than most people think.
@@ -207,35 +207,35 @@
All that is needed is a way to report the result of the action to the
rest of the world.
There are several ways of doing this, some more involved than others.
-
+
\layout Subsection
-Exit Style Tests
+Exit Style Tests
\layout Standard
Probably the simplest way of reporting the results of a test case is the
exit status of your program.
If your test program encounters unexpected or incorrect results, exit
the test program with a non-zero exit status, i.e.
-
-\family typewriter
+
+\family typewriter
exit(1)
-\family default
+\family default
.
Conversely, if your program completes as expected, return a zero exit status,
i.e.
-
-\family typewriter
+
+\family typewriter
exit(0)
-\family default
+\family default
.
Any test driver should be able to handle this type of error reporting.
If a test program has multiple test cases you won't know which test case
failed, but you will know the program that failed.
-
+
\layout Subsection
-Formatted Output Tests
+Formatted Output Tests
\layout Standard
The next easiest way of reporting the results is to write the results of
@@ -244,32 +244,32 @@
tester and the analysis tools.
When the results are written in a standard way, tools can be used to analyze
the results.
-
+
\layout Section
Testing Tools
\layout Standard
The Linux Test Project has not yet decided on a "final" test harness.
- We have provided a simple solution with
-\family typewriter
+ We have provided a simple solution with
+\family typewriter
ltp-pan
-\family default
+\family default
to make due until a complete solution has been found/created that compliments
the Linux kernel development process.
Several people have said we should use such and such a test harness.
Until we find we need a large complex test harness, we will apply the KISS
concept.
-
+
\layout Subsection
Ltp-pan
\layout Standard
-\family typewriter
+\family typewriter
ltp-pan
-\family default
+\family default
is a simple test driver with the ability to keep track of orphaned processes
and capture test output.
It works by reading a list of test tags and command lines and runs them.
@@ -280,14 +280,14 @@
Ltp-pan can be nested to create very complex test environments.
\layout Standard
-Ltp-pan uses an
-\emph on
+Ltp-pan uses an
+\emph on
active file
-\emph default
-, also called a
-\emph on
+\emph default
+, also called a
+\emph on
zoo file
-\emph default
+\emph default
to keep track of which tests are currently running.
This file holds the pid, tag, and a portion of the command line.
When you start ltp-pan it becomes a test tag in itself, thus it requires a
@@ -297,111 +297,111 @@
The active file can be shared between multiple instances of ltp-pan so you
know which tests were running when the system crashes by looking at one
file.
-
+
\layout Standard
-A
-\emph on
+A
+\emph on
ltp-pan file
-\emph default
+\emph default
contains a list of test tags for ltp-pan to run.
The format of a ltp-pan file is as follows:
\layout Code
-\latex no_latex
+\latex no_latex
testtag testprogram -o one -p two other command line options
\layout Code
-\latex no_latex
+\latex no_latex
# This is a comment.
- It is a good idea to describe the test
+ It is a good idea to describe the test
\layout Code
-\latex no_latex
+\latex no_latex
# tags in your ltp-pan file.
- Tests programs can have different
+ Tests programs can have different
\layout Code
-\latex no_latex
-# behaviors depending on the command line options so it is
+\latex no_latex
+# behaviors depending on the command line options so it is
\layout Code
-\latex no_latex
+\latex no_latex
# helpful to describe what each test tag is meant to verify or # provoke.
\layout Code
-\latex no_latex
+\latex no_latex
# Some more test cases
\layout Code
-\latex no_latex
+\latex no_latex
mm01 mmap001 -m 10000
\layout Code
-\latex no_latex
+\latex no_latex
# 40 Mb mmap() test.
\layout Code
-\latex no_latex
-# Creates a 10000 page mmap, touches all of the map, sync's
+\latex no_latex
+# Creates a 10000 page mmap, touches all of the map, sync's
\layout Code
-\latex no_latex
+\latex no_latex
# it, and munmap()s it.
\layout Code
-\latex no_latex
+\latex no_latex
mm03 mmap001 -i 0 -I 1 -m 100
\layout Code
-\latex no_latex
+\latex no_latex
# repetitive mmapping test.
\layout Code
-\latex no_latex
+\latex no_latex
# Creates a one page map repetitively for one minute.
\layout Code
-\latex no_latex
+\latex no_latex
dup02 dup02
\layout Code
-\latex no_latex
+\latex no_latex
# Negative test for dup(2) with bad fd
\layout Code
-\latex no_latex
-kill09 kill09
+\latex no_latex
+kill09 kill09
\layout Code
-\latex no_latex
+\latex no_latex
# Basic test for kill(2)
\layout Code
-\latex no_latex
+\latex no_latex
fs-suite01 ltp-pan -e -a fs-suite01.zoo -n fs-suite01 -f runtest/fs
\layout Code
-\latex no_latex
+\latex no_latex
# run the entire set of file system tests
\layout Standard
@@ -418,83 +418,83 @@
The most basic way to run ltp-pan is by passing the test program and parameters
on the command line.
This will run the single program once and wrap the output.
-
+
\layout Code
-\latex no_latex
+\latex no_latex
$ ltp-pan -a ltp.zoo -n tutor sleep 4
\layout Code
-\latex no_latex
-<<<test_start>>>
+\latex no_latex
+<<<test_start>>>
\layout Code
-\latex no_latex
+\latex no_latex
tag=cmdln stime=971450564
\layout Code
-\latex no_latex
+\latex no_latex
cmdline="sleep 4"
\layout Code
-\latex no_latex
+\latex no_latex
contacts=""
\layout Code
-\latex no_latex
+\latex no_latex
analysis=exit
\layout Code
-\latex no_latex
+\latex no_latex
initiation_status="ok"
\layout Code
-\latex no_latex
+\latex no_latex
<<<test_output>>>
\layout Code
-\latex no_latex
+\latex no_latex
<<<execution_status>>>
\layout Code
-\latex no_latex
+\latex no_latex
duration=103341903 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
\layout Code
-\latex no_latex
+\latex no_latex
<<<test_end>>>
\layout Code
-\latex no_latex
+\latex no_latex
$ cat ltp.zoo
\layout Code
-\latex no_latex
-#9357,tutor,pan/ltp-pan -a ltp.zoo -n tutor sleep 4
+\latex no_latex
+#9357,tutor,pan/ltp-pan -a ltp.zoo -n tutor sleep 4
\layout Code
-\latex no_latex
+\latex no_latex
#9358,cmdln,sleep 4
\layout Code
-\latex no_latex
-$
+\latex no_latex
+$
\layout Paragraph
How it works
@@ -502,33 +502,33 @@
This example shows the two parameters that are always required by ltp-pan, the
active file and a test tag for ltp-pan.
- The
+ The
\begin_inset Quotes eld
-\end_inset
+\end_inset
sleep 4
\begin_inset Quotes erd
-\end_inset
+\end_inset
on the end of the command line is a test program and parameters that ltp-pan
should run.
- This test is given the tag
+ This test is given the tag
\begin_inset Quotes eld
-\end_inset
+\end_inset
cmdln.
\begin_inset Quotes erd
-\end_inset
+\end_inset
Ltp-pan will run one test randomly, which ends up being cmdln since it is the
only test that we told ltp-pan about.
-
+
\layout Standard
-In the active file,
-\family typewriter
+In the active file,
+\family typewriter
ltp.zoo
-\family default
+\family default
, ltp-pan writes the pid, test tag, and part of the command line for the currently
running tests.
The command lines are truncated so each line will fit on an 80 column display.
@@ -542,191 +542,191 @@
We have run one test once.
Let's do something a little more exciting.
Let's run one test several times, at the same time.
-
+
\layout Code
-\latex no_latex
+\latex no_latex
$ ltp-pan -a ltp.zoo -n tutor -x 3 -s 3 -O /tmp sleep 1
\layout Code
-\latex no_latex
+\latex no_latex
<<<test_start>>>
\layout Code
-\latex no_latex
+\latex no_latex
tag=cmdln stime=971465653
\layout Code
-\latex no_latex
+\latex no_latex
cmdline="sleep 1"
\layout Code
-\latex no_latex
+\latex no_latex
contacts=""
\layout Code
-\latex no_latex
+\latex no_latex
analysis=exit
\layout Code
-\latex no_latex
+\latex no_latex
initiation_status="ok"
\layout Code
-\latex no_latex
+\latex no_latex
<<<test_output>>>
\layout Code
-\latex no_latex
-
+\latex no_latex
+
\layout Code
-\latex no_latex
+\latex no_latex
<<<execution_status>>>
\layout Code
-\latex no_latex
+\latex no_latex
duration=103326814 termination_type=exited termination_id=0 corefile=no
\layout Code
-\latex no_latex
+\latex no_latex
cutime=1 cstime=0
\layout Code
-\latex no_latex
+\latex no_latex
<<<test_end>>>
\layout Code
-\latex no_latex
+\latex no_latex
<<<test_start>>>
\layout Code
-\latex no_latex
+\latex no_latex
tag=cmdln stime=971465653
\layout Code
-\latex no_latex
+\latex no_latex
cmdline="sleep 1"
\layout Code
-\latex no_latex
+\latex no_latex
contacts=""
\layout Code
-\latex no_latex
+\latex no_latex
analysis=exit
\layout Code
-\latex no_latex
+\latex no_latex
initiation_status="ok"
\layout Code
-\latex no_latex
+\latex no_latex
<<<test_output>>>
\layout Code
-\latex no_latex
-
+\latex no_latex
+
\layout Code
-\latex no_latex
+\latex no_latex
<<<execution_status>>>
\layout Code
-\latex no_latex
+\latex no_latex
duration=103326814 termination_type=exited termination_id=0 corefile=no
\layout Code
-\latex no_latex
+\latex no_latex
cutime=0 cstime=1
\layout Code
-\latex no_latex
+\latex no_latex
<<<test_end>>>
\layout Code
-\latex no_latex
+\latex no_latex
<<<test_start>>>
\layout Code
-\latex no_latex
+\latex no_latex
tag=cmdln stime=971465653
\layout Code
-\latex no_latex
+\latex no_latex
cmdline="sleep 1"
\layout Code
-\latex no_latex
+\latex no_latex
contacts=""
\layout Code
-\latex no_latex
+\latex no_latex
analysis=exit
\layout Code
-\latex no_latex
+\latex no_latex
initiation_status="ok"
\layout Code
-\latex no_latex
+\latex no_latex
<<<test_output>>>
\layout Code
-\latex no_latex
-
+\latex no_latex
+
\layout Code
-\latex no_latex
+\latex no_latex
<<<execution_status>>>
\layout Code
-\latex no_latex
+\latex no_latex
duration=103326814 termination_type=exited termination_id=0 corefile=no
\layout Code
-\latex no_latex
+\latex no_latex
cutime=0 cstime=0
\layout Code
-\latex no_latex
+\latex no_latex
<<<test_end>>>
\layout Paragraph
@@ -741,7 +741,7 @@
You can see in the output that cmdln ran three times.
If the -O option were omitted, your test output would be mixed, making
it almost worthless.
-
+
\layout Itemize
Using a ltp-pan file to run multiple tests
@@ -750,10 +750,10 @@
Nesting ltp-pan
\layout Standard
-For more information on ltp-pan see the man page
-\family typewriter
+For more information on ltp-pan see the man page
+\family typewriter
doc/man1/ltp-pan.1
-\family default
+\family default
.
\layout Subsection
@@ -761,20 +761,20 @@
\layout Standard
-\family typewriter
+\family typewriter
Ltp-scanner
-\family default
- is a results analysis tool that understands the
-\emph on
+\family default
+ is a results analysis tool that understands the
+\emph on
rts
-\emph default
- style output which
-\family typewriter
+\emph default
+ style output which
+\family typewriter
ltp-pan
-\family default
+\family default
generates by default.
It will produce a table summarizing which tests passed and which failed.
-
+
\layout Subsection
The Quick-hitter Package
@@ -784,33 +784,33 @@
tasks like create and move to a temporary directory, handle some common
command line parameters, loop, run in parallel, handle signals, and clean
up.
-
+
\layout Standard
-There is an example test case,
-\family typewriter
+There is an example test case,
+\family typewriter
doc/examples/quickhit.c
-\family default
+\family default
, which shows how the quick-hitter package can be used.
The file is meant to be a supplement to the documentation, not a working
test case.
- Use any of the tests in
-\family typewriter
+ Use any of the tests in
+\family typewriter
tests/
-\family default
+\family default
as a template.
\layout Section
-To Do
+To Do
\layout Standard
There are a lot of things that still need to be done to make this a complete
kernel testing system.
The following sections will discuss some of the to do items in detail.
-
+
\layout Subsection
-Configuration Analysis
+Configuration Analysis
\layout Standard
While the number of configuration options for the Linux kernel is seen as
@@ -818,7 +818,7 @@
To create a powerful automated testing system, we need to be able to determine
what the configuration on the booted box is and then determine which tests
should be run on that box.
-
+
\layout Standard
The Linux kernel has hundreds of configuration options that can be set to
@@ -827,10 +827,10 @@
it is running.
There are also many patches that can be applied to the kernel to add functiona
lity or change behavior.
-
+
\layout Subsection
-Result Comparison
+Result Comparison
\layout Standard
A lot of testing will be done in the life of the Linux Test Project.
@@ -840,16 +840,16 @@
program and receive a list of items that broke since the last run on that
machine, or were fixed, or work on another test machine but not on this
one.
-
+
\layout Section
-Contact information and updates
+Contact information and updates
\layout Literal
URL: http://ltp.sourceforge.net/
\layout Literal
-mailing list: ltp-list@lists.sourceforge.net
+mailing list: ltp-list@lists.sourceforge.net
\layout Literal
list archive: https://sourceforge.net/mailarchive/forum.php?forum_name=ltp-list
@@ -858,51 +858,51 @@
Questions and comments should be sent to the LTP mailing
list at ltp-list@lists.sourceforge.net. To subscribe, please go to
https://lists.sourceforge.net/lists/listinfo/ltp-list.
-
+
\layout Standard
The source is also available via CVS.
See the web site for a web interface and check out instructions.
-
+
\layout Section
-Glossary
+Glossary
\layout Description
Test IEEE/ANSI
-\begin_float footnote
+\begin_float footnote
\layout Standard
Kit, Edward, Software Testing in the Real World: Improving the Process.
P.
82.
ACM Press, 1995.
-\end_float
-:
-\shape italic
+\end_float
+:
+\shape italic
-\newline
+\newline
-\shape default
-
-\shape italic
+\shape default
+
+\shape italic
(i)
-\shape default
+\shape default
An activity in which a system or component is executed under specified
conditions, the results are observed or record, and an evaluation is made
of some aspect of the system or component.
-
-\shape italic
-\newline
+\shape italic
-\shape default
-
-\shape italic
+\newline
+
+\shape default
+
+\shape italic
(ii)
-\shape default
+\shape default
A set of one or more test cases.
-
+
\layout Description
Test\SpecialChar ~
@@ -911,25 +911,25 @@
bit of functionality.
A single test case may be one of many test cases for testing the complete
functionality of a system.
-
-\newline
-IEEE/ANSI:
-\shape italic
-\newline
+\newline
+IEEE/ANSI:
+\shape italic
+
+\newline
(i)
-\shape default
+\shape default
A set of test inputs, execution conditions, and expected results developed
for a particular objective.
-
-\shape italic
-\newline
+\shape italic
+
+\newline
(ii)
-\shape default
+\shape default
The smallest entity that is always executed as a unit, from beginning to
end.
-
+
\layout Description
Test\SpecialChar ~
@@ -944,7 +944,7 @@
Frameworks may have complex or very simple API's, drivers and result logging
mechanisms.
Examples of frameworks are TETware and DejaGnu.
-
+
\layout Description
Test\SpecialChar ~
@@ -953,7 +953,7 @@
It may be a specification of exit codes, or a set of libraries for formatting
messages and determining exit codes.
In TETware, the tet_result() API is the test harness.
-
+
\layout Description
Test\SpecialChar ~
@@ -961,18 +961,18 @@
A test program can contain one or more test cases.
The test harness's API allows for reporting/analysis of the individual
test cases.
-
+
\layout Description
Test\SpecialChar ~
Suite A collection of tests programs, assertions, cases grouped together
under a framework.
-
+
\layout Description
Test\SpecialChar ~
Tag An identifier that corresponds to a command line which runs a test.
The tag is a single word that matches a test program with a set of command
line arguments.
-
+
\the_end
diff --git a/doc/ltp-howto.txt b/doc/ltp-howto.txt
index cb1d33a..0f53894 100644
--- a/doc/ltp-howto.txt
+++ b/doc/ltp-howto.txt
@@ -2,7 +2,7 @@
Linux Test Project HOWTO
-10 October 2000
+10 October 2000
Nate Straz
@@ -18,61 +18,61 @@
This document was written to help bring the community up
to speed on the ins and outs of the Linux Test Project.
-1.1 Copyright
+1.1 Copyright
-Copyright (c) 2000 by SGI, Inc.
+Copyright (c) 2000 by SGI, Inc.
Please freely copy and distribute (sell or give away) this
document in any format. It's requested that corrections
and/or comments be fowarded to the document maintainer.
You may create a derivative work and distribute it provided
-that you:
+that you:
* Send your derivative work (in the most suitable format
such as sgml) to the LDP (Linux Documentation Project)
or the like for posting on the Internet. If not the LDP,
- then let the LDP know where it is available.
+ then let the LDP know where it is available.
* License the derivative work with this same license or use
GPL. Include a copyright notice and at least a pointer
- to the license used.
+ to the license used.
-* Give due credit to previous authors and major contributors.
+* Give due credit to previous authors and major contributors.
If you're considering making a derived work other than a
translation, it's requested that you discuss your plans
-with the current maintainer.
+with the current maintainer.
-1.2 Disclaimer
+1.2 Disclaimer
Use the information in this document at your own risk. I
disavow any potential liability for the contents of this
document. Use of the concepts, examples, and/or other content
-of this document is entirely at your own risk.
+of this document is entirely at your own risk.
All copyrights are owned by their owners, unless specifically
noted otherwise. Use of a term in this document should
not be regarded as affecting the validity of any trademark
-or service mark.
+or service mark.
Naming of particular products or brands should not be seen
-as endorsements.
+as endorsements.
You are strongly recommended to take a backup of your system
-before major installation and backups at regular intervals.
+before major installation and backups at regular intervals.
-2 Introduction
+2 Introduction
-2.1 What is the Linux Test Project?
+2.1 What is the Linux Test Project?
The Linux Test Project (LTP) is an effort to create a set
of tools and tests to verify the functionality and stability
of the Linux kernel. We hope this will support Linux development
by making unit testing more complete and minimizing user
impact by building a barrier to keep bugs from making it
-to the user.
+to the user.
-2.2 What is wrong with the current testing model?
+2.2 What is wrong with the current testing model?
The Linux development community utilizes two important (some
out argue most important) testing techniques in its normal
@@ -84,31 +84,31 @@
is that of interaction of features. With a continuously
improving set of tests and tools, developers can get an
indication of whether their changes may have broken some
-other functionality.
+other functionality.
There is no such thing as a perfect test base. It is only
useful it if keeps up with new and changing functionality,
-and if it actually gets used.
+and if it actually gets used.
-2.3 Are you doing benchmarking?
+2.3 Are you doing benchmarking?
Not at this time. We are more interested in functional,
regression, and stress testing the Linux kernel. Benchmarking
may be workable to compare the performance among kernel
-versions.
+versions.
-2.4 Are you doing standards testing?
+2.4 Are you doing standards testing?
No, we are leaving that to the Linux Standards Base (LSB).
See the Linux Standards Base [http://www.linuxbase.org/||web site]
-for more information.
+for more information.
-3 Structure
+3 Structure
The basic building block of the test project is a test case
that consists of a single action and a verification that
the action worked. The result of the test case is usually
-restricted to PASS/FAIL.
+restricted to PASS/FAIL.
A test program is a runnable program that contains one or
more test cases. Test programs often understand command
@@ -121,16 +121,16 @@
program and a set of command line options. Test tags are
the basis for test suites.
-4 Writing Tests
+4 Writing Tests
Writing a test case is a lot easier than most people think.
Any code that you write to examine how a part of the kernel
works can be adapted into a test case. All that is needed
is a way to report the result of the action to the rest
of the world. There are several ways of doing this, some
-more involved than others.
+more involved than others.
-4.1 Exit Style Tests
+4.1 Exit Style Tests
Probably the simplest way of reporting the results of a test
case is the exit status of your program. If your test program
@@ -140,26 +140,26 @@
status, i.e. exit(0). Any test driver should be able to
handle this type of error reporting. If a test program has
multiple test cases you won't know which test case failed,
-but you will know the program that failed.
+but you will know the program that failed.
-4.2 Formatted Output Tests
+4.2 Formatted Output Tests
The next easiest way of reporting the results is to write
the results of each test case to standard output. This allows
for the testing results to be more understandable to both
the tester and the analysis tools. When the results are
written in a standard way, tools can be used to analyze
-the results.
+the results.
5 Testing Tools
The Linux Test Project has not yet decided on a "final" test
harness. We have provided a simple solution with ltp-pan to
make due until a complete solution has been found/created
-that compliments the Linux kernel development process.
+that compliments the Linux kernel development process.
Several people have said we should use such and such a test
harness. Until we find we need a large complex test harness,
-we will apply the KISS concept.
+we will apply the KISS concept.
5.1 Ltp-pan
@@ -182,18 +182,18 @@
ltp-pan will overwrite the first character with a '#'. The active
file can be shared between multiple instances of ltp-pan so
you know which tests were running when the system crashes
-by looking at one file.
+by looking at one file.
A ltp-pan file contains a list of test tags for ltp-pan to run. The
format of a ltp-pan file is as follows:
testtag testprogram -o one -p two other command line options
-# This is a comment. It is a good idea to describe the test
+# This is a comment. It is a good idea to describe the test
-# tags in your ltp-pan file. Tests programs can have different
+# tags in your ltp-pan file. Tests programs can have different
-# behaviors depending on the command line options so it is
+# behaviors depending on the command line options so it is
# helpful to describe what each test tag is meant to verify
or # provoke.
@@ -204,7 +204,7 @@
# 40 Mb mmap() test.
-# Creates a 10000 page mmap, touches all of the map, sync's
+# Creates a 10000 page mmap, touches all of the map, sync's
# it, and munmap()s it.
@@ -218,7 +218,7 @@
# Negative test for dup(2) with bad fd
-kill09 kill09
+kill09 kill09
# Basic test for kill(2)
@@ -237,11 +237,11 @@
The most basic way to run ltp-pan is by passing the test program
and parameters on the command line. This will run the single
-program once and wrap the output.
+program once and wrap the output.
$ ltp-pan -a ltp.zoo -n tutor sleep 4
-<<<test_start>>>
+<<<test_start>>>
tag=cmdln stime=971450564
@@ -264,11 +264,11 @@
$ cat ltp.zoo
-#9357,tutor,pan/ltp-pan -a ltp.zoo -n tutor sleep 4
+#9357,tutor,pan/ltp-pan -a ltp.zoo -n tutor sleep 4
#9358,cmdln,sleep 4
-$
+$
How it works
@@ -278,7 +278,7 @@
parameters that ltp-pan should run. This test is given the tag
"cmdln." Ltp-pan will run one test randomly, which ends
up being cmdln since it is the only test that we told ltp-pan
-about.
+about.
In the active file, ltp.zoo, ltp-pan writes the pid, test tag,
and part of the command line for the currently running tests.
@@ -291,7 +291,7 @@
We have run one test once. Let's do something a little more
exciting. Let's run one test several times, at the same
-time.
+time.
$ ltp-pan -a ltp.zoo -n tutor -x 3 -s 3 -O /tmp sleep 1
@@ -309,7 +309,7 @@
<<<test_output>>>
-
+
<<<execution_status>>>
@@ -334,7 +334,7 @@
<<<test_output>>>
-
+
<<<execution_status>>>
@@ -359,7 +359,7 @@
<<<test_output>>>
-
+
<<<execution_status>>>
@@ -378,7 +378,7 @@
a directory where temporary files can be created to buffer
the output of each test tag. You can see in the output that
cmdln ran three times. If the -O option were omitted, your
-test output would be mixed, making it almost worthless.
+test output would be mixed, making it almost worthless.
* Using a ltp-pan file to run multiple tests
@@ -391,42 +391,42 @@
Ltp-scanner is a results analysis tool that understands the rts
style output which ltp-pan generates by default. It will produce
a table summarizing which tests passed and which failed.
-
+
5.3 The Quick-hitter Package
Many of the tests released use the Quick-hitter test package
to perform tasks like create and move to a temporary directory,
handle some common command line parameters, loop, run in
-parallel, handle signals, and clean up.
+parallel, handle signals, and clean up.
There is an example test case, doc/examples/quickhit.c, which
shows how the quick-hitter package can be used. The file
is meant to be a supplement to the documentation, not a
working test case. Use any of the tests in tests/ as a template.
-6 To Do
+6 To Do
There are a lot of things that still need to be done to make
this a complete kernel testing system. The following sections
-will discuss some of the to do items in detail.
+will discuss some of the to do items in detail.
-6.1 Configuration Analysis
+6.1 Configuration Analysis
While the number of configuration options for the Linux kernel
is seen as a strength to developers and users alike, it
is a curse to testers. To create a powerful automated testing
system, we need to be able to determine what the configuration
on the booted box is and then determine which tests should
-be run on that box.
+be run on that box.
The Linux kernel has hundreds of configuration options that
can be set to compile the kernel. There are more options
that can be set when you boot the kernel and while it is
running. There are also many patches that can be applied
-to the kernel to add functionality or change behavior.
+to the kernel to add functionality or change behavior.
-6.2 Result Comparison
+6.2 Result Comparison
A lot of testing will be done in the life of the Linux Test
Project. Keeping track of the results from all the testing
@@ -434,43 +434,43 @@
that output from a test machine, feed it to a program and
receive a list of items that broke since the last run on
that machine, or were fixed, or work on another test machine
-but not on this one.
+but not on this one.
-7 Contact information and updates
+7 Contact information and updates
URL: http://ltp.sourceforge.net/
-mailing list: ltp-list@lists.sourceforge.net
+mailing list: ltp-list@lists.sourceforge.net
list archive: https://sourceforge.net/mailarchive/forum.php?forum_name=ltp-list
Questions and comments should be sent to the LTP mailing
list at ltp-list@lists.sourceforge.net. To subscribe, please go to
-https://lists.sourceforge.net/lists/listinfo/ltp-list.
+https://lists.sourceforge.net/lists/listinfo/ltp-list.
The source is also available via CVS. See the web site for
-a web interface and check out instructions.
+a web interface and check out instructions.
-8 Glossary
+8 Glossary
Test IEEE/ANSI([footnote] Kit, Edward, Software Testing in the Real World:
-Improving the Process. P. 82. ACM Press, 1995.) :
+Improving the Process. P. 82. ACM Press, 1995.) :
(i) An activity in which a system or component is executed
under specified conditions, the results are observed or
record, and an evaluation is made of some aspect of the
-system or component.
- (ii) A set of one or more test cases.
+system or component.
+ (ii) A set of one or more test cases.
Test Case A test assertion with a single result that
is being verified. This allows designations such as PASS
or FAIL to be applied to a single bit of functionality.
A single test case may be one of many test cases for
- testing the complete functionality of a system.
- IEEE/ANSI:
+ testing the complete functionality of a system.
+ IEEE/ANSI:
(i)A set of test inputs, execution conditions, and expected
- results developed for a particular objective.
+ results developed for a particular objective.
(ii) The smallest entity that is always executed as a unit,
- from beginning to end.
+ from beginning to end.
Test Driver A program that handles the execution of
test programs. It is responsible for starting the test
@@ -480,22 +480,22 @@
Test Framework A mechanism for organizing a group of
tests. Frameworks may have complex or very simple API's,
drivers and result logging mechanisms. Examples of frameworks
- are TETware and DejaGnu.
+ are TETware and DejaGnu.
Test Harness A Test harness is the mechanism that connects
a test program to a test framework. It may be a specification
of exit codes, or a set of libraries for formatting messages
and determining exit codes. In TETware, the tet_result()
- API is the test harness.
+ API is the test harness.
Test Program A single invokable program. A test program
can contain one or more test cases. The test harness's
API allows for reporting/analysis of the individual test
- cases.
+ cases.
Test Suite A collection of tests programs, assertions,
- cases grouped together under a framework.
+ cases grouped together under a framework.
Test Tag An identifier that corresponds to a command
line which runs a test. The tag is a single word that
- matches a test program with a set of command line arguments.
+ matches a test program with a set of command line arguments.
diff --git a/doc/ltp-run-files.txt b/doc/ltp-run-files.txt
index 620af8d..5da5747 100644
--- a/doc/ltp-run-files.txt
+++ b/doc/ltp-run-files.txt
@@ -1,4 +1,4 @@
-List of scripts or executables that need to be run for complete LTP execution.
+List of scripts or executables that need to be run for complete LTP execution.
The tests listed are NOT executed with the runalltests.sh script
runalltests.sh
@@ -18,7 +18,7 @@
- rpc
- nfs
-To test filesystem with LVM
+To test filesystem with LVM
- ltpfslvm.sh
w/o LVM
- ltpfsnolvm.sh
diff --git a/doc/man1/Makefile b/doc/man1/Makefile
index faa189e..fa5ae4d 100644
--- a/doc/man1/Makefile
+++ b/doc/man1/Makefile
@@ -1,22 +1,22 @@
#
# man1 Makefile.
-#
+#
# Copyright (C) 2009, Cisco Systems Inc.
-#
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
+#
# Garrett Cooper, July 2009
#
diff --git a/doc/man1/doio.1 b/doc/man1/doio.1
index 6d7c5eb..c61e87e 100644
--- a/doc/man1/doio.1
+++ b/doc/man1/doio.1
@@ -2,42 +2,42 @@
.\" $Id: doio.1,v 1.1 2000/07/27 16:59:03 alaffin Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
-.TH doio 1 10/13/93 "UNICOS Testing"
+.TH doio 1 10/13/93 "UNICOS Testing"
.SH NAME
\*Cdoio\fR - Executes I/O Requests
.SH IMPLEMENTATION
All Cray Research systems
.SH SYNOPSIS
-\*Cdoio\fR
+\*Cdoio\fR
.SH DESCRIPTION
.QS
Doio is one of the device-beater tools.
diff --git a/doc/man1/iogen.1 b/doc/man1/iogen.1
index 7732be0..0311524 100644
--- a/doc/man1/iogen.1
+++ b/doc/man1/iogen.1
@@ -2,42 +2,42 @@
.\" $Id: iogen.1,v 1.1 2000/07/27 16:59:03 alaffin Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
-.TH iogen 1 10/13/93 "UNICOS Testing"
+.TH iogen 1 10/13/93 "UNICOS Testing"
.SH NAME
\*Ciogen\fR - Generate I/O Requests
.SH IMPLEMENTATION
All Cray Research systems
.SH SYNOPSIS
-\*Ciogen\fR
+\*Ciogen\fR
.SH DESCRIPTION
.QS
Iogen is one of the device-beater tools.
diff --git a/doc/man1/ltp-bump.1 b/doc/man1/ltp-bump.1
index 7ffda2f..9f147aa 100644
--- a/doc/man1/ltp-bump.1
+++ b/doc/man1/ltp-bump.1
@@ -2,33 +2,33 @@
.\" $Id: ltp-bump.1,v 1.1 2009/05/19 09:39:11 subrata_modak Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH BUMP 1 "14 Sep 2000" "LTP" "Linux Test Project"
diff --git a/doc/man1/ltp-pan.1 b/doc/man1/ltp-pan.1
index 460db6b..f86e879 100644
--- a/doc/man1/ltp-pan.1
+++ b/doc/man1/ltp-pan.1
@@ -2,33 +2,33 @@
.\" $Id: ltp-pan.1,v 1.1 2009/05/19 09:39:11 subrata_modak Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.TH PAN 1 "21 Jan 2011" "LTP" "Linux Test Project"
.SH NAME
@@ -141,9 +141,9 @@
\fI-x\fP (in other words, \fI-x\fP is always satisfied).
.TP 1i
\fB-t #s|m|h|d \fItime\fB
-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,
+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\fPours, or \fId\fPays.
.TP 1i
\fB-x \fInactive\fB
diff --git a/doc/man3/Makefile b/doc/man3/Makefile
index 46d6729..1a7a5a3 100644
--- a/doc/man3/Makefile
+++ b/doc/man3/Makefile
@@ -1,22 +1,22 @@
#
# man3 Makefile.
-#
+#
# Copyright (C) 2009, Cisco Systems Inc.
-#
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
+#
# Garrett Cooper, July 2009
#
diff --git a/doc/man3/bytes_by_prefix.3 b/doc/man3/bytes_by_prefix.3
index ae20b60..98a401a 100644
--- a/doc/man3/bytes_by_prefix.3
+++ b/doc/man3/bytes_by_prefix.3
@@ -2,33 +2,33 @@
.\" $Id: bytes_by_prefix.3,v 1.1 2000/07/27 16:59:03 alaffin Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH BYTES_BY_PREFIX 3 07/25/2000 "Linux Test Project"
@@ -76,8 +76,8 @@
.RE
.br
\fBbytes_by_prefix("5b")\fR
-.br
-.RS 8
+.br
+.RS 8
Returns 5 * BSIZE.
.RE
\fBbytes_by_prefix("1.5m")\fR
diff --git a/doc/man3/forker.3 b/doc/man3/forker.3
index b06c1e5..fb460fb 100644
--- a/doc/man3/forker.3
+++ b/doc/man3/forker.3
@@ -2,33 +2,33 @@
.\" $Id: forker.3,v 1.1 2000/07/27 16:59:03 alaffin Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH FORKER 3 07/25/2000 "Linux Test Project"
@@ -38,7 +38,7 @@
background \- fork a process and return control to caller
.SH SYNOPSIS
-int
+int
.br
\fBbackground\fR(\fIprefix\fR)
.br
diff --git a/doc/man3/get_attrib.3 b/doc/man3/get_attrib.3
index 52c673a..263bae3 100644
--- a/doc/man3/get_attrib.3
+++ b/doc/man3/get_attrib.3
@@ -2,33 +2,33 @@
.\" $Id: get_attrib.3,v 1.1 2000/07/27 16:59:03 alaffin Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH GET_ATTRIB 3 07/25/2000 "Linux Test Project"
diff --git a/doc/man3/parse_open_flags.3 b/doc/man3/parse_open_flags.3
index ec55795..628fa66 100644
--- a/doc/man3/parse_open_flags.3
+++ b/doc/man3/parse_open_flags.3
@@ -2,33 +2,33 @@
.\" $Id: parse_open_flags.3,v 1.1 2000/07/27 16:59:03 alaffin Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH PARSE_OPEN_FLAGS 3 07/25/2000 "Linux Test Project"
diff --git a/doc/man3/parse_opts.3 b/doc/man3/parse_opts.3
index b55900d..20fc01a 100644
--- a/doc/man3/parse_opts.3
+++ b/doc/man3/parse_opts.3
@@ -2,33 +2,33 @@
.\" $Id: parse_opts.3,v 1.3 2000/08/31 18:40:28 nstraz Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH PARSE_OPTS 3 "21 Jan 2011" "LTP" "Linux Test Project"
@@ -49,7 +49,7 @@
\fIargc\fP and \fIargv\fP are the argument count and array as passed to the
main() function on program invocation. User options may be specified in the
\fIoption_array\fR argument. A help function may be specified in the
-\fIuser_help_func\fP argument.
+\fIuser_help_func\fP argument.
.sp
\fIoption_array\fP is a pointer to the first element of an array of
\fBoption_t\fP. If no additional options are needed, pass NULL.
@@ -90,14 +90,14 @@
.SH "STANDARD OPTIONS"
Below is a list of the standard options defined in \fBparse_opts()\fR:
.TP
-.BI \-c " n"
+.BI \-c " n"
Run \fIn\fR copies of the test in parallel. This is done by forking \fIn\fR
times and running the test as usual. If \-i or \-I are specified, each process
will run for that amount of time.
.TP
.B \-e
Turn on logging all errno's received. This option is to facilitate security
-audit testing for MLS.
+audit testing for MLS.
.TP
.B \-f
Suppresses functional testing messages.
@@ -105,11 +105,11 @@
.B \-h
Print help message. The standard options will be printed first, then a call to
.I user_help_func()
-will be made.
+will be made.
.TP
.BI \-i " n"
Run for \fIn\fR iterations. A value of 0 makes the test loop infinitely.
-(default 1)
+(default 1)
.TP
.BI \-I " x"
The test will loop until \fIx\fR seconds have passed. (default 0.0)
@@ -131,7 +131,7 @@
.SH "RETURN VALUE"
.B parse_opts()
returns a NULL pointer upon successful completion. If an error occurs a
-pointer to an error message is returned.
+pointer to an error message is returned.
.SH "EXAMPLE"
The following example defines two options, one with an argument, one without.
.sp
@@ -161,7 +161,7 @@
return 0;
}
.fi
-.sp
+.sp
The following example shows how to use \fBparse_opts()\fR without defining new options.
.sp
.nf
@@ -171,7 +171,7 @@
if ((msg = parse_opts(argc, argv, NULL, NULL)) != NULL)
error_exit(msg);
-
+
return 0;
}
.fi
diff --git a/doc/man3/parse_ranges.3 b/doc/man3/parse_ranges.3
index d7830a3..7afbc0c 100644
--- a/doc/man3/parse_ranges.3
+++ b/doc/man3/parse_ranges.3
@@ -2,33 +2,33 @@
.\" $Id: parse_ranges.3,v 1.1 2000/07/27 16:59:03 alaffin Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH PARSE_RANGES 3 07/25/2000 "Linux Test Project"
diff --git a/doc/man3/pattern.3 b/doc/man3/pattern.3
index 76b3988..2e870e5 100644
--- a/doc/man3/pattern.3
+++ b/doc/man3/pattern.3
@@ -1,34 +1,34 @@
-.\"
+.\"
.\" $Id: pattern.3,v 1.1 2000/07/27 16:59:03 alaffin Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH PATTERN 3 07/25/2000 "Linux Test Project"
@@ -72,12 +72,12 @@
.RE
.br
-\fBpattern_fill(buf, sizeof(buf), "abcde", 5, 3)\fR
-.br
-.RS 8
-
+\fBpattern_fill(buf, sizeof(buf), "abcde", 5, 3)\fR
+.br
+.RS 8
+
fill buf with repeated occurrences of "deabc"
-
+
.RE
.SH DIAGNOSTICS
diff --git a/doc/man3/random_range.3 b/doc/man3/random_range.3
index 025b21c..b157b1e 100644
--- a/doc/man3/random_range.3
+++ b/doc/man3/random_range.3
@@ -2,33 +2,33 @@
.\" $Id: random_range.3,v 1.1 2000/07/27 16:59:03 alaffin Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH random_range 3 07/25/2000 "Linux Test Project"
@@ -50,7 +50,7 @@
random_range() chooses a random number in the range min-max (inclusive) which
is a multiple of mult. min and max may be any integer, but mult must be
a positive integer greater than 0. errp is a char ** which is used to detect
-error conditions. If errp is not NULL, *errp will be set to point to an
+error conditions. If errp is not NULL, *errp will be set to point to an
error message. If errp is NULL, error conditions cannot be detected by the
caller. If mult is 1 (the most common case), there are no possible error
conditions, and the return value is guaranteed to be valid.
@@ -63,7 +63,7 @@
If mask is zero, zero is returned.
random_range() functions uses lrand48() internally. If the range is bigger
-than will fit in a 32 bit long (2G), lrand48() with a
+than will fit in a 32 bit long (2G), lrand48() with a
a internal recursive algorithm to produce a random number.
.SH EXAMPLES
@@ -107,7 +107,7 @@
On CRAY systems, random_range(), random_rangel(), random_rangell()
all have the 64 bit limit since int, long and long long are always 64 bits.
-On IRIX systems, random_range() can only produce a 32 number.
+On IRIX systems, random_range() can only produce a 32 number.
random_rangel() when compiled as a 32 bit object is still limited to 32 bit
number. random_rangell() can be used to return a value bigger than 32 bits
even when compiled as a 32 bit object.
diff --git a/doc/man3/random_range_seed.3 b/doc/man3/random_range_seed.3
index 6b4d131..8c76c2a 100644
--- a/doc/man3/random_range_seed.3
+++ b/doc/man3/random_range_seed.3
@@ -2,33 +2,33 @@
.\" $Id: random_range_seed.3,v 1.1 2000/07/27 16:59:03 alaffin Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH random_range 3 07/25/2000 "Linux Test Project"
@@ -50,7 +50,7 @@
random_range() chooses a random number in the range min-max (inclusive) which
is a multiple of mult. min and max may be any integer, but mult must be
a positive integer greater than 0. errp is a char ** which is used to detect
-error conditions. If errp is not NULL, *errp will be set to point to an
+error conditions. If errp is not NULL, *errp will be set to point to an
error message. If errp is NULL, error conditions cannot be detected by the
caller. If mult is 1 (the most common case), there are no possible error
conditions, and the return value is guaranteed to be valid.
@@ -63,7 +63,7 @@
If mask is zero, zero is returned.
random_range() functions uses lrand48() internally. If the range is bigger
-than will fit in a 32 bit long (2G), lrand48() with a
+than will fit in a 32 bit long (2G), lrand48() with a
a internal recursive algorithm to produce a random number.
.SH EXAMPLES
@@ -107,7 +107,7 @@
On CRAY systems, random_range(), random_rangel(), random_rangell()
all have the 64 bit limit since int, long and long long are always 64 bits.
-On IRIX systems, random_range() can only produce a 32 number.
+On IRIX systems, random_range() can only produce a 32 number.
random_rangel() when compiled as a 32 bit object is still limited to 32 bit
number. random_rangell() can be used to return a value bigger than 32 bits
even when compiled as a 32 bit object.
diff --git a/doc/man3/rmobj.3 b/doc/man3/rmobj.3
index da8be36..84e304e 100644
--- a/doc/man3/rmobj.3
+++ b/doc/man3/rmobj.3
@@ -2,33 +2,33 @@
.\" $Id: rmobj.3,v 1.1 2000/07/27 16:59:03 alaffin Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH RMOBJ 3 07/25/2000 "Linux Test Project"
diff --git a/doc/man3/string_to_tokens.3 b/doc/man3/string_to_tokens.3
index 9d864ff..6eb0677 100644
--- a/doc/man3/string_to_tokens.3
+++ b/doc/man3/string_to_tokens.3
@@ -2,33 +2,33 @@
.\" $Id: string_to_tokens.3,v 1.1 2000/07/27 16:59:03 alaffin Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH STRING_TO_TOKEN 3 07/25/2000 "Linux Test Project"
diff --git a/doc/man3/tst_res.3 b/doc/man3/tst_res.3
index 98e92e7..719a6b0 100644
--- a/doc/man3/tst_res.3
+++ b/doc/man3/tst_res.3
@@ -2,33 +2,33 @@
.\" $Id: tst_res.3,v 1.2 2008/06/10 05:52:02 subrata_modak Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH TST_RES 3 01/21/2011 "Linux Test Project"
@@ -116,7 +116,7 @@
\fBNOTE:\fR These routines use static space internally to hold the
expanded message. The maximum size allowed for an expanded message is
2048 bytes.
-.TP 10
+.TP 10
.I func
pointer to a function which performs either the cleanup necessary prior to
exiting the test or some function executed at the end of each iteration of a
diff --git a/doc/man3/tst_set_error.3 b/doc/man3/tst_set_error.3
index afe7f0c..d5aa132 100644
--- a/doc/man3/tst_set_error.3
+++ b/doc/man3/tst_set_error.3
@@ -2,33 +2,33 @@
.\" $Id: tst_set_error.3,v 1.1 2000/07/27 16:59:03 alaffin Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH TST_SET_ERROR 3 07/25/2000 "Linux Test Project"
@@ -55,7 +55,7 @@
.SH DESCRIPTION
These two functions provide a simple interface to allow
-a programmer set and clear the global variables in
+a programmer set and clear the global variables in
\fBTst_error\fR defined in \fItest_error.c\fR.
The purpose of these global variables to provide space
@@ -68,11 +68,11 @@
like:
.nf
- int te_line;
+ int te_line;
/* line where last error was reported. */
/* Use "__LINE__" and let compiler do */
/* the rest */
- int te_level;
+ int te_level;
/* If set, will prevent current stored */
/* error to not be overwritten */
char te_func[TST_ERR_FUNC_SIZE+1];
@@ -145,6 +145,6 @@
.SH BUGS
There is no space overwrite preventions on the \fBTst_error.te_mesg\fR field.
-If \fIfmt\fR parameter of \fBtst_set_error\fR expands to a string
+If \fIfmt\fR parameter of \fBtst_set_error\fR expands to a string
larger than the space in \fBTst_error.te_mesg\fR, you will start overwriting
memory. This field contains 1024 bytes, which is fairly big error message.
diff --git a/doc/man3/tst_sig.3 b/doc/man3/tst_sig.3
index 81afe19..d96ee99 100644
--- a/doc/man3/tst_sig.3
+++ b/doc/man3/tst_sig.3
@@ -2,33 +2,33 @@
.\" $Id: tst_sig.3,v 1.1 2000/07/27 16:59:03 alaffin Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH TST_SIG 3 07/25/2000 "Linux Test Project"
@@ -82,7 +82,7 @@
as the \fIhandler\fR argument. Upon receipt of an unexpected
signal, the \fIdefault handler\fR will generate
\fItst_res\fR(3) messages for all test results that had
-not been completed at the time of the signal, execute the
+not been completed at the time of the signal, execute the
\fIcleanup\fR routine, if provided, and call \fItst_exit\fR.
Note: if the \fIdefault handler\fR is used, the variables
\fBTCID\fR and \fBTst_count\fR must be defined and available to
@@ -127,7 +127,7 @@
* set up for unexpected signals:
* \fIfork\fR() system calls will be executed during the test run
* use user-defined signal handler
- * use cleanup
+ * use cleanup
*/
tst_sig(FORK, handler, cleanup);
diff --git a/doc/man3/tst_tmpdir.3 b/doc/man3/tst_tmpdir.3
index 94656b1..ae903a3 100644
--- a/doc/man3/tst_tmpdir.3
+++ b/doc/man3/tst_tmpdir.3
@@ -2,33 +2,33 @@
.\" $Id: tst_tmpdir.3,v 1.1 2000/07/27 16:59:03 alaffin Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH TST_TMPDIR 3 07/25/2000 "Linux Test Project"
diff --git a/doc/man3/usctest.3 b/doc/man3/usctest.3
index b90509e..4cae704 100644
--- a/doc/man3/usctest.3
+++ b/doc/man3/usctest.3
@@ -1,33 +1,33 @@
.\" $Id: usctest.3,v 1.2 2000/08/31 18:40:28 nstraz Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH USCTEST 3 01/21/2011 "Linux Test Project"
@@ -43,9 +43,9 @@
\fBMacros\fR
.in +1
.br
-\fBTEST_PAUSE\fR
+\fBTEST_PAUSE\fR
.br
-\fBTEST_PAUSEF(\fIhand\fB)\fR
+\fBTEST_PAUSEF(\fIhand\fB)\fR
.br
\fBTEST(\fIsyscall\fB)\fR
.br
@@ -79,21 +79,21 @@
.sp
The \fBTEST_PAUSEF(\fIhand\fB)\fR macro checks if the global variable STD_PAUSE is set. If so, it
pauses for a SIGUSR1 before continuing execution. The \fIhand\fR argument is a function to be used
-to handle the SIGUSR1 signal when it is received.
+to handle the SIGUSR1 signal when it is received.
After the signal is processed, the previous action is replaced for SIGUSR1.
.sp
-The \fBTEST(\fIsyscall\fB)\fR macro executes (\fIsyscall\fR) and times its execution.
+The \fBTEST(\fIsyscall\fB)\fR macro executes (\fIsyscall\fR) and times its execution.
It saves the max time, min time, accumulated time, and
execution count, if STD_TIMING_ON is set.
.sp
-.\"The\fBTEST_CALLER(\fIsyscall\fB, \fIpid\fB)\fR macro executes (\fIsyscall\fR) and times its execution.
+.\"The\fBTEST_CALLER(\fIsyscall\fB, \fIpid\fB)\fR macro executes (\fIsyscall\fR) and times its execution.
.\"It saves the max time, min time, accumulated time, and
.\"execution count, if STD_TIMING_ON is set and if \fIpid\fR is equal to the current pid.
.\".sp
The \fBTEST_VOID(\fIsyscall\fB)\fR macro works exactly the same as the \fBTEST()\fR
macro except that it does NOT set the global \fBTEST_RETURN\fR. It is intended
to be used with system calls that do not have a return value.
-.sp
+.sp
The \fBTEST_CLEANUP\fR macro prints timing statistics,
accumulated through the TEST macro, if STD_TIMING_ON is set. Also, prints the \fBerrno\fR return
counts as logged by the \fBTEST_ERROR_LOG\fR macro, if STD_ERR_LOG is set. \fBTEST_CLEANUP\fR uses
@@ -148,7 +148,7 @@
for (lc=0; TEST_LOOPING(lc); lc++) {
TEST(open("file", O_RDWR))
-
+
if (TEST_RETURN == -1) {
TEST_ERROR_LOG(TEST_ERRNO)
/* BREAK test case, or whatever... */
diff --git a/doc/man3/write_log.3 b/doc/man3/write_log.3
index c5ceffb..7783226 100644
--- a/doc/man3/write_log.3
+++ b/doc/man3/write_log.3
@@ -2,33 +2,33 @@
.\" $Id: write_log.3,v 1.1 2000/07/27 16:59:03 alaffin Exp $
.\"
.\" Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
-.\"
+.\"
.\" This program is free software; you can redistribute it and/or modify it
.\" under the terms of version 2 of the GNU General Public License as
.\" published by the Free Software Foundation.
-.\"
+.\"
.\" This program is distributed in the hope that it would be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-.\"
+.\"
.\" Further, this software is distributed without any warranty that it is
.\" free of the rightful claim of any third person regarding infringement
.\" or the like. Any license provided herein, whether implied or
.\" otherwise, applies only to this software file. Patent licenses, if
.\" any, provided herein do not apply to combinations of this program with
.\" other software, or any other product whatsoever.
-.\"
+.\"
.\" You should have received a copy of the GNU General Public License along
.\" with this program; if not, write the Free Software Foundation, Inc., 59
.\" Temple Place - Suite 330, Boston MA 02111-1307, USA.
-.\"
+.\"
.\" Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
.\" Mountain View, CA 94043, or:
-.\"
-.\" http://www.sgi.com
-.\"
-.\" For further information regarding this notice, see:
-.\"
+.\"
+.\" http://www.sgi.com
+.\"
+.\" For further information regarding this notice, see:
+.\"
.\" http://oss.sgi.com/projects/GenInfo/NoticeExplan/
.\"
.TH WRITE_LOG 3 07/25/2000 "Linux Test Project"
@@ -50,12 +50,12 @@
The write_log package is a set of routines for creating a history file
of write operations done to a set of files.
-It is assumed that the actual pattern written to the file will be
+It is assumed that the actual pattern written to the file will be
repeated occurrences of a string whose length is no greater than
WLOG_MAX_PATTERN. See the pattern(3) man
page for routines to conveniently generate buffers of this kind.
-wlog_open() initializes the history file contained in wfile->w_file, and
+wlog_open() initializes the history file contained in wfile->w_file, and
fills in the wfile structure. If trunc is non-zero, and existing history
file by the same name will be truncated. If no history file exists, it
will be created with the specified mode.
@@ -71,7 +71,7 @@
at the indicated offset. This, along with the w_done field in the wlog_rec
structure, provide a mechanism for 'pre-logging' a write, doing the write
operation, and then overlaying the original record with the w_done flag
-set to 1. This is useful for async writes which may not complete in a
+set to 1. This is useful for async writes which may not complete in a
timely manner. It is also useful for seeing which write operations were
pending at the time of a system crash - the ones whose w_done flag is 0 have
not yet been verified as complete.
@@ -100,7 +100,7 @@
writes to the same area of a file. Note that the entire file
does not need to be locked, only the portion being written to.
If the calling program can guarantee that there will never be more
-than 1 process writing to the same area of a file at the same time,
+than 1 process writing to the same area of a file at the same time,
locking is not necessary. (Note: UNICOS Shared File Systems do not support
record locking. The whole file is silently locked.)
diff --git a/doc/network_stress.txt b/doc/network_stress.txt
index 971e1ea..716a6a6 100644
--- a/doc/network_stress.txt
+++ b/doc/network_stress.txt
@@ -155,11 +155,11 @@
broken_ip4-version01
Verify that the kernel is not crashed with receiving a large number of
IPv4 packets that have wrong value in version field
-
+
broken_ip4-ihl01
Verify that the kernel is not crashed with receiving a large number of
IPv4 packets that have wrong value in the header length field
-
+
broken_ip4-totlen01
Verify that the kernel is not crashed with receiving a large number of
IPv4 packets that have wrong value in the total length field
@@ -171,11 +171,11 @@
broken_ip4-protcol01
Verify that the kernel is not crashed with receiving a large number of
IPv4 packets that have wrong value in the protocol field
-
+
broken_ip4-checksum01
Verify that the kernel is not crashed with receiving a large number of
IPv4 packets that have wrong value in the checksum field
-
+
broken_ip4-dstaddr01
Verify that the kernel is not crashed with receiving a large number of
IPv4 packets whose destination address is wrong
@@ -277,7 +277,7 @@
Verify that the kernel, when the Duplicate SACK support is off, is not
crashed by a TCP connection on an unreliable network (Namely, some of
the packet is lost, some of them is duplicated).
-
+
uni-sackoff
Verify that the kernel, when both SACK and Duplicate SACK supports are
off, is not crashed by a TCP connection on an unreliable network
@@ -307,8 +307,8 @@
test05 - IPsec [ ESP / tunnel ]
test06 - IPComp [ transport ]
test07 - IPComp [ tunnel ]
- test08 - delayed network - without IPsec / IPComp
- test09 - delayed network - IPsec [ AH / transport ]
+ test08 - delayed network - without IPsec / IPComp
+ test09 - delayed network - IPsec [ AH / transport ]
test10 - delayed network - IPsec [ AH / tunnel ]
test11 - delayed network - IPsec [ ESP / transport ]
test12 - delayed network - IPsec [ ESP / tunnel ]
@@ -368,7 +368,7 @@
Verify that the kernel is not crashed when joining joining plural IPv4
multicast groups on separate socket, then receiving a large number of
Multicast Address Specific Query
-
+
mcast4-queryfld06
Verify that the kernel is not crashed when joining joining plural IPv4
multicast groups on separate socket, then receiving a large number of
@@ -424,7 +424,7 @@
Verify that the kernel is not crashed when joining joining plural IPv6
multicast groups on separate socket, then receiving a large number of
Multicast Address Specific Query
-
+
mcast6-queryfld06
Verify that the kernel is not crashed when joining joining plural IPv6
multicast groups on separate socket, then receiving a large number of
diff --git a/doc/style-guide.txt b/doc/style-guide.txt
index 414e70e..aada028 100644
--- a/doc/style-guide.txt
+++ b/doc/style-guide.txt
@@ -11,7 +11,7 @@
in this document.
Changelog:
-
+
* Initial version: Garrett Cooper <yanegomi@gmail.com>
* Reformated for asciidoc: Cyril Hrubis <chrubis@suse.cz>
**********************************************************************
@@ -30,13 +30,13 @@
No, only use libltp in non-forked processes and functions +perror(3)+ /
+exit(3)+ otherwise. Reason being:
-
+
* Calling +tst_res()+ from multiple processes is messy.
* Calling cleanup can break test execution.
* Establishing a complicated scheme of tracking the testcase state
for teardown is undesirable.
-2. Use SAFE_* macros
+2. Use SAFE_* macros
~~~~~~~~~~~~~~~~~~~~
Use +SAFE_*+ macros (see +safe_macros.h+) instead of bare calls to libcalls and
@@ -129,12 +129,12 @@
if (fork() == -1)
tst_brkm(TBROK, cleanup, "fork # 2 failed");
----------------------------------------------------
-
+
If you can't determine where the failure has occurred in a testcase based on
the entire content of the failure messages, then determining the cause of
failure may be impossible.
-10. Reporting errno and the TEST() macro
+10. Reporting errno and the TEST() macro
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Don't roll your own +errno+ / +strerror()+ printout when you use +tst_res()+
@@ -149,14 +149,14 @@
exp_errno = ENOENT;
if (fn() == -1) {
- /*
+ /*
* Using TERRNO here is valid because the error case
* isn't static.
*/
- if (exp_errno == ENOENT)
+ if (exp_errno == ENOENT)
tst_resm(TPASS|TERRNO,
"fn failed as expected");
- /*
+ /*
* Using strerror(TEST_ERRNO) here is valid because
* the error case isn't static.
*/
@@ -261,10 +261,10 @@
1. Always use libltp for Linux centric tests. No ifs, ands, or buts
about it.
2. Sort headers, like:
-
+
[source,c]
---------------------------------------------------------------------------
-/*
+/*
* sys/types.h is usually (but not always) required by POSIX
* APIs.
*/
@@ -318,7 +318,7 @@
Your testcase should be runnable as root and non-root. What does that mean? It
should fail gracefull as non-root if it has insufficient privileges, or use
+tst_require_root(NULL)+ if root access is absolutely required.
-
+
A lot of newer testcases don't honor this fact and it causes random
unnecessary errors when run as non-privileged users.
diff --git a/doc/tpm-commands.txt b/doc/tpm-commands.txt
index e905fb0..4982a6b 100644
--- a/doc/tpm-commands.txt
+++ b/doc/tpm-commands.txt
@@ -36,7 +36,7 @@
cpio
----
cpio_test.sh
-
+
Tests the basic functionality of `cpio` command
@@ -44,8 +44,8 @@
cron
----
cron_test.sh
-
- This testcase tests if crontab <filename> installs the cronjob
+
+ This testcase tests if crontab <filename> installs the cronjob
and cron schedules the job correctly.
@@ -61,11 +61,11 @@
fileutils
---------
cp_tests.sh
-
+
Test basic functionality of `cp` command
ln_tests.sh
-
+
Test basic functionality of `ln` command
mkdir_tests.sh
@@ -97,7 +97,7 @@
mail
----
mail_tests.sh
-
+
Test basic functionality of `mail` command.
@@ -105,7 +105,7 @@
tar
---
tar_tests.sh
-
+
Test basic functionality of `tar` command.