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 by Delphix. All rights reserved.
14# Copyright 2014, OmniTI Computer Consulting, Inc. All rights reserved.
15# Copyright 2015 Garrett D'Amore <garrett@damore.org>
16# Copyright 2018 Joyent, Inc.
17# Copyright 2022 OmniOS Community Edition (OmniOSce) Association.
18# Copyright 2023 Bill Sommerfeld <sommerfeld@alum.mit.edu>
19# Copyright 2024 Oxide Computer Company
20#
21
22set name=pkg.fmri value=pkg:/system/test/libctest@$(PKGVERS)
23set name=pkg.summary value="C Library Unit Test Suite"
24set name=pkg.description value="C library Unit Tests"
25set name=info.classification \
26    value=org.opensolaris.category.2008:Development/System
27set name=variant.arch value=$(ARCH)
28dir  path=opt/libc-tests
29file path=opt/libc-tests/README mode=0444
30dir  path=opt/libc-tests/bin
31file path=opt/libc-tests/bin/libctest mode=0555
32dir  path=opt/libc-tests/cfg
33file path=opt/libc-tests/cfg/README mode=0444
34file path=opt/libc-tests/cfg/compilation.cfg mode=0444
35dir  path=opt/libc-tests/cfg/symbols
36file path=opt/libc-tests/cfg/symbols/README mode=0444
37file path=opt/libc-tests/cfg/symbols/assert_h.cfg mode=0444
38file path=opt/libc-tests/cfg/symbols/ctype_h.cfg mode=0444
39file path=opt/libc-tests/cfg/symbols/dirent_h.cfg mode=0444
40file path=opt/libc-tests/cfg/symbols/fcntl_h.cfg mode=0444
41file path=opt/libc-tests/cfg/symbols/locale_h.cfg mode=0444
42file path=opt/libc-tests/cfg/symbols/math_h.cfg mode=0444
43file path=opt/libc-tests/cfg/symbols/netdb_h.cfg mode=0444
44file path=opt/libc-tests/cfg/symbols/pthread_h.cfg mode=0444
45file path=opt/libc-tests/cfg/symbols/signal_h.cfg mode=0444
46file path=opt/libc-tests/cfg/symbols/stdalign_h.cfg mode=0444
47file path=opt/libc-tests/cfg/symbols/stddef_h.cfg mode=0444
48file path=opt/libc-tests/cfg/symbols/stdio_h.cfg mode=0444
49file path=opt/libc-tests/cfg/symbols/stdlib_h.cfg mode=0444
50file path=opt/libc-tests/cfg/symbols/stdnoreturn_h.cfg mode=0444
51file path=opt/libc-tests/cfg/symbols/string_h.cfg mode=0444
52file path=opt/libc-tests/cfg/symbols/strings_h.cfg mode=0444
53file path=opt/libc-tests/cfg/symbols/sys_atomic_h.cfg mode=0444
54file path=opt/libc-tests/cfg/symbols/sys_mman_h.cfg mode=0444
55file path=opt/libc-tests/cfg/symbols/sys_stat_h.cfg mode=0444
56file path=opt/libc-tests/cfg/symbols/sys_time_h.cfg mode=0444
57file path=opt/libc-tests/cfg/symbols/sys_timeb_h.cfg mode=0444
58file path=opt/libc-tests/cfg/symbols/threads_h.cfg mode=0444
59file path=opt/libc-tests/cfg/symbols/time_h.cfg mode=0444
60file path=opt/libc-tests/cfg/symbols/ucontext_h.cfg mode=0444
61file path=opt/libc-tests/cfg/symbols/unistd_h.cfg mode=0444
62file path=opt/libc-tests/cfg/symbols/wchar_h.cfg mode=0444
63file path=opt/libc-tests/cfg/symbols/wctype_h.cfg mode=0444
64dir  path=opt/libc-tests/runfiles
65file path=opt/libc-tests/runfiles/default.run mode=0444
66dir  path=opt/libc-tests/tests
67file path=opt/libc-tests/tests/aligned_alloc.32 mode=0555
68file path=opt/libc-tests/tests/aligned_alloc.64 mode=0555
69file path=opt/libc-tests/tests/asprintf-14933.32 mode=0555
70file path=opt/libc-tests/tests/asprintf-14933.64 mode=0555
71file path=opt/libc-tests/tests/c11_threads.32 mode=0555
72file path=opt/libc-tests/tests/c11_threads.64 mode=0555
73file path=opt/libc-tests/tests/c11_tss.32 mode=0555
74file path=opt/libc-tests/tests/c11_tss.64 mode=0555
75file path=opt/libc-tests/tests/call_once.32 mode=0555
76file path=opt/libc-tests/tests/call_once.64 mode=0555
77file path=opt/libc-tests/tests/catopen mode=0555
78file path=opt/libc-tests/tests/closefrom.32 mode=0555
79file path=opt/libc-tests/tests/closefrom.64 mode=0555
80file path=opt/libc-tests/tests/endian.32 mode=0555
81file path=opt/libc-tests/tests/endian.64 mode=0555
82file path=opt/libc-tests/tests/env-7076.32 mode=0555
83file path=opt/libc-tests/tests/env-7076.64 mode=0555
84dir  path=opt/libc-tests/tests/err
85dir  path=opt/libc-tests/tests/err/data
86file path=opt/libc-tests/tests/err/data/E.0.3.4 mode=0444
87file path=opt/libc-tests/tests/err/data/E.1.5.6 mode=0444
88file path=opt/libc-tests/tests/err/data/E.2.7.8 mode=0444
89file path=opt/libc-tests/tests/err/data/E.3.9.10 mode=0444
90file path=opt/libc-tests/tests/err/data/E.4.11.12 mode=0444
91file path=opt/libc-tests/tests/err/data/E.5.13.14 mode=0444
92file path=opt/libc-tests/tests/err/data/W.0.3.4 mode=0444
93file path=opt/libc-tests/tests/err/data/W.1.5.6 mode=0444
94file path=opt/libc-tests/tests/err/data/W.2.7.8 mode=0444
95file path=opt/libc-tests/tests/err/data/W.3.9.10 mode=0444
96file path=opt/libc-tests/tests/err/data/W.4.11.12 mode=0444
97file path=opt/libc-tests/tests/err/data/W.5.13.14 mode=0444
98file path=opt/libc-tests/tests/err/err mode=0555
99file path=opt/libc-tests/tests/err/err.ksh mode=0555
100file path=opt/libc-tests/tests/fexecve_test mode=0555
101file path=opt/libc-tests/tests/fexecve_test.$(ARCH) mode=0555
102file path=opt/libc-tests/tests/fexecve_test.$(ARCH64) mode=0555
103file path=opt/libc-tests/tests/fnmatch.32 mode=0555
104file path=opt/libc-tests/tests/fnmatch.64 mode=0555
105file path=opt/libc-tests/tests/fpround_test mode=0555
106file path=opt/libc-tests/tests/fpround_test.$(ARCH) mode=0555
107file path=opt/libc-tests/tests/fpround_test.$(ARCH64) mode=0555
108dir  path=opt/libc-tests/tests/i18n
109file path=opt/libc-tests/tests/i18n/bindtextdomain_test mode=0555
110file path=opt/libc-tests/tests/i18n/bindtextdomain_test.$(ARCH) mode=0555
111file path=opt/libc-tests/tests/i18n/bindtextdomain_test.$(ARCH64) mode=0555
112file path=opt/libc-tests/tests/isatty.32 mode=0555
113file path=opt/libc-tests/tests/isatty.64 mode=0555
114file path=opt/libc-tests/tests/memchr.32 mode=0555
115file path=opt/libc-tests/tests/memchr.64 mode=0555
116file path=opt/libc-tests/tests/memset_s.32 mode=0555
117file path=opt/libc-tests/tests/memset_s.64 mode=0555
118file path=opt/libc-tests/tests/mutex-16200.32 mode=0555
119file path=opt/libc-tests/tests/mutex-16200.64 mode=0555
120file path=opt/libc-tests/tests/newlocale_test mode=0555
121file path=opt/libc-tests/tests/newlocale_test.$(ARCH) mode=0555
122file path=opt/libc-tests/tests/newlocale_test.$(ARCH64) mode=0555
123file path=opt/libc-tests/tests/nl_langinfo_test mode=0555
124file path=opt/libc-tests/tests/nl_langinfo_test.$(ARCH) mode=0555
125file path=opt/libc-tests/tests/nl_langinfo_test.$(ARCH64) mode=0555
126file path=opt/libc-tests/tests/posix_memalign.32 mode=0555
127file path=opt/libc-tests/tests/posix_memalign.64 mode=0555
128file path=opt/libc-tests/tests/printf-15294.32 mode=0555
129file path=opt/libc-tests/tests/printf-15294.64 mode=0555
130file path=opt/libc-tests/tests/printf-6961.64 mode=0555
131file path=opt/libc-tests/tests/printf-9511.32 mode=0555
132file path=opt/libc-tests/tests/printf-9511.64 mode=0555
133file path=opt/libc-tests/tests/priv_gettext mode=0555
134file path=opt/libc-tests/tests/psignal mode=0555
135file path=opt/libc-tests/tests/psignal-5097.32 mode=0555
136file path=opt/libc-tests/tests/psignal-5097.64 mode=0555
137file path=opt/libc-tests/tests/pthread_attr_get_np mode=0555
138dir  path=opt/libc-tests/tests/qsort
139file path=opt/libc-tests/tests/qsort/qsort_test mode=0555
140file path=opt/libc-tests/tests/qsort/qsort_test.$(ARCH) mode=0555
141file path=opt/libc-tests/tests/qsort/qsort_test.$(ARCH64) mode=0555
142file path=opt/libc-tests/tests/quick_exit mode=0555
143file path=opt/libc-tests/tests/quick_exit_order.32 mode=0555
144file path=opt/libc-tests/tests/quick_exit_order.64 mode=0555
145file path=opt/libc-tests/tests/quick_exit_status.32 mode=0555
146file path=opt/libc-tests/tests/quick_exit_status.64 mode=0555
147dir  path=opt/libc-tests/tests/random
148file path=opt/libc-tests/tests/random/arc4key.ksh mode=0555
149file path=opt/libc-tests/tests/random/arc4random mode=0555
150file path=opt/libc-tests/tests/random/arc4random_fork mode=0555
151file path=opt/libc-tests/tests/random/arc4random_forkall mode=0555
152file path=opt/libc-tests/tests/random/arc4random_forksig mode=0555
153file path=opt/libc-tests/tests/random/arc4random_prefork mode=0555
154file path=opt/libc-tests/tests/random/arc4random_preforkall mode=0555
155file path=opt/libc-tests/tests/random/arc4random_preforksig mode=0555
156file path=opt/libc-tests/tests/random/arc4random_rekey mode=0555
157file path=opt/libc-tests/tests/random/chacha mode=0555
158file path=opt/libc-tests/tests/random/getentropy mode=0555
159file path=opt/libc-tests/tests/random/getrandom mode=0555
160file path=opt/libc-tests/tests/random/getrandred mode=0555
161file path=opt/libc-tests/tests/random/inz_child mode=0555
162file path=opt/libc-tests/tests/random/inz_inval mode=0555
163file path=opt/libc-tests/tests/random/inz_mlock mode=0555
164file path=opt/libc-tests/tests/random/inz_region mode=0555
165file path=opt/libc-tests/tests/random/inz_split mode=0555
166file path=opt/libc-tests/tests/random/inz_split_vpp mode=0555
167file path=opt/libc-tests/tests/random/inz_vpp mode=0555
168dir  path=opt/libc-tests/tests/regex
169dir  path=opt/libc-tests/tests/regex/data
170file path=opt/libc-tests/tests/regex/data/basic.dat mode=0444
171file path=opt/libc-tests/tests/regex/data/basic.out mode=0444
172file path=opt/libc-tests/tests/regex/data/bug16127.dat mode=0444
173file path=opt/libc-tests/tests/regex/data/bug16127.out mode=0444
174file path=opt/libc-tests/tests/regex/data/categorize.dat mode=0444
175file path=opt/libc-tests/tests/regex/data/categorize.out mode=0444
176file path=opt/libc-tests/tests/regex/data/forcedassoc.dat mode=0444
177file path=opt/libc-tests/tests/regex/data/forcedassoc.out mode=0444
178file path=opt/libc-tests/tests/regex/data/leftassoc.dat mode=0444
179file path=opt/libc-tests/tests/regex/data/leftassoc.out mode=0444
180file path=opt/libc-tests/tests/regex/data/nullsubexpr.dat mode=0444
181file path=opt/libc-tests/tests/regex/data/nullsubexpr.out mode=0444
182file path=opt/libc-tests/tests/regex/data/repetition.dat mode=0444
183file path=opt/libc-tests/tests/regex/data/repetition.out mode=0444
184file path=opt/libc-tests/tests/regex/data/rightassoc.dat mode=0444
185file path=opt/libc-tests/tests/regex/data/rightassoc.out mode=0444
186file path=opt/libc-tests/tests/regex/regex_test mode=0555
187file path=opt/libc-tests/tests/regex/testregex mode=0555
188dir  path=opt/libc-tests/tests/select
189file path=opt/libc-tests/tests/select/select.sh mode=0555
190file path=opt/libc-tests/tests/select/select_test mode=0555
191file path=opt/libc-tests/tests/set_constraint_handler_s.32 mode=0555
192file path=opt/libc-tests/tests/set_constraint_handler_s.64 mode=0555
193dir  path=opt/libc-tests/tests/stdio
194file path=opt/libc-tests/tests/stdio/fileno.32 mode=0555
195file path=opt/libc-tests/tests/stdio/fileno.64 mode=0555
196file path=opt/libc-tests/tests/stdio/fmemopentest.32 mode=0555
197file path=opt/libc-tests/tests/stdio/fmemopentest.64 mode=0555
198file path=opt/libc-tests/tests/stdio/ftell_ungetc.32 mode=0555
199file path=opt/libc-tests/tests/stdio/ftell_ungetc.64 mode=0555
200file path=opt/libc-tests/tests/stdio/ftello_12768.64 mode=0555
201file path=opt/libc-tests/tests/stdio/ftello_12768.lfs mode=0555
202file path=opt/libc-tests/tests/stdio/memstream.32 mode=0555
203file path=opt/libc-tests/tests/stdio/memstream.64 mode=0555
204file path=opt/libc-tests/tests/stdio/memstream_reopen.32 mode=0555
205file path=opt/libc-tests/tests/stdio/memstream_reopen.64 mode=0555
206file path=opt/libc-tests/tests/stdio/open_memstreamtest.32 mode=0555
207file path=opt/libc-tests/tests/stdio/open_memstreamtest.64 mode=0555
208file path=opt/libc-tests/tests/stdio/orientation_test.32 mode=0555
209file path=opt/libc-tests/tests/stdio/orientation_test.64 mode=0555
210file path=opt/libc-tests/tests/stdio/test_mbrtowc.32 mode=0555
211file path=opt/libc-tests/tests/stdio/test_mbrtowc.64 mode=0555
212file path=opt/libc-tests/tests/strcoll-strxfrm-6907.32 mode=0555
213file path=opt/libc-tests/tests/strcoll-strxfrm-6907.64 mode=0555
214file path=opt/libc-tests/tests/strerror.32 mode=0555
215file path=opt/libc-tests/tests/strerror.64 mode=0555
216file path=opt/libc-tests/tests/strtonum.32 mode=0555
217file path=opt/libc-tests/tests/strtonum.64 mode=0555
218dir  path=opt/libc-tests/tests/symbols
219hardlink path=opt/libc-tests/tests/symbols/assert_h target=setup
220hardlink path=opt/libc-tests/tests/symbols/ctype_h target=setup
221hardlink path=opt/libc-tests/tests/symbols/dirent_h target=setup
222hardlink path=opt/libc-tests/tests/symbols/fcntl_h target=setup
223hardlink path=opt/libc-tests/tests/symbols/locale_h target=setup
224hardlink path=opt/libc-tests/tests/symbols/math_h target=setup
225hardlink path=opt/libc-tests/tests/symbols/netdb_h target=setup
226hardlink path=opt/libc-tests/tests/symbols/pthread_h target=setup
227file path=opt/libc-tests/tests/symbols/setup mode=0555
228hardlink path=opt/libc-tests/tests/symbols/signal_h target=setup
229hardlink path=opt/libc-tests/tests/symbols/stdalign_h target=setup
230hardlink path=opt/libc-tests/tests/symbols/stddef_h target=setup
231hardlink path=opt/libc-tests/tests/symbols/stdio_h target=setup
232hardlink path=opt/libc-tests/tests/symbols/stdlib_h target=setup
233hardlink path=opt/libc-tests/tests/symbols/stdnoreturn_h target=setup
234hardlink path=opt/libc-tests/tests/symbols/string_h target=setup
235hardlink path=opt/libc-tests/tests/symbols/strings_h target=setup
236file path=opt/libc-tests/tests/symbols/symbols_test.$(ARCH) mode=0555
237file path=opt/libc-tests/tests/symbols/symbols_test.$(ARCH64) mode=0555
238hardlink path=opt/libc-tests/tests/symbols/sys_atomic_h target=setup
239hardlink path=opt/libc-tests/tests/symbols/sys_mman_h target=setup
240hardlink path=opt/libc-tests/tests/symbols/sys_stat_h target=setup
241hardlink path=opt/libc-tests/tests/symbols/sys_time_h target=setup
242hardlink path=opt/libc-tests/tests/symbols/sys_timeb_h target=setup
243hardlink path=opt/libc-tests/tests/symbols/threads_h target=setup
244hardlink path=opt/libc-tests/tests/symbols/time_h target=setup
245hardlink path=opt/libc-tests/tests/symbols/ucontext_h target=setup
246hardlink path=opt/libc-tests/tests/symbols/unistd_h target=setup
247hardlink path=opt/libc-tests/tests/symbols/wchar_h target=setup
248hardlink path=opt/libc-tests/tests/symbols/wctype_h target=setup
249file path=opt/libc-tests/tests/thread_name mode=0555
250file path=opt/libc-tests/tests/timespec_get.32 mode=0555
251file path=opt/libc-tests/tests/timespec_get.64 mode=0555
252file path=opt/libc-tests/tests/uchar.32 mode=0555
253file path=opt/libc-tests/tests/uchar.64 mode=0555
254file path=opt/libc-tests/tests/utimes.32 mode=0555
255file path=opt/libc-tests/tests/utimes.64 mode=0555
256file path=opt/libc-tests/tests/wcsncasecmp-7344.32 mode=0555
257file path=opt/libc-tests/tests/wcsncasecmp-7344.64 mode=0555
258file path=opt/libc-tests/tests/wcsncasecmp-7350.32 mode=0555
259file path=opt/libc-tests/tests/wcsncasecmp-7350.64 mode=0555
260file path=opt/libc-tests/tests/wcsncasecmp.32 mode=0555
261file path=opt/libc-tests/tests/wcsncasecmp.64 mode=0555
262file path=opt/libc-tests/tests/wcsrtombs_test mode=0555
263file path=opt/libc-tests/tests/wcsrtombs_test.$(ARCH) mode=0555
264file path=opt/libc-tests/tests/wcsrtombs_test.$(ARCH64) mode=0555
265file path=opt/libc-tests/tests/wctype_test mode=0555
266file path=opt/libc-tests/tests/wctype_test.$(ARCH) mode=0555
267file path=opt/libc-tests/tests/wctype_test.$(ARCH64) mode=0555
268dir  path=usr group=sys
269dir  path=usr/lib
270dir  path=usr/lib/locale
271dir  path=usr/lib/locale/zz_AA.UTF-8
272dir  path=usr/lib/locale/zz_AA.UTF-8/LC_COLLATE
273file path=usr/lib/locale/zz_AA.UTF-8/LC_COLLATE/LCL_DATA mode=0444
274dir  path=usr/lib/locale/zz_AA.UTF-8/LC_CTYPE
275file path=usr/lib/locale/zz_AA.UTF-8/LC_CTYPE/LCL_DATA mode=0444
276dir  path=usr/lib/locale/zz_AA.UTF-8/LC_MESSAGES
277file path=usr/lib/locale/zz_AA.UTF-8/LC_MESSAGES/LCL_DATA mode=0444
278file path=usr/lib/locale/zz_AA.UTF-8/LC_MESSAGES/SUNW_OST_OSLIB.mo mode=0444
279file path=usr/lib/locale/zz_AA.UTF-8/LC_MESSAGES/priv_names mode=0444
280dir  path=usr/lib/locale/zz_AA.UTF-8/LC_MONETARY
281file path=usr/lib/locale/zz_AA.UTF-8/LC_MONETARY/LCL_DATA mode=0444
282dir  path=usr/lib/locale/zz_AA.UTF-8/LC_NUMERIC
283file path=usr/lib/locale/zz_AA.UTF-8/LC_NUMERIC/LCL_DATA mode=0444
284dir  path=usr/lib/locale/zz_AA.UTF-8/LC_TIME
285file path=usr/lib/locale/zz_AA.UTF-8/LC_TIME/LCL_DATA mode=0444
286license lic_CDDL license=lic_CDDL
287license usr/src/test/libc-tests/tests/regex/THIRDPARTYLICENSE \
288    license=usr/src/test/libc-tests/tests/regex/THIRDPARTYLICENSE
289depend type=require fmri=developer/dtrace
290depend type=require fmri=locale/ar
291depend type=require fmri=locale/de
292depend type=require fmri=locale/en
293depend type=require fmri=locale/en-extra
294depend type=require fmri=locale/ja
295depend type=require fmri=locale/ru
296depend type=require fmri=system/kernel/dtrace/providers
297depend type=require fmri=system/scheduler/fss
298depend type=require fmri=system/test/testrunner
299