git: 6fa0b2893f98 - main - diff tests: Require root for report_identical

Mark Johnston markj at FreeBSD.org
Mon Jun 21 15:07:23 UTC 2021


The branch main has been updated by markj:

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

commit 6fa0b2893f989f1851f3280e3f2e272e887cbce9
Author:     Mark Johnston <markj at FreeBSD.org>
AuthorDate: 2021-06-21 15:00:50 +0000
Commit:     Mark Johnston <markj at 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()
 {


More information about the dev-commits-src-all mailing list