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

12

/illumos-gate/usr/src/test/zfs-tests/tests/functional/holes/
H A Dholes_sanity.ksh23 # 1. Create a testfile with varying holes and data throughout the file.
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
[all...]
/illumos-gate/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 shoul
[all...]
/illumos-gate/usr/src/test/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
83 log_mustnot ls $testfile
94 log_must ls $testfile
H A Dzfs_mount_012_neg.ksh46 log_must touch $TESTDIR/testfile.$$
/illumos-gate/usr/src/test/zfs-tests/cmd/largest_file/
H A Dlargest_file.c62 char *testfile; local
71 testfile = strdup(argv[1]);
73 fd = open(testfile, O_CREAT | O_RDWR, mode);
75 perror("Failed to create testfile");
82 perror("Failed to seek to end of testfile");
117 (void) unlink(testfile);
118 free(testfile);
125 (void) printf("%s <testfile>\n", name);
/illumos-gate/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
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_tar_002_pos.ksh81 log_note "Create a file: $testfile, and directory: $testdir, in zfs " \
90 log_must usr_exec touch $testfile
93 log_must usr_exec runat $testfile cp $mytestfile attr.0
99 log_must usr_exec chmod ${ops[0]} $testfile
103 log_must tar cpf@ $TARFILE ${testfile#$TESTDIR/} ${testdir#$TESTDIR/}
110 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_001_neg.ksh123 for node in $testfile $testdir; do
124 log_must usr_exec touch $testfile
131 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.ksh125 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 Dzfs_acl_cp_002_pos.ksh77 for obj in $testfile $testdir; do
79 log_must usr_exec touch $testfile
82 log_must usr_exec runat $testfile cp $mytestfile attr.0
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_cp_001_pos.ksh75 for obj in $testfile $testdir; do
77 log_must usr_exec touch $testfile
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.ksh231 log_must usr_exec touch $testfile
232 test_chmod_map $testfile
233 log_must rm -f $testfile
H A Dzfs_acl_find_001_pos.ksh81 f_base=testfile.$$ # Base file name for tested files
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_ENOSPC/
H A Dzvol_ENOSPC_001_pos.ksh67 file_write -o create -f $TESTDIR/testfile$$.$fn \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/
H A Dslog_012_neg.ksh60 log_must dd if=/dev/random of=$mntpnt/testfile.$$ count=100
H A Dslog.kshlib61 dd if=/dev/random of=$mntpnt/testfile.$$ &
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_017_neg.ksh81 log_must touch $TESTDIR/testfile
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_property/
H A Dzfs_written_property_001_pos.ksh73 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/test/zfs-tests/tests/functional/cache/
H A Dcache.kshlib60 dd if=/dev/random of=$mntpnt/testfile.$$ &
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_misc/
H A Dzvol_misc_002_pos.ksh80 file_write -o create -f $TESTDIR/testfile$$.$fn \

Completed in 94 milliseconds

12