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    hostid
60    hostname
61    id
62    iostat
63    isainfo
64    kill
65    ksh
66    kstat
67    ln
68    logname
69    ls
70    md5sum
71    mdb
72    mkdir
73    mktemp
74    mpstat
75    mv
76    nawk
77    od
78    pack
79    pagesize
80    passwd
81    pax
82    pfexec
83    pgrep
84    pkill
85    ppriv
86    print
87    printf
88    ps
89    pwd
90    python
91    readlink
92    rm
93    rmdir
94    rsh
95    runat
96    sed
97    seq
98    sha256sum
99    shuf
100    sleep
101    sort
102    stat
103    strings
104    su
105    sudo
106    sum
107    svcs
108    sync
109    tail
110    tee
111    timeout
112    touch
113    tr
114    true
115    truncate
116    umask
117    uname
118    uncompress
119    unpack
120    vmstat
121    wait
122    wc
123    xargs
124    zlook
125    zonename'
126
127export USR_SBIN_FILES='arp
128    clri
129    dtrace
130    dumpadm
131    ff
132    format
133    fsck
134    fsdb
135    fsirand
136    fstyp
137    getmajor
138    groupadd
139    groupdel
140    groupmod
141    labelit
142    lockfs
143    lofiadm
144    mkfile
145    mknod
146    ncheck
147    newfs
148    ping
149    prtvtoc
150    psrinfo
151    quotaon
152    share
153    svcadm
154    swap
155    tar
156    tunefs
157    ufsdump
158    ufsrestore
159    unshare
160    useradd
161    userdel
162    usermod
163    zdb
164    zhack
165    zinject
166    zoneadm
167    zonecfg
168    zstreamdump'
169
170export SBIN_FILES='fdisk
171    mount
172    swapadd
173    umount
174    umountall
175    zfs
176    zpool'
177
178export ZFSTEST_FILES='chg_usr_exec
179    devname2devid
180    dir_rd_update
181    dos_ro
182    file_check
183    file_trunc
184    file_write
185    getholes
186    largest_file
187    mkbusy
188    mkfiles
189    mkholes
190    mktree
191    mmapwrite
192    randfree_file
193    randwritecomp
194    readmmap
195    rename_dir
196    rm_lnkcnt_zero_file'
197