Date: Mon, 6 Mar 2017 20:54:21 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r314793 - head/contrib/atf/atf-c Message-ID: <201703062054.v26KsLYT056004@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Mon Mar 6 20:54:21 2017 New Revision: 314793 URL: https://svnweb.freebsd.org/changeset/base/314793 Log: 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 Modified: head/contrib/atf/atf-c/atf-c-api.3 Modified: head/contrib/atf/atf-c/atf-c-api.3 ============================================================================== --- head/contrib/atf/atf-c/atf-c-api.3 Mon Mar 6 20:47:53 2017 (r314792) +++ head/contrib/atf/atf-c/atf-c-api.3 Mon Mar 6 20:54:21 2017 (r314793) @@ -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();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703062054.v26KsLYT056004>