/illumos-gate/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)
|
/illumos-gate/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."
|
/illumos-gate/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
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount_008_pos.ksh | 54 if [[ -f $testfile ]]; then 55 log_must rm -f $testfile 71 testfile=$mntpnt/$TESTFILE0; testfile1=$mntpnt1/$TESTFILE1 72 log_must mkfile 1M $testfile $testfile1 83 log_mustnot ls $testfile 94 log_must ls $testfile
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_tar_002_pos.ksh | 82 log_note "Create a file: $testfile, and directory: $testdir, in zfs " \ 91 log_must usr_exec touch $testfile 94 log_must usr_exec runat $testfile cp $mytestfile attr.0 100 log_must usr_exec chmod ${ops[0]} $testfile 104 log_must tar cpf@ $TARFILE ${testfile#$TESTDIR/} ${testdir#$TESTDIR/} 111 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 | 123 for node in $testfile $testdir; do 124 log_must usr_exec touch $testfile 131 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 | 125 log_must usr_exec touch $testfile 126 test_chmod_basic_access $testfile ${users[((i+1))]} ${users[((i+2))]} 130 log_must usr_exec rm -rf $testfile $testdir
|
H A D | zfs_acl_cp_002_pos.ksh | 78 for obj in $testfile $testdir; do 80 log_must usr_exec touch $testfile 83 log_must usr_exec runat $testfile cp $mytestfile attr.0
|
H A D | zfs_acl_chmod_compact_001_pos.ksh | 236 log_must usr_exec touch $testfile 237 test_chmod_map $testfile 238 log_must rm -f $testfile
|
H A D | zfs_acl_chmod_rwx_002_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_cp_001_pos.ksh | 75 for obj in $testfile $testdir; do 77 log_must usr_exec touch $testfile
|
H A D | zfs_acl_chmod_rwacl_001_pos.ksh | 265 log_must usr_exec touch $testfile 270 for node in $testfile $testdir; do 275 log_must usr_exec rm -rf $testfile $testdir
|
/illumos-gate/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()
|
/illumos-gate/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
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_property/ |
H A D | zfs_written_property_001_pos.ksh | 73 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 \
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | quick.test | 40 foreach testfile [lsort -dictionary [glob $testdir/*.test]] { 41 set tail [file tail $testfile] 43 source $testfile
|
H A D | memleak.test | 60 foreach testfile $FILELIST { 61 set tail [file tail $testfile] 65 source $testfile
|
H A D | all.test | 67 foreach testfile [lsort -dictionary [glob $testdir/*.test]] { 68 set tail [file tail $testfile] 70 source $testfile
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/ |
H A D | acl.cfg | 30 export TESTFILE=testfile$$ 52 export testfile=$TESTDIR/testfile
|
/illumos-gate/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()
|