From nobody Sat Mar 23 02:50:52 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V1kGP0DnFz5G111; Sat, 23 Mar 2024 02:50:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V1kGN6PcDz4tJg; Sat, 23 Mar 2024 02:50:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711162252; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EKRwwmY+aYax1CajYLnO2BHA8nlM9VPpKgYY6UA5Ipc=; b=NHDQ/jp/WhDDxWZa9tkN77C1Xn83Z8xFSyXIeWqrKKJvxgm7xPeYdjMXMBI2+Z8v9zBzkU 4vcaiBgnNVgiTLQ2bVv74zvwRPUPzz2AHIv5WA3jkDpWRH4uxc/38yj6oUexGdP0wU83xY N54/fa7Gj4fkgBuxdzJSoNM3aPl1rZEXfywSl09UIigDh70DUMv6ahBWRxzBa9snKjre/9 O77py9hFJHZ55tm53DeQiTWTfRepFxZ9aY1V+TNKguvyVVgQPLa6yndeCS/aKwVXC3OxVF +i3tgs6Db4yTKfE39/vVjZ3LvSs9y5FQk5gJUQc23F5PRQBX0d5Jy7bpJpoDOQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711162252; a=rsa-sha256; cv=none; b=S94WlS5wf3wKEGTuK+tjhDNU2sdeC+7CCMoNe/JLO/5oy0icYxgp/R3skIlh6wWYq05Gt3 bTelIek8HPYshMTRwmueBd3a1I9D1RERriWG7cUh91i8rQz2Y1I6N1XUrpzV4LpOYIhvES 4+vow7T648kt1kNxL6n2sB+3YeGP+yia/zJ/Gs3SuFEQTXvbi3etWdmgwWImFskrHUy5ZV qLj+DGhfI44b1AVoElx43GwYjw3JcUaRSfe19RieUSwXbqEjMHx+pUl4vHWsQlmMya0dbW i42W7kmYhepDQy5F4TnnXojZM5LgpQysB6MNBih8CNudD0FTVwn2SuC1D5LTvw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711162252; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EKRwwmY+aYax1CajYLnO2BHA8nlM9VPpKgYY6UA5Ipc=; b=q8oRF3fZcMX6FA58NMyxw4gK0UvHiGsY6D/gYDii08+tNkREvomojSIhN0HagHVGAFFCMw Yl6JhiwJ9J7d9/jMzFIgM1npqYprGjUtq9KATocLe9XgMkbZC/mO9Y2u6M2rH0OuB3w8N2 gHBIfHHmc9LEld4IV8hE4JyRmyZTJ9tWr+bC09Ftd6qul1ts9unFCGqJQ4EPTkEsp6NRC6 ZEW3u71uujXpjSTcaiZd70LaDvq4PON8Wc+OIwx2e9sLQ94fyuLzAc24GKDi5mHZYYs68W m4SmyCG/J8WCroDfaQ2zmNFqc4PjxbqzV4DWimpGCj27UN8ADOZvFHxS9+bCsA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V1kGN61BxzVnD; Sat, 23 Mar 2024 02:50:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42N2oqhf051915; Sat, 23 Mar 2024 02:50:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42N2oqDJ051898; Sat, 23 Mar 2024 02:50:52 GMT (envelope-from git) Date: Sat, 23 Mar 2024 02:50:52 GMT Message-Id: <202403230250.42N2oqDJ051898@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: fbbb50f57093 - main - tests/netgraph: mark all tests as required_user="root" List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fbbb50f57093307d972a22ef001670dc92dc8f22 Auto-Submitted: auto-generated The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=fbbb50f57093307d972a22ef001670dc92dc8f22 commit fbbb50f57093307d972a22ef001670dc92dc8f22 Author: Gleb Smirnoff AuthorDate: 2024-03-23 02:50:33 +0000 Commit: Gleb Smirnoff CommitDate: 2024-03-23 02:50:33 +0000 tests/netgraph: mark all tests as required_user="root" Any netgraph operation requires root priveleges. Some tests in the directory already mark themselves with 'atf_tc_set_md_var(conf, "require.user", "root");' which creates a lot of pasted code. Some tests don't mark self. For this particular directory a blanket metadata setting in the Makefile is acceptable, imho. --- tests/sys/netgraph/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/netgraph/Makefile b/tests/sys/netgraph/Makefile index 8bf91c68ad6b..36f9943a7312 100644 --- a/tests/sys/netgraph/Makefile +++ b/tests/sys/netgraph/Makefile @@ -8,7 +8,7 @@ TAP_TESTS_SH+= ng_macfilter_test # Serialize tests since some share netgraph node names. TEST_METADATA+= is_exclusive=true -TEST_METADATA.ng_macfilter_test+= required_user="root" +TEST_METADATA+= required_user="root" TEST_METADATA.ng_macfilter_test+= required_programs="perl" ATF_TESTS_C+= basic \