xref: /illumos-gate/usr/src/test/util-tests/runfiles/default.run (revision 438283cf397cce47d80cc67b04bbfdfe73b0d142)
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 Garrett D'Amore <garrett@damore.org>
15# Copyright 2014 Nexenta Systems, Inc. All rights reserved.
16# Copyright 2020 Joyent, Inc.
17# Copyright 2022 OmniOS Community Edition (OmniOSce) Association.
18# Copyright 2026 Hans Rosenfeld
19#
20
21[DEFAULT]
22pre =
23verbose = False
24quiet = False
25timeout = 60
26post =
27outputdir = /var/tmp/test_results
28
29[/opt/util-tests/tests/du/dutest]
30
31[/opt/util-tests/tests/iconv_test]
32[/opt/util-tests/tests/printf_test]
33
34[/opt/util-tests/tests/dladm/allowed-ips]
35user = root
36
37[/opt/util-tests/tests/dladm/create-vnic]
38user = root
39
40[/opt/util-tests/tests/dladm/set-linkprop]
41user = root
42
43[/opt/util-tests/tests/dladm/show-class-confusion]
44user = root
45
46[/opt/util-tests/tests/dladm/show-overlay-exit]
47user = root
48
49[/opt/util-tests/tests/libsff/libsff]
50[/opt/util-tests/tests/libjedec_vendors.32]
51[/opt/util-tests/tests/libjedec_temp.32]
52[/opt/util-tests/tests/libjedec_spd.32]
53[/opt/util-tests/tests/libjedec_hex2spd.32]
54[/opt/util-tests/tests/libjedec_vendors.64]
55[/opt/util-tests/tests/libjedec_temp.64]
56[/opt/util-tests/tests/libjedec_spd.64]
57[/opt/util-tests/tests/libjedec_hex2spd.64]
58[/opt/util-tests/tests/smbios.32]
59[/opt/util-tests/tests/smbios.64]
60
61#
62# The sleep tests require destructive DTrace. Therefore they must be run
63# as root.
64#
65[/opt/util-tests/tests/sleep/sleeptest]
66user = root
67
68[/opt/util-tests/tests/xargs_test]
69
70[/opt/util-tests/tests/mergeq/mqt]
71[/opt/util-tests/tests/mergeq/wqt]
72
73[/opt/util-tests/tests/libnvpair_json]
74tests = ['json_00_blank', 'json_01_boolean', 'json_02_numbers',
75    'json_03_empty_arrays', 'json_04_number_arrays', 'json_05_strings',
76    'json_06_nested', 'json_07_nested_arrays']
77
78[/opt/util-tests/tests/libdhcputil.32]
79[/opt/util-tests/tests/libdhcputil.64]
80
81#
82# The awk tests have a number of individual tests which can take several
83# minutes to run. Bumping the timeout to 5 minutes should cover us
84# reasonably well as of 7 Aug 2019.
85#
86[/opt/util-tests/tests/awk]
87user = nobody
88tests = [ 'runtests.sh' ]
89timeout = 300
90
91[/opt/util-tests/tests/grep_test]
92[/opt/util-tests/tests/date_test]
93
94[/opt/util-tests/tests/chown_test]
95user = root
96
97[/opt/util-tests/tests/make_test]
98[/opt/util-tests/tests/head/head_test]
99
100[/opt/util-tests/tests/demangle]
101tests = ['afl-fast', 'gcc-libstdc++', 'llvm-stdcxxabi']
102
103[/opt/util-tests/tests/ctf]
104pre = precheck
105tests = [ 'ctftest' ]
106
107[/opt/util-tests/tests/libcustr]
108tests = ['custr_remove', 'custr_trunc']
109
110[/opt/util-tests/tests/find/findtest]
111
112[/opt/util-tests/tests/find/findroot]
113user=root
114
115[/opt/util-tests/tests/mdb/mdbtest]
116
117[/opt/util-tests/tests/sed]
118tests = ['sed_addr', 'multi_test']
119
120[/opt/util-tests/tests/pcidbtest]
121[/opt/util-tests/tests/pcieadmtest]
122[/opt/util-tests/tests/pcieadm-priv]
123user = root
124
125[/opt/util-tests/tests/svr4pkg_test]
126user = root
127
128[/opt/util-tests/tests/ar/artest]
129[/opt/util-tests/tests/cpio/cpio_test]
130[/opt/util-tests/tests/pwd-test]
131
132#
133# This test ndeds to run as an explicitly unprivileged user to ensure that the
134# mv checks around permissions don't fire due to super-user privileges. We use
135# nobody here as well for ln-LP to ensure no hardlinks to directories are
136# created.
137#
138[/opt/util-tests/tests/cpmvln/overwrite]
139user = nobody
140[/opt/util-tests/tests/cpmvln/no-targ]
141user = nobody
142[/opt/util-tests/tests/cpmvln/ln-LP]
143user = nobody
144
145#
146# Ensure nothing in the rm tests can succeed because of privileges. The test
147# also enforces that it's not running with a uid of 0.
148#
149[/opt/util-tests/tests/rm/rm-test]
150user = nobody
151