From b018085dfc5b5d4dc24cf2784f322e76bc3e91c0 Mon Sep 17 00:00:00 2001 From: Robert Mustacchi Date: Tue, 4 Aug 2020 13:22:19 -0700 Subject: 13014 ksensor tests are a bit environment dependent Reviewed by: Toomas Soome Approved by: Dan McDonald --- usr/src/pkg/manifests/system-test-ostest.mf | 1 + usr/src/test/os-tests/runfiles/default.run | 2 ++ 2 files changed, 3 insertions(+) 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' ] -- cgit v1.2.3