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