changeset 25277:da0c209fbc13

13014 ksensor tests are a bit environment dependent Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
author Robert Mustacchi <rm@fingolfin.org>
date Tue, 04 Aug 2020 13:22:19 -0700
parents 9c774274c5e4
children 0ac856197638 cc8c90d1872f
files usr/src/pkg/manifests/system-test-ostest.mf usr/src/test/os-tests/runfiles/default.run
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/pkg/manifests/system-test-ostest.mf	Tue Aug 04 15:18:56 2020 -0500
+++ b/usr/src/pkg/manifests/system-test-ostest.mf	Tue Aug 04 13:22:19 2020 -0700
@@ -130,4 +130,5 @@
 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
--- a/usr/src/test/os-tests/runfiles/default.run	Tue Aug 04 15:18:56 2020 -0500
+++ b/usr/src/test/os-tests/runfiles/default.run	Tue Aug 04 13:22:19 2020 -0700
@@ -106,7 +106,9 @@
 # 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' ]