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    shuf
99    sleep
100    sort
101    stat
102    strings
103    su
104    sudo
105    sum
106    svcs
107    sync
108    tail
109    tee
110    timeout
111    touch
112    tr
113    true
114    truncate
115    umask
116    uname
117    uncompress
118    unpack
119    vmstat
120    wait
121    wc
122    xargs
123    zlook
124    zonename'
125
126export USR_SBIN_FILES='arp
127    clri
128    dtrace
129    dumpadm
130    ff
131    format
132    fsck
133    fsdb
134    fsirand
135    fstyp
136    getmajor
137    groupadd
138    groupdel
139    groupmod
140    labelit
141    lockfs
142    lofiadm
143    mkfile
144    mknod
145    ncheck
146    newfs
147    ping
148    prtvtoc
149    psrinfo
150    quotaon
151    share
152    svcadm
153    swap
154    tar
155    tunefs
156    ufsdump
157    ufsrestore
158    unshare
159    useradd
160    userdel
161    usermod
162    zdb
163    zhack
164    zinject
165    zoneadm
166    zonecfg
167    zstreamdump'
168
169export SBIN_FILES='fdisk
170    mount
171    swapadd
172    umount
173    umountall
174    zfs
175    zpool'
176
177export ZFSTEST_FILES='chg_usr_exec
178    devname2devid
179    dir_rd_update
180    dos_ro
181    file_check
182    file_trunc
183    file_write
184    getholes
185    largest_file
186    mkbusy
187    mkfiles
188    mkholes
189    mktree
190    mmapwrite
191    randfree_file
192    randwritecomp
193    readmmap
194    rename_dir
195    rm_lnkcnt_zero_file'
196