Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 2021 15:07:23 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 6fa0b2893f98 - main - diff tests: Require root for report_identical
Message-ID:  <202106211507.15LF7Ntx013384@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

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

commit 6fa0b2893f989f1851f3280e3f2e272e887cbce9
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-06-21 15:00:50 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-06-21 15:07:03 +0000

    diff tests: Require root for report_identical
    
    This test switches users and either hangs or fails when run as an
    unprivileged user.
    
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
---
 usr.bin/diff/tests/diff_test.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr.bin/diff/tests/diff_test.sh b/usr.bin/diff/tests/diff_test.sh
index b9d1698d982e..cd893091d016 100755
--- a/usr.bin/diff/tests/diff_test.sh
+++ b/usr.bin/diff/tests/diff_test.sh
@@ -231,6 +231,7 @@ label_body()
 report_identical_head()
 {
 	atf_set "require.config" unprivileged_user
+	atf_set "require.user" root
 }
 report_identical_body()
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106211507.15LF7Ntx013384>