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