/titanic_50/usr/src/test/zfs-tests/tests/functional/holes/ |
H A D | holes_sanity.ksh | 34 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 D | holes.shlib | 16 # 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 D | snapshot_015_pos.ksh | 77 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 D | libsff.ksh | 46 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 D | zfs_mount_008_pos.ksh | 50 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 D | zfs_acl_tar_002_pos.ksh | 77 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 D | zfs_acl_aclmode_restricted_001_neg.ksh | 68 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 D | zfs_acl_chmod_rwx_004_pos.ksh | 122 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 D | zfs_acl_chmod_001_neg.ksh | 119 for node in $testfile $testdir; do 120 log_must usr_exec $TOUCH $testfile 127 log_must usr_exec $RM -rf $testfile $testdir
|
H A D | zfs_acl_chmod_rwx_001_pos.ksh | 111 log_must usr_exec $TOUCH $testfile 112 test_chmod_ACE_list $opt $num $ace $testfile 113 log_must $RM -f $testfile
|
H A D | zfs_acl_chmod_rwx_003_pos.ksh | 121 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 D | zfs_acl_cp_002_pos.ksh | 73 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 D | zfs_acl_chmod_compact_001_pos.ksh | 231 log_must usr_exec $TOUCH $testfile 232 test_chmod_map $testfile 233 log_must $RM -f $testfile
|
H A D | zfs_acl_chmod_rwx_002_pos.ksh | 228 log_must usr_exec $TOUCH $testfile 229 test_chmod_map $testfile 230 log_must $RM -f $testfile
|
H A D | zfs_acl_cp_001_pos.ksh | 71 for obj in $testfile $testdir; do 73 log_must usr_exec $TOUCH $testfile
|
H A D | zfs_acl_chmod_rwacl_001_pos.ksh | 229 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 D | largest_file.c | 62 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 D | zfs_acl_chmod_001_pos.ksh | 119 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 D | zfs_acl_aclmode_restricted_001_pos.ksh | 118 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 D | zfs_written_property_001_pos.ksh | 76 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 D | quick.test | 42 foreach testfile [lsort -dictionary [glob $testdir/*.test]] { 43 set tail [file tail $testfile] 45 source $testfile
|
H A D | memleak.test | 62 foreach testfile $FILELIST { 63 set tail [file tail $testfile] 67 source $testfile
|
H A D | all.test | 69 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 D | acl.cfg | 30 export TESTFILE=testfile$$ 52 export testfile=$TESTDIR/testfile
|
/titanic_50/usr/src/cmd/svr4pkg/libinst/ |
H A D | mntinfo.c | 189 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()
|