Move ATF_TC_WITHOUT_HEAD(getgrent) near the testcase it annotates

MFC after:	1 week
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Enji Cooper 2017-03-06 22:46:49 +00:00
parent 6cf0c1db55
commit 7532a6570b

View File

@ -479,6 +479,7 @@ run_tests(const char *snapshot_file, enum test_methods method)
#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)
{