aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2021-06-21 15:00:50 +0000
committerMark Johnston <markj@FreeBSD.org>2021-06-21 15:07:03 +0000
commit6fa0b2893f989f1851f3280e3f2e272e887cbce9 (patch)
treefa217f13bbc79295ae903ac7c674095d477139b1
parentc6b2d024d7eedbf32f52a17bc029c92f5a4d1a54 (diff)
downloadsrc-6fa0b2893f989f1851f3280e3f2e272e887cbce9.tar.gz
src-6fa0b2893f989f1851f3280e3f2e272e887cbce9.zip
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
-rwxr-xr-xusr.bin/diff/tests/diff_test.sh1
1 files changed, 1 insertions, 0 deletions
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()
{