aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-06 20:54:21 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-06 20:54:21 +0000
commit63bb40b55dc047aebb619ca4678555fb3d0309e4 (patch)
treea3e3f61110a40184e83064e1d695cf3d01b15aa6 /contrib
parent0e4e8f1b33bf6dc486f0b7d80d1d6fc8b5e6d648 (diff)
Fix ATF_TP_ADD_TCS example in atf-c-api(3)
ATF_TP_ADD_TC should use `tp` as the second argument, not `tcs`, as ATF_TP_ADD_TCS uses `tp` as its first argument. Bump .Dd for the change. MFC after: 1 week Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=314793
Diffstat (limited to 'contrib')
-rw-r--r--contrib/atf/atf-c/atf-c-api.38
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/atf/atf-c/atf-c-api.3 b/contrib/atf/atf-c/atf-c-api.3
index b3b308655739..25e6b6273a54 100644
--- a/contrib/atf/atf-c/atf-c-api.3
+++ b/contrib/atf/atf-c/atf-c-api.3
@@ -26,7 +26,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd March 2, 2014
+.Dd March 6, 2017
.Dt ATF-C-API 3
.Os
.Sh NAME
@@ -243,9 +243,9 @@ ATF_TC_BODY(tc3, tc)
ATF_TP_ADD_TCS(tp)
{
- ATF_TP_ADD_TC(tcs, tc1);
- ATF_TP_ADD_TC(tcs, tc2);
- ATF_TP_ADD_TC(tcs, tc3);
+ ATF_TP_ADD_TC(tp, tc1);
+ ATF_TP_ADD_TC(tp, tc2);
+ ATF_TP_ADD_TC(tp, tc3);
... add additional test cases ...
return atf_no_error();