xref: /illumos-gate/usr/src/test/zfs-tests/include/commands.cfg (revision 67fa3f2c31312dc0caac188f568ab1fdc6b27295)
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) 2016, 2019 by Delphix. All rights reserved.
14# Copyright 2020 Joyent, Inc.
15# Copyright 2023 MNX Cloud, Inc.
16#
17
18#
19# These variables are used by zfstest.ksh to constrain which utilities
20# may be used by the suite. The suite will create a directory which is
21# the only element of $PATH and create symlinks from that dir to the
22# binaries listed below.
23# Please keep the contents of each variable sorted for ease of reading
24# and maintenance.
25#
26export USR_BIN_FILES='awk
27    base64
28    basename
29    bc
30    bunzip2
31    bzcat
32    cat
33    cd
34    chgrp
35    chmod
36    chown
37    cksum
38    cmp
39    compress
40    coreadm
41    cp
42    cpio
43    cut
44    date
45    dd
46    df
47    diff
48    digest
49    dircmp
50    dirname
51    du
52    echo
53    egrep
54    expr
55    false
56    file
57    find
58    fio
59    getent
60    grep
61    head
62    hostid
63    hostname
64    id
65    iostat
66    isainfo
67    kill
68    ksh
69    kstat
70    ln
71    logname
72    ls
73    md5sum
74    mdb
75    mkdir
76    mktemp
77    mpstat
78    mv
79    nawk
80    od
81    pack
82    pagesize
83    passwd
84    pax
85    pfexec
86    pgrep
87    pkill
88    ppriv
89    print
90    printf
91    ps
92    pwd
93    python
94    raidz_test
95    readlink
96    rm
97    rmdir
98    rsh
99    runat
100    sed
101    seq
102    sha256sum
103    shuf
104    sleep
105    sort
106    stat
107    strings
108    su
109    sudo
110    sum
111    svcs
112    sync
113    tail
114    tee
115    timeout
116    touch
117    tr
118    true
119    truncate
120    umask
121    uname
122    uncompress
123    unpack
124    vmstat
125    wait
126    wc
127    xargs
128    zlook
129    zonename'
130
131export USR_SBIN_FILES='arp
132    clri
133    dtrace
134    dumpadm
135    ff
136    format
137    fsck
138    fsdb
139    fsirand
140    fstyp
141    getmajor
142    groupadd
143    groupdel
144    groupmod
145    labelit
146    lockfs
147    lofiadm
148    mkfile
149    mknod
150    ncheck
151    newfs
152    ping
153    prtvtoc
154    psrinfo
155    quotaon
156    share
157    svcadm
158    swap
159    tar
160    tunefs
161    ufsdump
162    ufsrestore
163    unshare
164    useradd
165    userdel
166    usermod
167    zdb
168    zhack
169    zinject
170    zoneadm
171    zonecfg
172    zstreamdump'
173
174export SBIN_FILES='fdisk
175    mount
176    swapadd
177    umount
178    umountall
179    zfs
180    zpool'
181
182export ZFSTEST_FILES='btree_test
183    chg_usr_exec
184    devname2devid
185    dir_rd_update
186    dos_ro
187    file_check
188    file_trunc
189    file_write
190    getholes
191    has_unmap
192    largest_file
193    libzfs_input_check
194    mkbusy
195    mkfiles
196    mkholes
197    mktree
198    mmapwrite
199    randfree_file
200    randwritecomp
201    readmmap
202    rename_dir
203    rm_lnkcnt_zero_file'
204