Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2017 22:46:50 +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: r314807 - head/lib/libc/tests/nss
Message-ID:  <201703062246.v26MkoYe001846@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Mon Mar  6 22:46:49 2017
New Revision: 314807
URL: https://svnweb.freebsd.org/changeset/base/314807

Log:
  Move ATF_TC_WITHOUT_HEAD(getgrent) near the testcase it annotates
  
  MFC after:	1 week
  Sponsored by:	Dell EMC Isilon

Modified:
  head/lib/libc/tests/nss/getgr_test.c

Modified: head/lib/libc/tests/nss/getgr_test.c
==============================================================================
--- head/lib/libc/tests/nss/getgr_test.c	Mon Mar  6 22:32:56 2017	(r314806)
+++ head/lib/libc/tests/nss/getgr_test.c	Mon Mar  6 22:46:49 2017	(r314807)
@@ -479,6 +479,7 @@ fin:
 
 #define	SNAPSHOT_FILE	"snapshot_grp"
 
+ATF_TC_WITHOUT_HEAD(getgrent);
 ATF_TC_BODY(getgrent, tc)
 {
 
@@ -530,7 +531,6 @@ ATF_TC_BODY(getgrnam_with_snapshot, tc)
 	ATF_REQUIRE(run_tests(SNAPSHOT_FILE, TEST_GETGRNAM) == 0);
 }
 
-ATF_TC_WITHOUT_HEAD(getgrent);
 ATF_TP_ADD_TCS(tp)
 {
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703062246.v26MkoYe001846>