Home
last modified time | relevance | path

Searched refs:TEST_BASE_DIR (Results 1 – 25 of 247) sorted by relevance

12345678910

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/
H A Dxattr_common.kshlib63 runat $FILE1 cat $XATTR_NAME > $TEST_BASE_DIR/file1.$$
64 runat $FILE2 cat $XATTR_NAME > $TEST_BASE_DIR/file2.$$
66 get_xattr $XATTR_NAME $FILE1 > $TEST_BASE_DIR/file1.$$
67 get_xattr $XATTR_NAME $FILE2 > $TEST_BASE_DIR/file2.$$
70 log_must diff $TEST_BASE_DIR/file1.$$ $TEST_BASE_DIR/file2.$$
71 log_must rm $TEST_BASE_DIR/file1.$$ $TEST_BASE_DIR/file2.$$
82 "runat $FILE cat $XATTR_NAME > $TEST_BASE_DIR/$XATTR_NAME.$$ 2>&1"
85 "get_xattr $XATTR_NAME $FILE > $TEST_BASE_DIR/$XATTR_NAME.$$"
88 log_must diff $XATTR_CONTENTS $TEST_BASE_DIR/$XATTR_NAME.$$
89 rm $TEST_BASE_DIR/$XATTR_NAME.$$
[all …]
H A Dxattr_007_neg.ksh52 log_must rm $TEST_BASE_DIR/output.$$
53 [[ -e $TEST_BASE_DIR/expected_output.$$ ]] && log_must rm \
54 $TEST_BASE_DIR/expected_output.$$
73 cp /etc/passwd . > $TEST_BASE_DIR/output.$$ 2>&1"
74 log_must grep -i Read-only $TEST_BASE_DIR/output.$$
76 ls > $TEST_BASE_DIR/output.$$ 2>&1"
77 create_expected_output $TEST_BASE_DIR/expected_output.$$ SUNWattr_ro SUNWattr_rw
80 </etc/passwd > $TEST_BASE_DIR/output.$$ 2>&1"
81 log_must grep -i Read-only $TEST_BASE_DIR/output.$$
83 > $TEST_BASE_DIR/output.$$ 2>&1"
[all …]
H A Dxattr_008_pos.ksh46 for file in $TEST_BASE_DIR/output.$$ $TEST_BASE_DIR/expected-output.$$ \
60 log_must eval "runat $TESTDIR/myfile.$$ ls . > $TEST_BASE_DIR/output.$$"
61 create_expected_output $TEST_BASE_DIR/expected-output.$$ \
63 log_must diff $TEST_BASE_DIR/output.$$ $TEST_BASE_DIR/expected-output.$$
65 log_must eval "runat $TESTDIR/myfile.$$ ls -a . > $TEST_BASE_DIR/output.$$"
66 create_expected_output $TEST_BASE_DIR/expected-output.$$ . .. \
68 log_must diff $TEST_BASE_DIR/output.$$ $TEST_BASE_DIR/expected-output.$$
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/misc/
H A Dsetup.ksh72 zfs send $TESTPOOL/$TESTFS@snap > $TEST_BASE_DIR/zfstest_datastream.dat
73 if [ ! -s $TEST_BASE_DIR/zfstest_datastream.dat ]
77 log_must chmod 644 $TEST_BASE_DIR/zfstest_datastream.dat
119 mkfile $MINVDEVSIZE $TEST_BASE_DIR/disk1.dat
120 mkfile $MINVDEVSIZE $TEST_BASE_DIR/disk2.dat
121 mkfile $MINVDEVSIZE $TEST_BASE_DIR/disk3.dat
122 mkfile $MINVDEVSIZE $TEST_BASE_DIR/disk-additional.dat
123 mkfile $MINVDEVSIZE $TEST_BASE_DIR/disk-export.dat
124 mkfile $MINVDEVSIZE $TEST_BASE_DIR/disk-offline.dat
125 mkfile $MINVDEVSIZE $TEST_BASE_DIR/disk-spare1.dat
[all …]
H A Dcleanup.ksh43 log_must rm -f $TEST_BASE_DIR/zfstest_datastream.dat
44 log_must rm -f $TEST_BASE_DIR/disk1.dat $TEST_BASE_DIR/disk2.dat \
45 $TEST_BASE_DIR/disk3.dat $TEST_BASE_DIR/disk-additional.dat \
46 $TEST_BASE_DIR/disk-export.dat $TEST_BASE_DIR/disk-offline.dat \
47 $TEST_BASE_DIR/disk-spare1.dat $TEST_BASE_DIR/disk-spare2.dat
48 log_must rm -f $TEST_BASE_DIR/zfs-pool-v1.dat \
49 $TEST_BASE_DIR/zfs-pool-v1.dat.bz2
H A Dzpool_status_001_neg.ksh48 RESULT=$(grep "pool:" $TEST_BASE_DIR/pool-status.$$)
53 rm $TEST_BASE_DIR/pool-status.$$
60 log_must eval "zpool status > $TEST_BASE_DIR/pool-status.$$"
63 log_must eval "zpool status -v > $TEST_BASE_DIR/pool-status.$$"
66 log_must eval "zpool status $TESTPOOL> $TEST_BASE_DIR/pool-status.$$"
69 log_must eval "zpool status -v $TESTPOOL > $TEST_BASE_DIR/pool-status.$$"
H A Dzfs_send_001_neg.ksh48 if [ -e $TEST_BASE_DIR/zfstest_datastream.$$ ]
50 log_must rm $TEST_BASE_DIR/zfstest_datastream.$$
57 log_mustnot eval "zfs send $TESTPOOL/$TESTFS@snap > $TEST_BASE_DIR/zfstest_datastream.$$"
62 if [ -s $TEST_BASE_DIR/zfstest_datastream.$$ ]
64 log_fail "A zfs send file was created in $TEST_BASE_DIR/zfstest_datastream.$$ !"
H A Dzdb_001_neg.ksh53 rm -f $TEST_BASE_DIR/zdb_001_neg.$$.txt
61 log_must eval "zdb > $TEST_BASE_DIR/zdb_001_neg.$$.txt"
63 log_must grep -q pool_guid $TEST_BASE_DIR/zdb_001_neg.$$.txt
64 log_must rm $TEST_BASE_DIR/zdb_001_neg.$$.txt
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/
H A Dzpool_labelclear_valid.ksh49 PATTERN_FILE=$TEST_BASE_DIR/pattern
50 DISK_PATTERN_FILE=$TEST_BASE_DIR/disk-pattern
52 DEVICE1="$TEST_BASE_DIR/device-1"
53 DEVICE2="$TEST_BASE_DIR/device-2"
54 DEVICE3="$TEST_BASE_DIR/device-3"
55 DEVICE4="$TEST_BASE_DIR/device-4"
72 log_must eval "zpool import -d $TEST_BASE_DIR | grep $TESTPOOL"
80 log_mustnot eval "zpool import -d $TEST_BASE_DIR | grep $TESTPOOL"
H A Dzpool_labelclear_removed.ksh41 DEVICE1="$TEST_BASE_DIR/device-1"
42 DEVICE2="$TEST_BASE_DIR/device-2"
43 DEVICE3="$TEST_BASE_DIR/device-3"
44 DEVICE4="$TEST_BASE_DIR/device-4"
45 DEVICE5="$TEST_BASE_DIR/device-5"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_copies/
H A Dzfs_copies_005_neg.ksh52 if [[ -f $TEST_BASE_DIR/$ZPOOL_VERSION_1_FILES ]]; then
53 rm -f $TEST_BASE_DIR/$ZPOOL_VERSION_1_FILES
56 if [[ -f $TEST_BASE_DIR/${ZPOOL_VERSION_1_FILES%.*} ]]; then
57 rm -f $TEST_BASE_DIR/${ZPOOL_VERSION_1_FILES%.*}
64 …$STF_SUITE/tests/functional/cli_root/zpool_upgrade/blockfiles/$ZPOOL_VERSION_1_FILES $TEST_BASE_DIR
65 log_must bunzip2 $TEST_BASE_DIR/$ZPOOL_VERSION_1_FILES
66 log_must zpool import -d $TEST_BASE_DIR $ZPOOL_VERSION_1_NAME
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_add/
H A Dadd_nested_replacing_spare.ksh54 FAULT_DEV="$TEST_BASE_DIR/fault-dev"
55 SAFE_DEV1="$TEST_BASE_DIR/safe-dev1"
56 SAFE_DEV2="$TEST_BASE_DIR/safe-dev2"
57 SAFE_DEV3="$TEST_BASE_DIR/safe-dev3"
59 REPLACE_DEV="$TEST_BASE_DIR/replace-dev"
60 ADD_DEV="$TEST_BASE_DIR/add-dev"
62 SPARE_DEV1="$TEST_BASE_DIR/spare-dev1"
63 SPARE_DEV2="$TEST_BASE_DIR/spare-dev2"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/alloc_class/
H A Dalloc_class.cfg19 export ZPOOL_DISK0="$TEST_BASE_DIR/device-0"
20 export ZPOOL_DISK1="$TEST_BASE_DIR/device-1"
21 export ZPOOL_DISK2="$TEST_BASE_DIR/device-2"
24 export CLASS_DISK0="$TEST_BASE_DIR/device-3"
25 export CLASS_DISK1="$TEST_BASE_DIR/device-4"
26 export CLASS_DISK2="$TEST_BASE_DIR/device-5"
27 export CLASS_DISK3="$TEST_BASE_DIR/device-6"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/include/
H A Ddefault.cfg.in66 export TEST_BASE_DIR="$(dirname ${FILEDIR:-/var/tmp}/.)"
92 export TESTDIR=${TEST_BASE_DIR%%/}/testdir
93 export TESTDIR0=${TEST_BASE_DIR%%/}/testdir0
94 export TESTDIR1=${TEST_BASE_DIR%%/}/testdir1
95 export TESTDIR2=${TEST_BASE_DIR%%/}/testdir2
103 export TEMPFILE=${TEST_BASE_DIR%%/}/tempfile$$
104 export TEMPFILE0=${TEST_BASE_DIR%%/}/tempfile0$$
105 export TEMPFILE1=${TEST_BASE_DIR%%/}/tempfile1$$
106 export TEMPFILE2=${TEST_BASE_DIR%%/}/tempfile2$$
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/events/
H A Devents.cfg29 VDEV1=$TEST_BASE_DIR/vdev1
30 VDEV2=$TEST_BASE_DIR/vdev2
31 VDEV3=$TEST_BASE_DIR/vdev3
32 VDEV4=$TEST_BASE_DIR/vdev4
34 export TMP_EVENTS=$TEST_BASE_DIR/tmp_events.$$
35 export TMP_EVENTS_FULL=$TEST_BASE_DIR/tmp_events_full.$$
36 export TMP_EVENTS_ZED=$TEST_BASE_DIR/tmp_events_zed.$$
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_024_pos.ksh56 typeset vdev0="$TEST_BASE_DIR/$pool-vdev0.img"
57 typeset vdev1="$TEST_BASE_DIR/$pool-vdev1.img"
78 typeset vdev0="$TEST_BASE_DIR/$pool-vdev0.img"
79 typeset vdev1="$TEST_BASE_DIR/$pool-vdev1.img"
125 typeset vdev0="$TEST_BASE_DIR/$pool-vdev0.img"
126 typeset vdev1="$TEST_BASE_DIR/$pool-vdev1.img"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/
H A Dauto_spare_multiple.ksh62 FAULT_DEV1="$TEST_BASE_DIR/fault-dev1"
63 FAULT_DEV2="$TEST_BASE_DIR/fault-dev2"
64 SAFE_DEV1="$TEST_BASE_DIR/safe-dev1"
65 SAFE_DEV2="$TEST_BASE_DIR/safe-dev2"
66 SAFE_DEV3="$TEST_BASE_DIR/safe-dev3"
67 SAFE_DEV4="$TEST_BASE_DIR/safe-dev4"
69 SPARE_DEV1="$TEST_BASE_DIR/spare-dev1"
70 SPARE_DEV2="$TEST_BASE_DIR/spare-dev2"
H A Dfault.cfg51 export VDEV_FILES="$TEST_BASE_DIR/file-1 $TEST_BASE_DIR/file-2 \
52 $TEST_BASE_DIR/file-3 $TEST_BASE_DIR/file-4"
53 export SPARE_FILE="$TEST_BASE_DIR/spare-1"
54 export FAULT_FILE="$TEST_BASE_DIR/file-1"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/poolversion/
H A Dsetup.ksh37 log_must mkfile $MINVDEVSIZE $TEST_BASE_DIR/zpool_version_1.dat
38 log_must zpool create -o version=1 $TESTPOOL $TEST_BASE_DIR/zpool_version_1.dat
42 log_must mkfile $MINVDEVSIZE $TEST_BASE_DIR/zpool2_version_1.dat
43 log_must zpool create -o version=1 $TESTPOOL2 $TEST_BASE_DIR/zpool2_version_1.dat
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import.cfg39 export DEVICE_DIR=$TEST_BASE_DIR/dev_import-test
40 export BACKUP_DEVICE_DIR=$TEST_BASE_DIR/bakdev_import-test
45 export CPATH=$TEST_BASE_DIR/cachefile.$$
46 export CPATHBKP=$TEST_BASE_DIR/cachefile.$$.bkp
47 export CPATHBKP2=$TEST_BASE_DIR/cachefile.$$.bkp2
48 export MD5FILE=$TEST_BASE_DIR/hashsums.$$
49 export MD5FILE2=$TEST_BASE_DIR/hashsums.$$.2
/freebsd/tests/sys/cddl/zfs/include/
H A Dconstants.cfg49 export TEST_BASE_DIR="/"
74 export TESTDIR=${TEST_BASE_DIR%%/}/testdir${TESTCASE_ID}
75 export TESTDIR0=${TEST_BASE_DIR%%/}/testdir0${TESTCASE_ID}
76 export TESTDIR1=${TEST_BASE_DIR%%/}/testdir1${TESTCASE_ID}
77 export TESTDIR2=${TEST_BASE_DIR%%/}/testdir2${TESTCASE_ID}
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mv_files/
H A Dcleanup.ksh37 [[ -f $TEST_BASE_DIR/exitsZero.ksh ]] &&
38 log_must rm -f $TEST_BASE_DIR/exitsZero.ksh
39 [[ -f $TEST_BASE_DIR/testbackgprocs.ksh ]] &&
40 log_must rm -f $TEST_BASE_DIR/testbackgprocs.ksh
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/privilege/
H A Dcleanup.ksh40 ZFS_USER=$(<$TEST_BASE_DIR/zfs-privs-test-user.txt)
43 USES_NIS=$(<$TEST_BASE_DIR/zfs-privs-test-nis.txt)
52 rm $TEST_BASE_DIR/zfs-privs-test-nis.txt
53 rm $TEST_BASE_DIR/zfs-privs-test-user.txt
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/removal/
H A Dremove_indirect.ksh39 log_must rm -f $TEST_BASE_DIR/device-{1,2,3}
46 truncate -s $MINVDEVSIZE $TEST_BASE_DIR/device-{1,2,3}
47 zpool create $TESTPOOL $TEST_BASE_DIR/device-{1,2,3}
50 log_must zpool remove $TESTPOOL $TEST_BASE_DIR/device-1
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/
H A Dzpool_scrub_offline_device.ksh94 TESTDIR="$TEST_BASE_DIR/zpool_scrub_offline_device"
95 DISK1="$TEST_BASE_DIR/zpool_disk1.dat"
96 DISK2="$TEST_BASE_DIR/zpool_disk2.dat"
97 DISK3="$TEST_BASE_DIR/zpool_disk3.dat"
98 DISK4="$TEST_BASE_DIR/zpool_disk4.dat"

12345678910