Home
last modified time | relevance | path

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

123

/freebsd-12.1/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/:$testlink:$testlink/:1
22 touch $testfile || exit 1
23 trap "rm $testfile $testlink" EXIT
/freebsd-12.1/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 should not exists."
/freebsd-12.1/contrib/file/tests/
H A DMakefile.am7 escapevel.testfile \
9 gedcom.testfile \
11 hddrawcopytool.testfile \
13 issue311docx.testfile \
15 JW07022A.mp3.testfile
20 …set -e; for i in $T/*.testfile; do echo Running test: $$i; TZ=UTC MAGIC=$(top_builddir)/magic/magi…
H A DREADME8 TEST.testfile
11 where TEST is the base name of the test, TEST.testfile is the input,
H A DMakefile.in296 escapevel.testfile \
298 gedcom.testfile \
300 hddrawcopytool.testfile \
302 issue311docx.testfile \
304 JW07022A.mp3.testfile
615 …set -e; for i in $T/*.testfile; do echo Running test: $$i; TZ=UTC MAGIC=$(top_builddir)/magic/magi…
/freebsd-12.1/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-12.1/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-12.1/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_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
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_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_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_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_002_pos.ksh248 log_must usr_exec $TOUCH $testfile
249 test_chmod_map $testfile
250 log_must $RM -f $testfile
H A Dzfs_acl_chmod_compact_001_pos.ksh262 log_must usr_exec $TOUCH $testfile
263 test_chmod_map $testfile
264 log_must $RM -f $testfile
H A Dzfs_acl_cp_001_pos.ksh91 for obj in $testfile $testdir; do
93 log_must usr_exec $TOUCH $testfile
H A Dzfs_acl_chmod_rwacl_001_pos.ksh249 log_must usr_exec $TOUCH $testfile
254 for node in $testfile $testdir; do
259 log_must usr_exec $RM -rf $testfile $testdir
/freebsd-12.1/tests/sys/cddl/zfs/bin/
H A Dlargest_file.c61 char *testfile; in main() local
69 testfile = strdup(argv[1]); in main()
71 fd = open(testfile, O_CREAT | O_RDWR); in main()
115 (void) unlink(testfile); in main()
116 free(testfile); in main()
/freebsd-12.1/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-12.1/contrib/netbsd-tests/dev/raidframe/
H A Dt_raid.sh101 dd if=$(atf_get_srcdir)/t_raid of=testfile count=4
116 atf_check -s exit:0 -o file:testfile -e ignore \
189 dd if=$(atf_get_srcdir)/t_raid of=testfile count=4
204 atf_check -s exit:0 -o file:testfile -e ignore \
239 dd if=$(atf_get_srcdir)/t_raid of=testfile count=4
255 atf_check -s exit:0 -o file:testfile -e ignore \
289 dd if=$(atf_get_srcdir)/t_raid of=testfile count=4
305 atf_check -s exit:0 -o file:testfile -e ignore \
/freebsd-12.1/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-12.1/contrib/libarchive/libarchive/test/
H A Dtest_sparse_basic.c189 const char *testfile = "can_sparse"; in is_sparse_supported_fiemap() local
193 create_sparse_file(testfile, sparse_file); in is_sparse_supported_fiemap()
194 fd = open(testfile, O_RDWR); in is_sparse_supported_fiemap()
205 unlink(testfile); in is_sparse_supported_fiemap()
243 const char *testfile = "can_sparse"; in is_sparse_supported() local
246 create_sparse_file(testfile, sparse_file); in is_sparse_supported()
247 fd = open(testfile, O_RDWR); in is_sparse_supported()
252 unlink(testfile); in is_sparse_supported()
/freebsd-12.1/tests/sys/cddl/zfs/tests/acl/
H A Dacl.cfg35 export TESTFILE=testfile${TESTCASE_ID}
57 export testfile=$TESTDIR/testfile
/freebsd-12.1/tests/sys/kqueue/libkqueue/
H A Dvnode.c28 const char *testfile = "./kqueue-test.tmp"; in test_kevent_vnode_add() local
34 vnode_fd = open(testfile, O_RDONLY); in test_kevent_vnode_add()
36 err(1, "open of %s", testfile); in test_kevent_vnode_add()
/freebsd-12.1/contrib/netbsd-tests/usr.bin/rump_server/
H A Dt_disk.sh80 echo 'test string' | dd of=testfile ibs=512 count=1 conv=sync
87 atf_check -s exit:0 -e ignore -o file:testfile \

123