003 File Manager
Current Path:
/usr/src/tests/sys/cddl/zfs/include
usr
/
src
/
tests
/
sys
/
cddl
/
zfs
/
include
/
📁
..
📄
Makefile
(793 B)
📄
commands.txt
(3.77 KB)
📄
constants.cfg
(2.82 KB)
📄
default.cfg.in
(1.54 KB)
📄
libgnop.kshlib
(3.01 KB)
📄
libremote.kshlib
(1.27 KB)
📄
libtest.kshlib
(74.58 KB)
📄
libtest_test.sh
(1.28 KB)
📄
logapi.kshlib
(7.72 KB)
📄
stf.shlib
(1.49 KB)
📄
testenv.ksh
(689 B)
📄
testenv.kshlib
(708 B)
📄
translatecommands.awk
(612 B)
Editing: testenv.kshlib
# vim: filetype=sh # $FreeBSD$ . ${STF_SUITE}/include/libtest.kshlib . ${STF_SUITE}/include/commands.cfg # Environment-dependent constants. for d in `geom disk list | awk '/Name:/ {print $3}'`; do # Clear the GPT label first to avoid spurious create failures. gpart destroy -F $d >/dev/null 2>&1 if gpart create -s gpt $d >/dev/null 2>&1 ; then gpart destroy $d >/dev/null 2>&1 || continue DISKS=("${DISKS[@]}" "/dev/$d") #"$DISKS $d" fi # Don't bother testing any more if we have enough already. # Currently we use at most 5 disks plus 1 for temporary disks. [ ${#DISKS[@]} -eq 6 ] && break done export KEEP="$(zpool list -H -o name)" # Pull in constants. . ${STF_SUITE}/include/constants.cfg
Upload File
Create Folder