Bug 256773 - Missing directory /usr/tests/sys/netgraph
Summary: Missing directory /usr/tests/sys/netgraph
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: tests (show other bugs)
Version: 11.4-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: Lutz Donnerhacke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-22 12:27 UTC by Arrigo Marchiori
Modified: 2021-06-24 12:10 UTC (History)
1 user (show)

See Also:
donner: mfc-stable13-
donner: mfc-stable12+
donner: mfc-stable11+


Attachments
Include directory /usr/tests/sys/netgraph into etc/BSD.tests.dist (297 bytes, patch)
2021-06-22 12:27 UTC, Arrigo Marchiori
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(+)