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