Searched refs:testfile (Results 1 - 25 of 66) sorted by relevance

123

/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/acl/off/
H A Ddosmode.ksh51 rm -f $testfile
66 testfile=$TESTDIR/testfile
76 log_must touch $testfile
77 log_must hasflag uarch $testfile
78 log_must chflags nouarch $testfile
79 log_must hasflag - $testfile
80 log_must touch $testfile
81 log_must hasflag uarch $testfile
82 log_must rm $testfile
[all...]
/freebsd-13-stable/tests/sys/vfs/
H A Dtrailing_slash.sh10 testfile="$TMPDIR/testfile-$$"
14 $testfile:$testlink:$testfile:0
15 $testfile:$testlink:$testfile/:1
16 $testfile:$testlink:$testlink:0
17 $testfile:$testlink:$testlink/:1
18 $testfile/:$testlink:$testlink:1
19 $testfile/
[all...]
/freebsd-13-stable/contrib/file/tests/
H A DMakefile.am7 CVE-2014-1943.testfile \
8 JW07022A.mp3.testfile \
9 escapevel.testfile \
10 fit-map-data.testfile \
11 gedcom.testfile \
12 hddrawcopytool.testfile \
13 issue311docx.testfile \
14 issue359xlsx.testfile \
15 json1.testfile \
16 json2.testfile \
[all...]
H A DMakefile.in298 CVE-2014-1943.testfile \
299 JW07022A.mp3.testfile \
300 escapevel.testfile \
301 fit-map-data.testfile \
302 gedcom.testfile \
303 hddrawcopytool.testfile \
304 issue311docx.testfile \
305 issue359xlsx.testfile \
306 json1.testfile \
307 json2.testfile \
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/
H A Dxattr_003_neg.ksh48 rm -f $testfile $tempfile
54 typeset testfile=$TESTDIR/testfile.$$
57 log_must touch $testfile
58 create_xattr $testfile passwd /etc/passwd
60 log_must chmod 000 $testfile
62 log_mustnot su $ZFS_USER -c "runat $testfile cat passwd"
63 log_mustnot su $ZFS_USER -c "runat $testfile cp /etc/passwd ."
67 get_xattr passwd $testfile >$tempfile
74 set_xattr_stdin passwd $testfile </et
[all...]
/freebsd-13-stable/contrib/bc/tests/
H A Derrors.sh79 for testfile in $testdir/$d/*errors.txt; do
81 if [ -z "${testfile##*$read_errors*}" ]; then
86 if [ -z "${testfile##*$posix*}" ]; then
103 base=$(basename "$testfile")
116 done < "$testfile"
122 for testfile in $testdir/$d/errors/*.txt; do
124 printf 'Running %s error file %s...' "$d" "$testfile"
126 printf '%s\n' "$halt" | "$exe" "$@" $opts "$testfile" 2> "$out" > /dev/null
129 checkerrtest "$d" "$err" "$testfile" "$out" "$exebase"
133 printf 'Running %s error file %s through cat...' "$d" "$testfile"
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/snapshot/
H A Dsnapshot_015_pos.ksh77 log_mustnot touch $dir/testfile
87 testfile=$mntpnt/testfile.$cnt
88 log_must mkfile 1M $testfile
103 testfile=$mntpnt/testfile.$i
105 if [[ ! -f $testfile ]]; then
106 log_fail "ERROR: $testfile should exists."
109 if [[ -f $testfile ]]; then
110 log_fail "ERROR: $testfile shoul
[all...]
/freebsd-13-stable/tests/sys/cddl/zfs/tests/snapshot/
H A Dsnapshot_015_pos.ksh92 log_mustnot $TOUCH $dir/testfile
102 testfile=$mntpnt/testfile.$cnt
103 log_must $MKFILE 1M $testfile
118 testfile=$mntpnt/testfile.$i
120 if [[ ! -f $testfile ]]; then
121 log_fail "ERROR: $testfile should exists."
124 if [[ -f $testfile ]]; then
125 log_fail "ERROR: $testfile shoul
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_008_pos.ksh54 if [[ -f $testfile ]]; then
55 log_must rm -f $testfile
71 testfile=$mntpnt/$TESTFILE0; testfile1=$mntpnt1/$TESTFILE1
72 log_must mkfile 1M $testfile $testfile1
84 log_mustnot ls $testfile
95 log_must ls $testfile
H A Dzfs_mount_012_pos.ksh48 log_must touch $TESTDIR/testfile.$$
/freebsd-13-stable/tests/sys/cddl/zfs/tests/acl/trivial/
H A Dzfs_acl_chmod_001_pos.ksh122 log_must usr_exec $TOUCH $testfile
123 log_must test_chmod_mapping $testfile
126 log_must $CHMOD A+user:$ZFS_ACL_STAFF2:write_acl:allow $testfile
137 log_must usr_exec $CHMOD A+${acl} $testfile
141 log_must test_chmod_mapping $testfile
147 log_must usr_exec $RM $testfile
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/
H A Dzfs_mount_008_pos.ksh68 if [[ -f $testfile ]]; then
69 log_must $RM -f $testfile
85 testfile=$mntpnt/$TESTFILE0; testfile1=$mntpnt1/$TESTFILE1
86 log_must $MKFILE 1M $testfile $testfile1
96 log_mustnot $LS $testfile
107 log_must $LS $testfile
/freebsd-13-stable/tests/sys/cddl/zfs/bin/
H A Dlargest_file.c61 char *testfile; local
69 testfile = strdup(argv[1]);
71 fd = open(testfile, O_CREAT | O_RDWR);
73 perror("Failed to create testfile");
80 perror("Failed to seek to end of testfile");
115 (void) unlink(testfile);
116 free(testfile);
123 (void) printf("%s <testfile>\n", name);
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/cmd/largest_file/
H A Dlargest_file.c65 char *testfile; local
80 testfile = strdup(argv[1]);
82 fd = open(testfile, O_CREAT | O_RDWR, mode);
85 perror("Failed to create testfile");
86 free(testfile);
93 perror("Failed to seek to end of testfile");
127 (void) unlink(testfile);
128 free(testfile);
136 (void) printf("%s <testfile>\n", name);
/freebsd-13-stable/tests/sys/cddl/zfs/tests/acl/nontrivial/
H A Dzfs_acl_tar_002_pos.ksh93 log_note "Create a file: $testfile, and directory: $testdir, in zfs filesystem. " \
102 log_must usr_exec $TOUCH $testfile
105 log_must usr_exec $RUNAT $testfile $CP $MYTESTFILE attr.0
111 log_must usr_exec $CHMOD ${ops[0]} $testfile
115 log_must $TAR cpf@ $TARFILE ${testfile#$TESTDIR/} ${testdir#$TESTDIR/}
122 for obj in $testfile $testdir; do
H A Dzfs_acl_chmod_001_neg.ksh139 for node in $testfile $testdir; do
140 log_must usr_exec $TOUCH $testfile
147 log_must usr_exec $RM -rf $testfile $testdir
H A Dzfs_acl_chmod_rwx_001_pos.ksh127 log_must usr_exec $TOUCH $testfile
128 test_chmod_ACE_list $opt $num $ace $testfile
129 log_must $RM -f $testfile
H A Dzfs_acl_chmod_rwx_003_pos.ksh141 log_must usr_exec $TOUCH $testfile
142 test_chmod_basic_access $testfile ${users[((i+1))]} ${users[((i+2))]}
146 log_must usr_exec $RM -rf $testfile $testdir
H A Dzfs_acl_cp_002_pos.ksh93 for obj in $testfile $testdir; do
95 log_must usr_exec $TOUCH $testfile
98 log_must usr_exec $RUNAT $testfile $CP $MYTESTFILE attr.0
H A Dzfs_acl_chmod_rwx_004_pos.ksh139 log_must usr_exec $TOUCH $testfile
141 log_must usr_exec $CHMOD 755 $testfile $testdir
143 for node in $testfile $testdir; do
151 log_must usr_exec $RM -rf $testfile $testdir
/freebsd-13-stable/contrib/netbsd-tests/bin/dd/
H A Dt_dd.sh116 echo TEST1234 > testfile
118 dd if=/dev/zero of=testfile seek=1 bs=8k count=1
119 atf_check -s exit:0 -e ignore -o match:'^TEST1234$' dd if=testfile
120 eval $(stat -s testfile)
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/
H A Dzvol_ENOSPC_001_pos.ksh67 file_write -o create -f $TESTDIR/testfile$$.$fn \
/freebsd-13-stable/contrib/netbsd-tests/dev/cgd/
H A Dt_cgd.sh53 atf_check -s exit:0 -e ignore dd if=${d}/t_cgd of=testfile count=2
54 atf_check -s exit:0 -e ignore -o file:testfile \
91 atf_check -s exit:0 -e ignore dd if=${d}/t_cgd of=testfile count=2
92 atf_check -s exit:0 -e ignore -o not-file:testfile \
/freebsd-13-stable/tests/sys/cddl/zfs/tests/zfsd/
H A Dzfsd_degrade_001_pos.ksh65 TESTFILE=/$TESTPOOL/testfile
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_012_neg.ksh61 log_must dd if=/dev/urandom of=$mntpnt/testfile.$$ count=100

Completed in 218 milliseconds

123