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)
 {
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to