Home
last modified time | relevance | path

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

12

/titanic_50/usr/src/test/zfs-tests/tests/functional/holes/
H A Dholes_sanity.ksh34 testfile="$TESTDIR/testfile"
43 log_must $MKHOLES -h 0:$((bs * 6)) $testfile
44 verify_holes_and_data_blocks $testfile 6 0
45 log_must $RM $testfile
47 log_must $MKHOLES -h 0:$((bs * 4)) -d $((bs * 4)):$((bs * 2)) $testfile
48 verify_holes_and_data_blocks $testfile 4 2
49 log_must $RM $testfile
52 -h $((bs * 4)):$((bs * 2)) $testfile
53 verify_holes_and_data_blocks $testfile 4 2
54 log_must $RM $testfile
[all …]
H A Dholes.shlib16 # testfile The file to examine.
21 typeset testfile=$1
26 found_hole_blks=$($GETHOLES -h $testfile)
27 found_data_blks=$($GETHOLES -d $testfile)
/titanic_50/usr/src/test/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 should not exists."
/titanic_50/usr/src/test/util-tests/tests/libsff/
H A Dlibsff.ksh46 testfile=$sff_root/libsff_$t
48 if ! $testfile > $sff_outfile; then
49 fatal "failed to run $testfile"
52 if [[ -f $testfile.out ]]; then
53 if ! diff $testfile.out $sff_outfile >/dev/null; then
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_008_pos.ksh50 if [[ -f $testfile ]]; then
51 log_must $RM -f $testfile
67 testfile=$mntpnt/$TESTFILE0; testfile1=$mntpnt1/$TESTFILE1
68 log_must $MKFILE 1M $testfile $testfile1
79 log_mustnot $LS $testfile
90 log_must $LS $testfile
/titanic_50/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_tar_002_pos.ksh77 log_note "Create a file: $testfile, and directory: $testdir, in zfs " \
86 log_must usr_exec $TOUCH $testfile
89 log_must usr_exec $RUNAT $testfile $CP $mytestfile attr.0
95 log_must usr_exec $CHMOD ${ops[0]} $testfile
99 log_must $TAR cpf@ $TARFILE ${testfile#$TESTDIR/} ${testdir#$TESTDIR/}
106 for obj in $testfile $testdir; do
H A Dzfs_acl_aclmode_restricted_001_neg.ksh68 log_must usr_exec $TOUCH $TESTDIR/testfile
72 $TESTDIR/testdir $TESTDIR/testfile
75 log_mustnot usr_exec $CHMOD u-w $TESTDIR/testfile
78 log_must usr_exec $RM $TESTDIR/testfile
H A Dzfs_acl_chmod_rwx_004_pos.ksh122 log_must usr_exec $TOUCH $testfile
124 log_must usr_exec $CHMOD 755 $testfile $testdir
126 for node in $testfile $testdir; do
134 log_must usr_exec $RM -rf $testfile $testdir
H A Dzfs_acl_chmod_001_neg.ksh119 for node in $testfile $testdir; do
120 log_must usr_exec $TOUCH $testfile
127 log_must usr_exec $RM -rf $testfile $testdir
H A Dzfs_acl_chmod_rwx_001_pos.ksh111 log_must usr_exec $TOUCH $testfile
112 test_chmod_ACE_list $opt $num $ace $testfile
113 log_must $RM -f $testfile
H A Dzfs_acl_chmod_rwx_003_pos.ksh121 log_must usr_exec $TOUCH $testfile
122 test_chmod_basic_access $testfile ${users[((i+1))]} ${users[((i+2))]}
126 log_must usr_exec $RM -rf $testfile $testdir
H A Dzfs_acl_cp_002_pos.ksh73 for obj in $testfile $testdir; do
75 log_must usr_exec $TOUCH $testfile
78 log_must usr_exec $RUNAT $testfile $CP $mytestfile attr.0
H A Dzfs_acl_chmod_compact_001_pos.ksh231 log_must usr_exec $TOUCH $testfile
232 test_chmod_map $testfile
233 log_must $RM -f $testfile
H A Dzfs_acl_chmod_rwx_002_pos.ksh228 log_must usr_exec $TOUCH $testfile
229 test_chmod_map $testfile
230 log_must $RM -f $testfile
H A Dzfs_acl_cp_001_pos.ksh71 for obj in $testfile $testdir; do
73 log_must usr_exec $TOUCH $testfile
H A Dzfs_acl_chmod_rwacl_001_pos.ksh229 log_must usr_exec $TOUCH $testfile
234 for node in $testfile $testdir; do
239 log_must usr_exec $RM -rf $testfile $testdir
/titanic_50/usr/src/test/zfs-tests/cmd/largest_file/
H A Dlargest_file.c62 char *testfile; in main() local
71 testfile = strdup(argv[1]); in main()
73 fd = open(testfile, O_CREAT | O_RDWR, mode); in main()
117 (void) unlink(testfile); in main()
118 free(testfile); in main()
/titanic_50/usr/src/test/zfs-tests/tests/functional/acl/trivial/
H A Dzfs_acl_chmod_001_pos.ksh119 log_must usr_exec $TOUCH $testfile
120 log_must test_chmod_mapping $testfile
121 log_must usr_exec $CHMOD A+user:$ZFS_ACL_STAFF2:write_acl:allow $testfile
131 log_must test_chmod_mapping $testfile
136 log_must usr_exec $RM $testfile
H A Dzfs_acl_aclmode_restricted_001_pos.ksh118 log_must usr_exec $TOUCH $testfile
119 log_must test_chmod_mapping $testfile
125 log_must usr_exec $RM $testfile
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_property/
H A Dzfs_written_property_001_pos.ksh76 log_must $DD if=/dev/urandom of=/$TESTPOOL/$TESTFS1/testfile.$i bs=1M \
117 log_must $RM /$TESTPOOL/$TESTFS1/testfile.3
139 log_must $DD if=/dev/urandom of=/$TESTPOOL/$TESTFS1/testfile.3 bs=1M \
164 log_must $DD if=/dev/urandom of=/$TESTPOOL/$TESTFS1/snap1.clone/testfile bs=1M \
202 log_must $DD if=/dev/urandom of=/$ds/testfile bs=1M count=$blocks
215 log_must $DD if=/dev/urandom of=/$ds/testfile bs=1M \
/titanic_50/usr/src/lib/libsqlite/test/
H A Dquick.test42 foreach testfile [lsort -dictionary [glob $testdir/*.test]] {
43 set tail [file tail $testfile]
45 source $testfile
H A Dmemleak.test62 foreach testfile $FILELIST {
63 set tail [file tail $testfile]
67 source $testfile
H A Dall.test69 foreach testfile [lsort -dictionary [glob $testdir/*.test]] {
70 set tail [file tail $testfile]
72 source $testfile
/titanic_50/usr/src/test/zfs-tests/tests/functional/acl/
H A Dacl.cfg30 export TESTFILE=testfile$$
52 export testfile=$TESTDIR/testfile
/titanic_50/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c189 char testfile[PATH_MAX]; in really_write() local
193 (void) snprintf(testfile, sizeof (testfile), "%s/testXXXXXX", mountpt); in really_write()
195 if (mktemp(testfile) == NULL) in really_write()
198 else if ((fd = creat(testfile, 0777)) == -1) in really_write()
208 (void) unlink(testfile); in really_write()

12