summaryrefslogtreecommitdiff
path: root/contrib/atf
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-06 21:24:55 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-06 21:24:55 +0000
commitba31e895b93bd74a4d3281cc005246876aa1f2e9 (patch)
tree4be32897d9b2f4bc98eb8ce481fd5b62bcf42cdc /contrib/atf
parent095282cf3599e5c0a161784992aa0a8b7e66538e (diff)
downloadsrc-test2-ba31e895b93bd74a4d3281cc005246876aa1f2e9.tar.gz
src-test2-ba31e895b93bd74a4d3281cc005246876aa1f2e9.zip
Notes
Diffstat (limited to 'contrib/atf')
-rw-r--r--contrib/atf/atf-sh/atf-sh.38
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/atf/atf-sh/atf-sh.3 b/contrib/atf/atf-sh/atf-sh.3
index be56539d04ec..0d0db2f7de75 100644
--- a/contrib/atf/atf-sh/atf-sh.3
+++ b/contrib/atf/atf-sh/atf-sh.3
@@ -22,7 +22,7 @@
.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-.Dd October 13, 2014
+.Dd March 6, 2017
.Dt ATF-SH 3
.Os
.Sh NAME
@@ -129,7 +129,7 @@ tc2_cleanup() {
... second test case's cleanup ...
}
-.Ns ... additional test cases ...
+\&... additional test cases ...
atf_init_test_cases() {
atf_add_test_case tc1
@@ -144,7 +144,7 @@ described in
.Xr atf-test-case 4 .
To define test cases, one can use the
.Nm atf_test_case
-function, which takes a first parameter specifiying the test case's
+function, which takes a first parameter specifying the test case's
name and instructs the library to set things up to accept it as a valid
test case.
The second parameter is optional and, if provided, must be
@@ -334,7 +334,7 @@ atf_init_test_cases() {
This other example shows how to include a file with extra helper functions
in the test program:
.Bd -literal -offset indent
-.Ns ... definition of test cases ...
+\&... definition of test cases ...
atf_init_test_cases() {
. $(atf_get_srcdir)/helper_functions.sh