From owner-svn-src-head@freebsd.org Mon Mar 6 21:39:59 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18F52CFCC99; Mon, 6 Mar 2017 21:39:59 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DA0971293; Mon, 6 Mar 2017 21:39:58 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v26LdvpH072934; Mon, 6 Mar 2017 21:39:57 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v26LdvVP072933; Mon, 6 Mar 2017 21:39:57 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201703062139.v26LdvVP072933@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Ngie Cooper Date: Mon, 6 Mar 2017 21:39:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r314800 - head/contrib/atf/atf-sh X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2017 21:39:59 -0000 Author: ngie Date: Mon Mar 6 21:39:57 2017 New Revision: 314800 URL: https://svnweb.freebsd.org/changeset/base/314800 Log: Fix issues with atf-check(1) found by igor and refer to atf-check(1) - Fix typo (specifiying -> specifying) - Add atf-check(1) to SEE ALSO section for completeness. It's mentioned above, but by convention the SEE ALSO section should list all relevant references to other tools and APIs. Bump .Dd for the change MFC after: 1 week Sponsored by: Dell EMC Isilon Modified: head/contrib/atf/atf-sh/atf-sh-api.3 Modified: head/contrib/atf/atf-sh/atf-sh-api.3 ============================================================================== --- head/contrib/atf/atf-sh/atf-sh-api.3 Mon Mar 6 21:35:33 2017 (r314799) +++ head/contrib/atf/atf-sh/atf-sh-api.3 Mon Mar 6 21:39:57 2017 (r314800) @@ -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-SH-API 3 .Os .Sh NAME @@ -121,7 +121,7 @@ described in .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 +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 @@ -335,6 +335,7 @@ grep foo ls || atf_fail "foo file not fo atf_check -s exit:0 -o match:"^foo$" -e empty 'ls' .Ed .Sh SEE ALSO +.Xr atf-check 1 , .Xr atf-sh 1 , .Xr atf-test-program 1 , .Xr atf-test-case 4