1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright (c) 2012, 2016 by Delphix. All rights reserved.
14# Copyright 2014, OmniTI Computer Consulting, Inc. All rights reserved.
15# Copyright 2020 Joyent, Inc.
16# Copyright 2022 OmniOS Community Edition (OmniOSce) Association.
17# Copyright 2021 Tintri by DDN, Inc. All rights reserved.
18# Copyright 2024 Oxide Computer Company
19# Copyright 2022 MNX Cloud, Inc.
20#
21
22set name=pkg.fmri value=pkg:/system/test/ostest@$(PKGVERS)
23set name=pkg.summary value="OS Unit Test Suite"
24set name=pkg.description value="Miscellaneous OS Unit Tests"
25set name=info.classification \
26    value=org.opensolaris.category.2008:Development/System
27set name=variant.arch value=$(ARCH)
28dir  path=kernel/drv group=sys
29dir  path=kernel/drv/$(ARCH64) group=sys
30file path=kernel/drv/$(ARCH64)/ksensor_test group=sys
31file path=kernel/drv/ksensor_test.conf group=sys
32dir  path=opt/os-tests
33file path=opt/os-tests/README mode=0444
34dir  path=opt/os-tests/bin
35file path=opt/os-tests/bin/ostest mode=0555
36dir  path=opt/os-tests/runfiles
37file path=opt/os-tests/runfiles/default.run mode=0444
38dir  path=opt/os-tests/tests
39file path=opt/os-tests/tests/clock_gettime.32 mode=0555
40file path=opt/os-tests/tests/clock_gettime.64 mode=0555
41dir  path=opt/os-tests/tests/cores
42$(i386_ONLY)dir path=opt/os-tests/tests/cores/amd64
43$(i386_ONLY)file path=opt/os-tests/tests/cores/amd64/libdumper.so.1 mode=0755
44file path=opt/os-tests/tests/cores/core_prereqs mode=0555
45file path=opt/os-tests/tests/cores/coretests mode=0555
46file path=opt/os-tests/tests/cores/dumper.32 mode=0555
47file path=opt/os-tests/tests/cores/dumper.64 mode=0555
48file path=opt/os-tests/tests/cores/libdumper.so.1 mode=0755
49file path=opt/os-tests/tests/cores/secmapper mode=0555
50dir  path=opt/os-tests/tests/ddi_ufm
51file path=opt/os-tests/tests/ddi_ufm/ufm-test mode=0555
52file path=opt/os-tests/tests/ddi_ufm/ufm-test-cleanup mode=0555
53file path=opt/os-tests/tests/ddi_ufm/ufm-test-setup mode=0555
54dir  path=opt/os-tests/tests/definit
55file path=opt/os-tests/tests/definit/definit mode=0555
56file path=opt/os-tests/tests/definit/definit_test.32 mode=0555
57file path=opt/os-tests/tests/definit/definit_test.64 mode=0555
58file path=opt/os-tests/tests/definit/init.data mode=0444
59file path=opt/os-tests/tests/definit/init.expected mode=0444
60file path=opt/os-tests/tests/epoll_test mode=0555
61file path=opt/os-tests/tests/eventfd.32 mode=0555
62file path=opt/os-tests/tests/eventfd.64 mode=0555
63dir  path=opt/os-tests/tests/execvpe
64file path=opt/os-tests/tests/execvpe/execvpe-noperm mode=0444
65file path=opt/os-tests/tests/execvpe/execvpe-script mode=0555
66file path=opt/os-tests/tests/execvpe/execvpe-test.32 mode=0555
67file path=opt/os-tests/tests/execvpe/execvpe-test.64 mode=0555
68dir  path=opt/os-tests/tests/file-locking
69file path=opt/os-tests/tests/file-locking/acquire-lock.32 mode=0555
70file path=opt/os-tests/tests/file-locking/acquire-lock.64 mode=0555
71file path=opt/os-tests/tests/file-locking/runtests.32 mode=0555
72file path=opt/os-tests/tests/file-locking/runtests.64 mode=0555
73file path=opt/os-tests/tests/getcontext_extd.32 mode=0555
74file path=opt/os-tests/tests/getcontext_extd.64 mode=0555
75$(i386_ONLY)dir path=opt/os-tests/tests/i386
76$(i386_ONLY)file path=opt/os-tests/tests/i386/badseg mode=0555
77$(i386_ONLY)file path=opt/os-tests/tests/i386/badseg_exec mode=0555
78$(i386_ONLY)file path=opt/os-tests/tests/i386/ldt mode=0555
79dir  path=opt/os-tests/tests/ilstr
80file path=opt/os-tests/tests/ilstr/ilstr_basic.32 mode=0555
81file path=opt/os-tests/tests/ilstr/ilstr_basic.64 mode=0555
82$(i386_ONLY)file path=opt/os-tests/tests/imc_test mode=0555
83dir  path=opt/os-tests/tests/ksensor
84file path=opt/os-tests/tests/ksensor/ksensor_basic.32 mode=0555
85file path=opt/os-tests/tests/ksensor/ksensor_basic.64 mode=0555
86file path=opt/os-tests/tests/ksensor/ksensor_err.32 mode=0555
87file path=opt/os-tests/tests/ksensor/ksensor_err.64 mode=0555
88file path=opt/os-tests/tests/ksensor/ksensor_fini mode=0555
89file path=opt/os-tests/tests/ksensor/ksensor_init mode=0555
90file path=opt/os-tests/tests/ksensor/ksensor_sread.32 mode=0555
91file path=opt/os-tests/tests/ksensor/ksensor_sread.64 mode=0555
92file path=opt/os-tests/tests/ksensor/ksensor_stress mode=0555
93file path=opt/os-tests/tests/ksensor/ksensor_unload mode=0555
94dir  path=opt/os-tests/tests/ksid
95file path=opt/os-tests/tests/ksid/ksid.32 mode=0555
96file path=opt/os-tests/tests/ksid/ksid.64 mode=0555
97dir  path=opt/os-tests/tests/libtopo
98file path=opt/os-tests/tests/libtopo/digraph-test mode=0555
99file path=opt/os-tests/tests/libtopo/digraph-test-in-badedge.xml mode=0444
100file path=opt/os-tests/tests/libtopo/digraph-test-in-badelement.xml mode=0444
101file path=opt/os-tests/tests/libtopo/digraph-test-in-badnum.xml mode=0444
102file path=opt/os-tests/tests/libtopo/digraph-test-in-badscheme.xml mode=0444
103file path=opt/os-tests/tests/libtopo/digraph-test-in.xml mode=0444
104dir  path=opt/os-tests/tests/minttl
105file path=opt/os-tests/tests/minttl/minttl mode=0555
106file path=opt/os-tests/tests/minttl/minttl_err mode=0555
107file path=opt/os-tests/tests/odirectory.32 mode=0555
108file path=opt/os-tests/tests/odirectory.64 mode=0555
109dir  path=opt/os-tests/tests/pf_key
110file path=opt/os-tests/tests/pf_key/15146 mode=0555
111file path=opt/os-tests/tests/pf_key/acquire-compare mode=0555
112file path=opt/os-tests/tests/pf_key/acquire-spray mode=0555
113file path=opt/os-tests/tests/pf_key/eacq-enabler mode=0555
114file path=opt/os-tests/tests/pf_key/kmc-update mode=0555
115file path=opt/os-tests/tests/pf_key/kmc-updater mode=0555
116file path=opt/os-tests/tests/poll_test mode=0555
117dir  path=opt/os-tests/tests/portfs
118file path=opt/os-tests/tests/portfs/file_assoc.32 mode=0555
119file path=opt/os-tests/tests/portfs/file_assoc.64 mode=0555
120dir  path=opt/os-tests/tests/regression
121file path=opt/os-tests/tests/regression/illumos-15031 mode=0555
122file path=opt/os-tests/tests/regression/illumos-15036 mode=0555
123dir  path=opt/os-tests/tests/sdevfs
124file path=opt/os-tests/tests/sdevfs/sdevfs_eisdir mode=0555
125dir  path=opt/os-tests/tests/secflags
126file path=opt/os-tests/tests/secflags/addrs-32 mode=0555
127file path=opt/os-tests/tests/secflags/addrs-64 mode=0555
128file path=opt/os-tests/tests/secflags/secflags_aslr mode=0555
129file path=opt/os-tests/tests/secflags/secflags_core mode=0555
130file path=opt/os-tests/tests/secflags/secflags_dts mode=0555
131file path=opt/os-tests/tests/secflags/secflags_elfdump mode=0555
132file path=opt/os-tests/tests/secflags/secflags_forbidnullmap mode=0555
133file path=opt/os-tests/tests/secflags/secflags_limits mode=0555
134file path=opt/os-tests/tests/secflags/secflags_noexecstack mode=0555
135file path=opt/os-tests/tests/secflags/secflags_proc mode=0555
136file path=opt/os-tests/tests/secflags/secflags_psecflags mode=0555
137file path=opt/os-tests/tests/secflags/secflags_syscall mode=0555
138file path=opt/os-tests/tests/secflags/secflags_truss mode=0555
139file path=opt/os-tests/tests/secflags/secflags_zonecfg mode=0555
140file path=opt/os-tests/tests/secflags/stacky mode=0555
141dir  path=opt/os-tests/tests/signalfd
142file path=opt/os-tests/tests/signalfd/basic_args mode=0555
143file path=opt/os-tests/tests/signalfd/basic_read mode=0555
144file path=opt/os-tests/tests/signalfd/multipoll mode=0555
145dir  path=opt/os-tests/tests/sigqueue
146file path=opt/os-tests/tests/sigqueue/sigqueue_queue_size mode=0555
147dir  path=opt/os-tests/tests/sockfs
148file path=opt/os-tests/tests/sockfs/conn mode=0555
149file path=opt/os-tests/tests/sockfs/dgram mode=0555
150file path=opt/os-tests/tests/sockfs/drop_priv mode=0555
151file path=opt/os-tests/tests/sockfs/nosignal mode=0555
152file path=opt/os-tests/tests/sockfs/recvmsg.32 mode=0555
153file path=opt/os-tests/tests/sockfs/recvmsg.64 mode=0555
154file path=opt/os-tests/tests/sockfs/rights.32 mode=0555
155file path=opt/os-tests/tests/sockfs/rights.64 mode=0555
156file path=opt/os-tests/tests/sockfs/sockpair mode=0555
157file path=opt/os-tests/tests/spoof-ras mode=0555
158dir  path=opt/os-tests/tests/stackalign
159file path=opt/os-tests/tests/stackalign/stackalign.32 mode=0555
160file path=opt/os-tests/tests/stackalign/stackalign.64 mode=0555
161dir  path=opt/os-tests/tests/stress
162file path=opt/os-tests/tests/stress/dladm-kstat mode=0555
163dir  path=opt/os-tests/tests/syscall
164file path=opt/os-tests/tests/syscall/fchmodat.32 mode=0555
165file path=opt/os-tests/tests/syscall/fchmodat.64 mode=0555
166file path=opt/os-tests/tests/syscall/open.32 mode=0555
167file path=opt/os-tests/tests/syscall/open.64 mode=0555
168dir  path=opt/os-tests/tests/timer
169file path=opt/os-tests/tests/timer/timer_limit mode=0555
170dir  path=opt/os-tests/tests/uccid
171file path=opt/os-tests/tests/uccid/atrparse mode=0555
172file path=opt/os-tests/tests/uccid/excl-badread mode=0555
173file path=opt/os-tests/tests/uccid/excl-basic mode=0555
174file path=opt/os-tests/tests/uccid/excl-close mode=0555
175file path=opt/os-tests/tests/uccid/excl-loop mode=0555
176file path=opt/os-tests/tests/uccid/excl-nonblock mode=0555
177file path=opt/os-tests/tests/uccid/excl-reset mode=0555
178file path=opt/os-tests/tests/uccid/modify mode=0555
179file path=opt/os-tests/tests/uccid/notxn-poll mode=0555
180file path=opt/os-tests/tests/uccid/pollin mode=0555
181file path=opt/os-tests/tests/uccid/pollout mode=0555
182file path=opt/os-tests/tests/uccid/status mode=0555
183file path=opt/os-tests/tests/uccid/txn-pollerr mode=0555
184file path=opt/os-tests/tests/uccid/yk mode=0555
185file path=opt/os-tests/tests/uccid/yk-poll mode=0555
186file path=opt/os-tests/tests/uccid/yk-readonly mode=0555
187file path=opt/os-tests/tests/ucontext.32 mode=0555
188file path=opt/os-tests/tests/ucontext.64 mode=0555
189file path=opt/os-tests/tests/writev.32 mode=0555
190file path=opt/os-tests/tests/writev.64 mode=0555
191$(i386_ONLY)dir path=opt/os-tests/tests/xsave
192$(i386_ONLY)file path=opt/os-tests/tests/xsave/bad_xregs.32 mode=0555
193$(i386_ONLY)file path=opt/os-tests/tests/xsave/bad_xregs.64 mode=0555
194$(i386_ONLY)dir path=opt/os-tests/tests/xsave/data
195$(i386_ONLY)file path=opt/os-tests/tests/xsave/data/mdb_xregs.ymm.32 mode=0444
196$(i386_ONLY)file path=opt/os-tests/tests/xsave/data/mdb_xregs.ymm.64 mode=0444
197$(i386_ONLY)file path=opt/os-tests/tests/xsave/data/mdb_xregs.zmm.32 mode=0444
198$(i386_ONLY)file path=opt/os-tests/tests/xsave/data/mdb_xregs.zmm.64 mode=0444
199$(i386_ONLY)file path=opt/os-tests/tests/xsave/data/proc_writes.fpregs.ymm.32 \
200    mode=0444
201$(i386_ONLY)file path=opt/os-tests/tests/xsave/data/proc_writes.fpregs.ymm.64 \
202    mode=0444
203$(i386_ONLY)file path=opt/os-tests/tests/xsave/data/proc_writes.fpregs.zmm.32 \
204    mode=0444
205$(i386_ONLY)file path=opt/os-tests/tests/xsave/data/proc_writes.fpregs.zmm.64 \
206    mode=0444
207$(i386_ONLY)file path=opt/os-tests/tests/xsave/data/proc_writes.xregs.ymm.32 \
208    mode=0444
209$(i386_ONLY)file path=opt/os-tests/tests/xsave/data/proc_writes.xregs.ymm.64 \
210    mode=0444
211$(i386_ONLY)file path=opt/os-tests/tests/xsave/data/proc_writes.xregs.zmm.32 \
212    mode=0444
213$(i386_ONLY)file path=opt/os-tests/tests/xsave/data/proc_writes.xregs.zmm.64 \
214    mode=0444
215$(i386_ONLY)file path=opt/os-tests/tests/xsave/fpregs.32 mode=0555
216$(i386_ONLY)file path=opt/os-tests/tests/xsave/fpregs.64 mode=0555
217$(i386_ONLY)file path=opt/os-tests/tests/xsave/fpregs_xbv.32 mode=0555
218$(i386_ONLY)file path=opt/os-tests/tests/xsave/fpregs_xbv.64 mode=0555
219$(i386_ONLY)file path=opt/os-tests/tests/xsave/mdb_xregs mode=0555
220$(i386_ONLY)file path=opt/os-tests/tests/xsave/proc_writes mode=0555
221$(i386_ONLY)file path=opt/os-tests/tests/xsave/proc_xregs_set.32 mode=0555
222$(i386_ONLY)file path=opt/os-tests/tests/xsave/proc_xregs_set.64 mode=0555
223$(i386_ONLY)file path=opt/os-tests/tests/xsave/setcontext_replace.32 mode=0555
224$(i386_ONLY)file path=opt/os-tests/tests/xsave/setcontext_replace.64 mode=0555
225$(i386_ONLY)file path=opt/os-tests/tests/xsave/setcontext_restore.32 mode=0555
226$(i386_ONLY)file path=opt/os-tests/tests/xsave/setcontext_restore.64 mode=0555
227$(i386_ONLY)file path=opt/os-tests/tests/xsave/signal_restore.32 mode=0555
228$(i386_ONLY)file path=opt/os-tests/tests/xsave/signal_restore.64 mode=0555
229$(i386_ONLY)file path=opt/os-tests/tests/xsave/swapcontext_extd.32 mode=0555
230$(i386_ONLY)file path=opt/os-tests/tests/xsave/swapcontext_extd.64 mode=0555
231$(i386_ONLY)file path=opt/os-tests/tests/xsave/xregs_dump.32 mode=0555
232$(i386_ONLY)file path=opt/os-tests/tests/xsave/xregs_dump.64 mode=0555
233$(i386_ONLY)file path=opt/os-tests/tests/xsave/xregs_roundtrip.32 mode=0555
234$(i386_ONLY)file path=opt/os-tests/tests/xsave/xregs_roundtrip.64 mode=0555
235$(i386_ONLY)file path=opt/os-tests/tests/xsave/xregs_set.32 mode=0555
236$(i386_ONLY)file path=opt/os-tests/tests/xsave/xregs_set.64 mode=0555
237$(i386_ONLY)file path=opt/os-tests/tests/xsave/xsave_baducontext mode=0555
238$(i386_ONLY)file path=opt/os-tests/tests/xsave/xsave_baducontext.32 mode=0555
239$(i386_ONLY)file path=opt/os-tests/tests/xsave/xsave_baducontext.64 mode=0555
240$(i386_ONLY)file path=opt/os-tests/tests/xsave/xsu_hwtype.32 mode=0555
241$(i386_ONLY)file path=opt/os-tests/tests/xsave/xsu_hwtype.64 mode=0555
242file path=opt/os-tests/tests/zen_umc_test mode=0555
243license cr_Sun license=cr_Sun
244license lic_CDDL license=lic_CDDL
245depend type=require fmri=developer/dtrace
246depend type=require fmri=system/io/tests
247depend type=require fmri=system/kernel/dtrace/providers
248depend type=require fmri=system/ksensor
249depend type=require fmri=system/test/testrunner
250