summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@fingolfin.org>2020-09-12 10:55:07 -0700
committerRobert Mustacchi <rm@fingolfin.org>2020-09-13 17:07:15 -0700
commit8837b1d0891b79dc11ae1199ea4a100f3f17c7b1 (patch)
tree6c9c69face97c32635e1d488d16f7891878445d2
parent9c562f14f5af5a3d068e998a2ab674ce019cc395 (diff)
downloadillumos-joyent-8837b1d0891b79dc11ae1199ea4a100f3f17c7b1.tar.gz
13143 libc test suite should pass cleanly with unprivileged user
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
-rw-r--r--usr/src/test/libc-tests/runfiles/default.run12
1 files changed, 12 insertions, 0 deletions
diff --git a/usr/src/test/libc-tests/runfiles/default.run b/usr/src/test/libc-tests/runfiles/default.run
index dd1cb4cc3a..0ad4526774 100644
--- a/usr/src/test/libc-tests/runfiles/default.run
+++ b/usr/src/test/libc-tests/runfiles/default.run
@@ -45,7 +45,11 @@ outputdir = /var/tmp/test_results
[/opt/libc-tests/tests/random/chacha]
[/opt/libc-tests/tests/random/inz_child]
[/opt/libc-tests/tests/random/inz_inval]
+#
+# root privs required for mlock privileges
+#
[/opt/libc-tests/tests/random/inz_mlock]
+user = root
[/opt/libc-tests/tests/random/inz_region]
[/opt/libc-tests/tests/random/inz_split]
[/opt/libc-tests/tests/random/inz_split_vpp]
@@ -57,7 +61,11 @@ outputdir = /var/tmp/test_results
[/opt/libc-tests/tests/random/arc4random_preforkall]
[/opt/libc-tests/tests/random/arc4random_forksig]
[/opt/libc-tests/tests/random/arc4random_preforksig]
+#
+# root privs required for DTrace
+#
[/opt/libc-tests/tests/random/arc4key.ksh]
+user = root
[/opt/libc-tests/tests/regex/regex_test]
@@ -117,7 +125,11 @@ timeout = 600
[/opt/libc-tests/tests/uchar.32]
[/opt/libc-tests/tests/uchar.64]
+#
+# root privs required for priority changes
+#
[/opt/libc-tests/tests/pthread_attr_get_np]
+user=root
[/opt/libc-tests/tests/symbols]
pre = setup