ATF-devel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

More ATF man pages fixes



Hi,

The attached patch do fix some more problems i noticed in ATF man
pages ...

- Fix ATF_TP_ADD_TCS/ATF_TP_ADD_TC arguments in atf-c-api(3).
- Consistently use section 4 for atf-test-case man page.

Thanks.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.
#
# old_revision [fa9bbb4a50e42874df1d00d8fb69206875d6554a]
#
# patch "atf-c/atf-c-api.3"
#  from [22f071f395c3217bc3bd3ce37e738842fd62af60]
#    to [2fbd18e8c27e748a4dd08b2e758aa8f87e46524d]
# 
# patch "atf-c++/atf-c++-api.3"
#  from [c92a9e31aa935eb1cab427ae1565d6ed0dac93a3]
#    to [dd762cff028bc991879a08247952151b31ed6444]
# 
# patch "atf-sh/atf-sh-api.3"
#  from [9f9a39815b794e7ee6c0adc1b99a6b26e1a6bea8]
#    to [63a5c483c30a75b675278a7cda8fe35d2670ec4f]
# 
# patch "doc/atf-test-case.4"
#  from [f701f8cc41720ab35e19faf637adf13286906ebf]
#    to [389bbe85c18e89af1d1e116d6f1bb26734f5ec51]
#
============================================================
--- atf-c/atf-c-api.3   22f071f395c3217bc3bd3ce37e738842fd62af60
+++ atf-c/atf-c-api.3   2fbd18e8c27e748a4dd08b2e758aa8f87e46524d
@@ -84,8 +84,8 @@
 .Fn ATF_TC_NAME "name"
 .Fn ATF_TC_WITH_CLEANUP "name"
 .Fn ATF_TC_WITHOUT_HEAD "name"
-.Fn ATF_TP_ADD_TC "tp_name"
-.Fn ATF_TP_ADD_TCS "tp_name" "tc_name"
+.Fn ATF_TP_ADD_TC "tp_name" "tc_name"
+.Fn ATF_TP_ADD_TCS "tp_name"
 .Fn atf_no_error
 .Fn atf_tc_fail "reason"
 .Fn atf_tc_fail_nonfatal "reason"
@@ -132,7 +132,7 @@ ATF_TC_BODY(tc3, tc)
 
 .Ns ... additional test cases ...
 
-ATF_TP_ADD_TCS(tp, tcs)
+ATF_TP_ADD_TCS(tp)
 {
     ATF_TP_ADD_TC(tcs, tc1);
     ATF_TP_ADD_TC(tcs, tc2);
@@ -146,7 +146,7 @@ described in
 Test cases have an identifier and are composed of three different parts:
 the header, the body and an optional cleanup routine, all of which are
 described in
-.Xr atf-test-case 8 .
+.Xr atf-test-case 4 .
 To define test cases, one can use the
 .Fn ATF_TC ,
 .Fn ATF_TC_WITH_CLEANUP
@@ -363,4 +363,4 @@ ATF_TP_ADD_TCS(tp)
 .Sh SEE ALSO
 .Xr atf-test-program 1 ,
 .Xr atf 7 ,
-.Xr atf-test-case 8
+.Xr atf-test-case 4
============================================================
--- atf-c++/atf-c++-api.3       c92a9e31aa935eb1cab427ae1565d6ed0dac93a3
+++ atf-c++/atf-c++-api.3       dd762cff028bc991879a08247952151b31ed6444
@@ -126,7 +126,7 @@ described in
 Test cases have an identifier and are composed of three different parts:
 the header, the body and an optional cleanup routine, all of which are
 described in
-.Xr atf-test-case 8 .
+.Xr atf-test-case 4 .
 To define test cases, one can use the
 .Fn ATF_TEST_CASE ,
 .Fn ATF_TEST_CASE_WITH_CLEANUP
@@ -275,4 +275,4 @@ ATF_INIT_TEST_CASES(tcs)
 .Sh SEE ALSO
 .Xr atf-test-program 1 ,
 .Xr atf 7 ,
-.Xr atf-test-case 8
+.Xr atf-test-case 4
============================================================
--- atf-sh/atf-sh-api.3 9f9a39815b794e7ee6c0adc1b99a6b26e1a6bea8
+++ atf-sh/atf-sh-api.3 63a5c483c30a75b675278a7cda8fe35d2670ec4f
@@ -106,7 +106,7 @@ described in
 Test cases have an identifier and are composed of three different parts:
 the header, the body and an optional cleanup routine, all of which are
 described in
-.Xr atf-test-case 8 .
+.Xr atf-test-case 4 .
 To define test cases, one can use the
 .Fn atf_test_case
 function, which takes a first parameter specifiying the test case's
@@ -266,4 +266,4 @@ grep foo ls || atf_fail "foo file not fo
 .Xr atf-sh 1 ,
 .Xr atf-test-program 1 ,
 .Xr atf 7 ,
-.Xr atf-test-case 8
+.Xr atf-test-case 4
============================================================
--- doc/atf-test-case.4 f701f8cc41720ab35e19faf637adf13286906ebf
+++ doc/atf-test-case.4 389bbe85c18e89af1d1e116d6f1bb26734f5ec51
@@ -27,7 +27,7 @@
 .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .Dd June 6, 2010
-.Dt ATF-TEST-CASE 8
+.Dt ATF-TEST-CASE 4
 .Os
 .Sh NAME
 .Nm atf-test-case


Home | Main Index | Thread Index | Old Index