Searched refs:file2 (Results 51 - 75 of 113) sorted by relevance

12345

/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/block_cloning/
H A Dblock_cloning_disabled_ficlone.ksh48 log_mustnot clonefile -c /$TESTPOOL/file1 /$TESTPOOL/file2
H A Dblock_cloning_disabled_ficlonerange.ksh48 log_mustnot clonefile -r /$TESTPOOL/file1 /$TESTPOOL/file2 0 0 524288
H A Dblock_cloning_replay_encrypted.ksh83 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/file2 \
96 log_must clonefile -f /$TESTPOOL/$TESTFS/file2 /$TESTPOOL/$TESTFS/clone2
123 log_must have_same_content /$TESTPOOL/$TESTFS/file2 /$TESTPOOL/$TESTFS/clone2
129 typeset blocks=$(get_same_blocks $TESTPOOL/$TESTFS file2 \
H A Dblock_cloning_replay.ksh81 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/file2 \
94 log_must clonefile -f /$TESTPOOL/$TESTFS/file2 /$TESTPOOL/$TESTFS/clone2
121 log_must have_same_content /$TESTPOOL/$TESTFS/file2 /$TESTPOOL/$TESTFS/clone2
127 typeset blocks=$(get_same_blocks $TESTPOOL/$TESTFS file2 \
/freebsd-current/usr.bin/cmp/
H A Dregular.c54 int fd2, const char *file2, off_t skip2, off_t len2, off_t limit)
68 eofmsg(file2);
84 c_special(fd1, file1, skip1, fd2, file2, skip2, limit);
90 c_special(fd1, file1, skip1, fd2, file2, skip2, limit);
97 err(1, "unable to limit rights for %s", file2);
117 file1, file2, (size_t)byte, (size_t)line);
135 diffmsg(file1, file2, byte, line, ch, *p2);
152 err(ERR_EXIT, "remmap %s", file2);
164 eofmsg (len1 > len2 ? file2 : file1);
53 c_regular(int fd1, const char *file1, off_t skip1, off_t len1, int fd2, const char *file2, off_t skip2, off_t len2, off_t limit) argument
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_initialize/
H A Dzpool_initialize_verify_checksums.ksh54 log_must dd if=/dev/urandom of=/$TESTPOOL/file2 bs=1M count=30
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/idmap_mount/
H A Didmap_mount_001.ksh63 log_must touch $WORKDIR/subdir/file2
65 log_must chown $UID2:$GID2 $WORKDIR/subdir/file2
73 log_mustnot test "$UID2 $GID2" = "$(stat -c '%u %g' $IDMAPDIR/subdir/file2)"
H A Didmap_mount_002.ksh84 log_must $SETPRIV touch $IDMAPDIR/subdir/file2
85 log_must $SETPRIV chown $UID2:$GID2 $IDMAPDIR/subdir/file2
86 log_mustnot $SETPRIV chown $UID1 $IDMAPDIR/subdir/file2
89 log_must test "$UID1 $GID1" = "$(stat -c '%u %g' $WORKDIR/subdir1/file2)"
H A Didmap_mount_003.ksh108 log_must $NSENTER touch $IDMAPDIR/subdir/file2
109 log_must $NSENTER chown $UID1:$GID1 $IDMAPDIR/subdir/file2
110 log_mustnot $NSENTER chown $UID2 $IDMAPDIR/subdir/file2
113 log_must test "$UID1 $GID1" = "$(stat -c '%u %g' $WORKDIR/subdir1/file2)"
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend_encrypted_incremental.ksh62 typeset file2="/pool_lb/encryptme/$TESTFILE2"
76 log_must dd if=/dev/urandom of=$file2 bs=1024 count=1024
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_rollback/
H A Dzfs_rollback_common.kshlib244 eval typeset file2=\$TESTDIR$ind/\$TESTFILE2
248 log_must files_exist $file0 $file1 $file2
252 typeset sum2=$(getsum $file2)
261 log_must files_nonexist $file2
272 log_must files_nonexist $file1 $file2
/freebsd-current/tools/regression/zfs/zpool/add/
H A Doption-f_size_mismatch.t54 expect_fl ${ZPOOL} add ${name0} mirror ${file7} ${file2}
72 expect_ok ${ZPOOL} add -f ${name0} mirror ${file7} ${file2}
85 echo " ${file2} ONLINE 0 0 0"
134 expect_ok ${ZPOOL} create ${name0} raidz1 ${file0} ${file1} ${file2}
146 echo " ${file2} ONLINE 0 0 0"
153 expect_ok ${ZPOOL} create ${name0} raidz1 ${file0} ${file1} ${file2}
165 echo " ${file2} ONLINE 0 0 0"
221 expect_ok ${ZPOOL} create ${name0} raidz2 ${file0} ${file1} ${file2} ${file3}
233 echo " ${file2} ONLINE 0 0 0"
241 expect_ok ${ZPOOL} create ${name0} raidz2 ${file0} ${file1} ${file2}
[all...]
H A Doption-f_type_mismatch.t118 expect_fl ${ZPOOL} add ${name0} mirror ${disk0} ${file2}
136 expect_ok ${ZPOOL} add -f ${name0} mirror ${disk0} ${file2}
149 echo " ${file2} ONLINE 0 0 0"
198 expect_ok ${ZPOOL} create ${name0} raidz1 ${file0} ${file1} ${file2}
210 echo " ${file2} ONLINE 0 0 0"
217 expect_ok ${ZPOOL} create ${name0} raidz1 ${file0} ${file1} ${file2}
229 echo " ${file2} ONLINE 0 0 0"
285 expect_ok ${ZPOOL} create ${name0} raidz2 ${file0} ${file1} ${file2} ${file3}
297 echo " ${file2} ONLINE 0 0 0"
305 expect_ok ${ZPOOL} create ${name0} raidz2 ${file0} ${file1} ${file2}
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_trim/
H A Dzpool_trim_verify_checksums.ksh63 log_must dd if=/dev/urandom of=/$TESTPOOL/file2 bs=1048576 count=64
/freebsd-current/tests/sys/cddl/zfs/tests/zfsd/
H A Dzfsd_degrade_002_pos.ksh64 SPARE_VDEV=${TMPDIR}/file2.${TESTCASE_ID}
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_create/
H A Dzpool_create_010_neg.ksh78 log_must create_vdevs $TESTDIR/file1 $TESTDIR/file2
82 "$TOOSMALL $TESTDIR/file1" "$TESTPOOL1 $TESTDIR/file1 $TESTDIR/file2" \
83 "$TOOSMALL mirror $TESTDIR/file1 $TESTDIR/file2" \
84 "$TOOSMALL raidz $TESTDIR/file1 $TESTDIR/file2"
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/deadman/
H A Ddeadman_zio.ksh72 log_must file_write -b 1048576 -c 8 -o create -d 0 -f $mntpnt/file2
76 log_must stat -t /$mntpnt/file2
102 log_must eval "dd if=/$mntpnt/file2 of=/dev/null bs=1048576 &"
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_006_pos.ksh56 for file in $fbackup1 $fbackup2 $mntpnt/file1 $mntpnt/file2; do
88 log_must mkfile 10m $mntpnt/file2
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_receive/
H A Dzfs_receive_006_pos.ksh65 for file in $fbackup1 $fbackup2 $mntpnt/file1 $mntpnt/file2; do
97 log_must $MKFILE 10m $mntpnt/file2
/freebsd-current/usr.bin/diff/
H A Dpr.c44 start_pr(char *file1, char *file2) argument
54 xasprintf(&header, "%s %s %s", diffargs, file1, file2);
H A Ddiffreg_new.c145 diffreg_new(char *file1, char *file2, int flags, int capsicum) argument
179 f2 = openfile(file2, &str2, &st2);
186 err(2, "unable to limit rights on: %s", file2);
208 label[1] : format_label(file2, &stb2);
228 warnx("%s truncated", file2);
/freebsd-current/tools/regression/zfs/zpool/create/
H A Doption-f_size_mismatch.t28 expect_ok ${ZPOOL} create ${name0} mirror ${file1} ${file2} mirror ${file0} ${file5}
36 expect_ok ${ZPOOL} create ${name0} raidz1 ${file1} ${file2} ${file3} raidz1 ${file0} ${file5} ${file6}
44 expect_ok ${ZPOOL} create ${name0} raidz2 ${file1} ${file2} ${file3} ${file4} raidz2 ${file0} ${file5} ${file6} ${file7}
121 expect_fl ${ZPOOL} create ${name0} raidz1 ${file0} ${file1} ${file2}
125 expect_ok ${ZPOOL} create ${zpool_f_flag} ${name0} raidz1 ${file0} ${file1} ${file2}
138 echo " ${file2} ONLINE 0 0 0"
172 expect_fl ${ZPOOL} create ${name0} raidz2 ${file0} ${file1} ${file2} ${file3}
176 expect_ok ${ZPOOL} create ${zpool_f_flag} ${name0} raidz2 ${file0} ${file1} ${file2} ${file3}
189 echo " ${file2} ONLINE 0 0 0"
227 expect_fl ${ZPOOL} create ${name0} ${file1} log mirror ${file0} ${file2}
[all...]
/freebsd-current/usr.bin/sdiff/
H A Dsdiff.c70 static size_t file1ln, file2ln; /* line number of file1 and file2 */
119 "usage: sdiff [-abdilstW] [-I regexp] [-o outfile] [-w width] file1 file2\n",
121 "-o OUTFILE, --output=OUTFILE: interactively merge file1 and file2 into outfile.",
126 "\t-a, --text: treat file1 and file2 as text files.",
210 FILE *diffpipe, *file1, *file2; local
227 * file1, and file2 won't have arguments so doubling them will
339 * or file2 are not regular files. This allows sdiff and diff
346 /* file1 and file2 are the same, so copy to same temp file. */
350 /* Copy file1 and file2 into separate temp files. */
360 if ((file2
712 parsecmd(FILE *diffpipe, FILE *file1, FILE *file2) argument
1066 printc(FILE *file1, size_t file1end, FILE *file2, size_t file2end) argument
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/
H A Dzfs_rollback_common.kshlib264 eval typeset file2=\$TESTDIR$ind/\$TESTFILE2
268 log_must files_exist $file0 $file1 $file2
272 typeset sum2=$(getsum $file2)
277 log_must files_nonexist $file2
285 log_must files_nonexist $file1 $file2
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/raidz/
H A Draidz_expand_003_pos.ksh108 log_must mkfile -n 400m /$pool/fs2/file2
109 log_bkgrnd randwritecomp /$pool/fs2/file2 250

Completed in 198 milliseconds

12345