xref: /illumos-gate/usr/src/test/util-tests/runfiles/default.run (revision fe231ea6f3cdffee825d2e92e1a4639b3bc796b7)
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#
79# The awk tests have a number of individual tests which can take several
80# minutes to run. Bumping the timeout to 5 minutes should cover us
81# reasonably well as of 7 Aug 2019.
82#
83[/opt/util-tests/tests/awk]
84user = nobody
85tests = [ 'runtests.sh' ]
86timeout = 300
87
88[/opt/util-tests/tests/grep_test]
89[/opt/util-tests/tests/date_test]
90
91[/opt/util-tests/tests/chown_test]
92user = root
93
94[/opt/util-tests/tests/make_test]
95[/opt/util-tests/tests/head/head_test]
96
97[/opt/util-tests/tests/demangle]
98tests = ['afl-fast', 'gcc-libstdc++', 'llvm-stdcxxabi']
99
100[/opt/util-tests/tests/ctf]
101pre = precheck
102tests = [ 'ctftest' ]
103
104[/opt/util-tests/tests/libcustr]
105tests = ['custr_remove', 'custr_trunc']
106
107[/opt/util-tests/tests/find/findtest]
108
109[/opt/util-tests/tests/find/findroot]
110user=root
111
112[/opt/util-tests/tests/mdb/mdbtest]
113
114[/opt/util-tests/tests/sed]
115tests = ['sed_addr', 'multi_test']
116
117[/opt/util-tests/tests/pcidbtest]
118[/opt/util-tests/tests/pcieadmtest]
119[/opt/util-tests/tests/pcieadm-priv]
120user = root
121
122[/opt/util-tests/tests/svr4pkg_test]
123user = root
124
125[/opt/util-tests/tests/ar/artest]
126[/opt/util-tests/tests/cpio/cpio_test]
127[/opt/util-tests/tests/pwd-test]
128
129#
130# This test ndeds to run as an explicitly unprivileged user to ensure that the
131# mv checks around permissions don't fire due to super-user privileges. We use
132# nobody here as well for ln-LP to ensure no hardlinks to directories are
133# created.
134#
135[/opt/util-tests/tests/cpmvln/overwrite]
136user = nobody
137[/opt/util-tests/tests/cpmvln/no-targ]
138user = nobody
139[/opt/util-tests/tests/cpmvln/ln-LP]
140user = nobody
141
142#
143# Ensure nothing in the rm tests can succeed because of privileges. The test
144# also enforces that it's not running with a uid of 0.
145#
146[/opt/util-tests/tests/rm/rm-test]
147user = nobody
148