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