Bug 256773

Summary: Missing directory /usr/tests/sys/netgraph
Product: Base System Reporter: Arrigo Marchiori <ardovm>
Component: testsAssignee: Lutz Donnerhacke <donner>
Status: Closed FIXED    
Severity: Affects Only Me CC: donner
Priority: --- Flags: donner: mfc-stable13-
donner: mfc-stable12+
donner: mfc-stable11+
Version: 11.4-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Include directory /usr/tests/sys/netgraph into etc/BSD.tests.dist none

Description Arrigo Marchiori 2021-06-22 12:27:49 UTC
Created attachment 225992 [details]
Include directory /usr/tests/sys/netgraph into etc/BSD.tests.dist

The directory /usr/tests/sys/netgraph is not created and installworld fails when it tries to copy the tests for sys/netgraph.
Comment 1 Lutz Donnerhacke freebsd_committer freebsd_triage 2021-06-24 11:44:46 UTC
Thank you for pointing this out and providing a patch.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-06-24 12:00:30 UTC
A commit in branch stable/11 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=db7136d6b97f53e58976d20b454f7bb71322b07d

commit db7136d6b97f53e58976d20b454f7bb71322b07d
Author:     Lutz Donnerhacke <donner@FreeBSD.org>
AuthorDate: 2021-06-24 11:54:54 +0000
Commit:     Lutz Donnerhacke <donner@FreeBSD.org>
CommitDate: 2021-06-24 11:54:54 +0000

    tests/netgraph: Fix build error due to missing directory

    While MFCing the tests into stable/11 the test directory needs to be
    added, because earlier netgraph tests were not MFCed to this train.

    PR:             256773
    Reported by:    Arrigo Marchiori
    Submitted by:   Arrigo Marchiori
    Tested by:      Arrigo Marchiori

    This is a direct commit into the stable/11 branch.

 etc/mtree/BSD.tests.dist | 2 ++
 1 file changed, 2 insertions(+)
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-06-24 12:08:32 UTC
A commit in branch stable/12 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=2e6fec416d0398598be15df9a3b713ac74c5d1e8

commit 2e6fec416d0398598be15df9a3b713ac74c5d1e8
Author:     Lutz Donnerhacke <donner@FreeBSD.org>
AuthorDate: 2021-06-24 11:54:54 +0000
Commit:     Lutz Donnerhacke <donner@FreeBSD.org>
CommitDate: 2021-06-24 12:06:49 +0000

    tests/netgraph: Fix build error due to missing directory

    While MFCing the tests into stable/11 the test directory needs to be
    added, because earlier netgraph tests were not MFCed to this train.

    PR:             256773
    Reported by:    Arrigo Marchiori
    Submitted by:   Arrigo Marchiori
    Tested by:      Arrigo Marchiori

    This is a direct commit into the stable/12 branch.

 etc/mtree/BSD.tests.dist | 2 ++
 1 file changed, 2 insertions(+)