summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@fingolfin.org>2020-08-04 13:22:19 -0700
committerRobert Mustacchi <rm@fingolfin.org>2020-08-07 16:16:22 -0700
commitb018085dfc5b5d4dc24cf2784f322e76bc3e91c0 (patch)
treebcedab3928c077b45ab0590574655ae94e16dd0b
parent0caa75193db78d20398498ff9eca8f1c173ec99c (diff)
downloadillumos-joyent-b018085dfc5b5d4dc24cf2784f322e76bc3e91c0.tar.gz
13014 ksensor tests are a bit environment dependent
Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/pkg/manifests/system-test-ostest.mf1
-rw-r--r--usr/src/test/os-tests/runfiles/default.run2
2 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/pkg/manifests/system-test-ostest.mf b/usr/src/pkg/manifests/system-test-ostest.mf
index c3e2ff15e7..22ebe37ffd 100644
--- a/usr/src/pkg/manifests/system-test-ostest.mf
+++ b/usr/src/pkg/manifests/system-test-ostest.mf
@@ -130,4 +130,5 @@ file path=opt/os-tests/tests/writev.64 mode=0555
license cr_Sun license=cr_Sun
license lic_CDDL license=lic_CDDL
depend fmri=system/io/tests type=require
+depend fmri=system/ksensor type=require
depend fmri=system/test/testrunner type=require
diff --git a/usr/src/test/os-tests/runfiles/default.run b/usr/src/test/os-tests/runfiles/default.run
index 14777c18a4..60c622f1b1 100644
--- a/usr/src/test/os-tests/runfiles/default.run
+++ b/usr/src/test/os-tests/runfiles/default.run
@@ -106,7 +106,9 @@ tests = ['digraph-test']
# The stress test is designed to be run separately.
#
[/opt/os-tests/tests/ksensor]
+pre_user = root
user = root
+post_user = root
pre = ksensor_init
tests = [ 'ksensor_basic.32','ksensor_basic.64', 'ksensor_err.32',
'ksensor_err.64' ]