/freebsd-current/share/examples/tests/tests/atf/ |
H A D | cp_test.sh | 75 atf_check -s exit:0 -o empty -e empty cp file1 file2 77 verify_copy file1 file2 107 echo 'File 2' >file2 108 chmod 400 file2 109 atf_check cp -f file1 file2 110 verify_copy file1 file2
|
/freebsd-current/usr.bin/diff/ |
H A D | pr.h | 35 struct pr *start_pr(char *file1, char *file2);
|
/freebsd-current/contrib/bmake/unit-tests/ |
H A D | varname-vpath.exp | 4 CondParser_Eval: exists(file2-in-subdirectory) 5 exists(file2-in-subdirectory) result is "" 9 CondParser_Eval: exists(file2-in-subdirectory) 10 exists(file2-in-subdirectory) result is "varname-vpath.dir2/file2-in-subdirectory"
|
H A D | dir-expand-path.exp | 2 dir-expand-path.dir.1/file2.src
|
/freebsd-current/share/examples/tests/tests/plain/ |
H A D | cp_test.sh | 60 cp file1 file2 || err "cp failed" 61 verify_copy file1 file2
|
/freebsd-current/usr.bin/cmp/ |
H A D | misc.c | 50 diffmsg(const char *file1, const char *file2, off_t byte, off_t line, argument 58 file1, file2, (long long)byte, (long long)line, b1, b1, 62 file1, file2, (long long)byte, (long long)line);
|
H A D | special.c | 43 int fd2, const char *file2, off_t skip2, off_t limit) 53 err(ERR_EXIT, "caph_limit_stream(%s)", file2); 61 err(ERR_EXIT, "%s", file2); 76 file1, file2, (size_t)byte, (size_t)line); 99 diffmsg(file1, file2, byte, line, ch1, ch2); 110 err(ERR_EXIT, "%s", file2); 116 eofmsg(file2); 42 c_special(int fd1, const char *file1, off_t skip1, int fd2, const char *file2, off_t skip2, off_t limit) argument
|
H A D | link.c | 40 c_link(const char *file1, off_t skip1, const char *file2, off_t skip2, argument 56 if ((len2 = readlink(file2, buf2, sizeof(buf2) - 1)) < 0) { 58 err(ERR_EXIT, "%s", file2); 89 diffmsg(file1, file2, byte, 1, ch, *p2); 96 eofmsg (*p1 ? file2 : file1);
|
H A D | cmp.c | 102 const char *file1, *file2; local 173 if (strcmp(file2 = argv[1], "-") == 0) { 179 file2 = "stdin"; 180 } else if ((fd2 = open(file2, oflag, 0)) < 0 && errno != EMLINK) { 182 err(ERR_EXIT, "%s", file2); 202 c_link(file1, skip1, file2, skip2, limit); 205 errx(ERR_EXIT, "%s: Not a symbolic link", file2); 230 err(ERR_EXIT, "%s", file2); 243 c_special(fd1, file1, skip1, fd2, file2, skip2, limit); 248 file1, file2); [all...] |
/freebsd-current/contrib/netbsd-tests/kernel/kqueue/read/ |
H A D | t_file2.c | 46 ATF_TC(file2); variable 47 ATF_TC_HEAD(file2, tc) 54 ATF_TC_BODY(file2, tc) 76 ATF_TP_ADD_TC(tp, file2);
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/block_cloning/ |
H A D | block_cloning_ficlonerange_partial.ksh | 48 log_must dd if=/$TESTPOOL/file1 of=/$TESTPOOL/file2 bs=128K count=4 51 log_must have_same_content /$TESTPOOL/file1 /$TESTPOOL/file2 53 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2) 56 log_must clonefile -r /$TESTPOOL/file1 /$TESTPOOL/file2 131072 131072 262144 59 log_must have_same_content /$TESTPOOL/file1 /$TESTPOOL/file2 61 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2)
|
H A D | block_cloning_copyfilerange_partial.ksh | 52 log_must dd if=/$TESTPOOL/file1 of=/$TESTPOOL/file2 bs=128K count=4 55 log_must have_same_content /$TESTPOOL/file1 /$TESTPOOL/file2 57 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2) 60 log_must clonefile -f /$TESTPOOL/file1 /$TESTPOOL/file2 131072 131072 262144 63 log_must have_same_content /$TESTPOOL/file1 /$TESTPOOL/file2 65 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2)
|
H A D | block_cloning_ficlone.ksh | 48 log_must clonefile -c /$TESTPOOL/file1 /$TESTPOOL/file2 51 log_must have_same_content /$TESTPOOL/file1 /$TESTPOOL/file2 53 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2)
|
H A D | block_cloning_ficlonerange.ksh | 48 log_must clonefile -r /$TESTPOOL/file1 /$TESTPOOL/file2 0 0 524288 51 log_must have_same_content /$TESTPOOL/file1 /$TESTPOOL/file2 53 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2)
|
H A D | block_cloning_disabled_copyfilerange.ksh | 52 log_must clonefile -f /$TESTPOOL/file1 /$TESTPOOL/file2 0 0 524288 55 log_must have_same_content /$TESTPOOL/file1 /$TESTPOOL/file2 57 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2)
|
H A D | block_cloning_copyfilerange.ksh | 52 log_must clonefile -f /$TESTPOOL/file1 /$TESTPOOL/file2 0 0 524288 55 log_must have_same_content /$TESTPOOL/file1 /$TESTPOOL/file2 57 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2)
|
/freebsd-current/contrib/netbsd-tests/bin/tar/ |
H A D | t_tar.sh | 40 # store foo into file2.tar, then append bar to file2.tar 41 atf_check -s eq:0 -o empty -e empty tar -cf file2.tar foo 42 atf_check -s eq:0 -o empty -e empty tar -rf file2.tar bar 44 # ensure that file1.tar and file2.tar are equal 45 atf_check -s eq:0 -o empty -e empty cmp file1.tar file2.tar
|
/freebsd-current/contrib/netbsd-tests/bin/pax/ |
H A D | t_pax.sh | 41 # store foo into file2.tar, then append bar to file2.tar 43 pax -w -b 512 -x ustar -f file2.tar foo 45 pax -w -b 512 -x ustar -f file2.tar -a bar 47 # ensure that file1.tar and file2.tar are equal 48 atf_check -s eq:0 -o empty -e empty cmp file1.tar file2.tar
|
/freebsd-current/share/examples/tests/tests/tap/ |
H A D | cp_test.sh | 64 if cp file1 file2; then 66 verify_copy file1 file2
|
/freebsd-current/tools/regression/zfs/zpool/add/ |
H A D | files.t | 59 expect_ok ${ZPOOL} create ${name0} ${file0} ${file1} ${file2} 70 echo " ${file2} ONLINE 0 0 0" 80 expect_ok ${ZPOOL} add ${name0} mirror ${file2} ${file3} 92 echo " ${file2} ONLINE 0 0 0" 100 expect_ok ${ZPOOL} create ${name0} raidz1 ${file0} ${file1} ${file2} 112 echo " ${file2} ONLINE 0 0 0" 123 expect_ok ${ZPOOL} create ${name0} raidz2 ${file0} ${file1} ${file2} ${file3} 135 echo " ${file2} ONLINE 0 0 0" 149 expect_ok ${ZPOOL} add ${name0} spare ${file2} ${file3} 161 echo " ${file2} AVAI [all...] |
/freebsd-current/contrib/ntp/scripts/stats/ |
H A D | etf.S | 2 file2 <- "etf_summary" label 9 cat("\n", file=file2 , append=TRUE, fill=FALSE, sep="") 10 cat(file1, "\n", file=file2, append=TRUE, fill=FALSE, sep="") 11 cat("etf1 ", count, ", T ", mean, " ns, R ", slope, " ps/s, std ", std, " us\n", file=file2, append=TRUE, fill=FALSE, sep="")
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | zfs_receive_003_pos.ksh | 54 for file in $ibackup $mntpnt/file1 $mntpnt/file2; do 68 log_must mkfile 10m $mntpnt/file2 76 if [[ ! -f $mntpnt/file1 || ! -f $mntpnt/file2 ]]; then 89 if [[ ! -f $mntpnt/file1 || ! -f $mntpnt/file2 ]]; then
|
/freebsd-current/tools/test/stress2/testcases/dirrename/ |
H A D | dirrename.c | 96 char file2[128]; local 117 sprintf(file2,"p%05d.%05d.togo", pid, i); 118 if (rename(file1, file2) == -1) 119 err(1, "rename(%s, %s). %s:%d", file1, file2, 124 sprintf(file2,"p%05d.%05d.togo", pid, i); 125 if (rename(file2, file1) == -1) 126 err(1, "rename(%s, %s). %s:%d", file2, file1,
|
/freebsd-current/tools/test/stress2/testcases/rename/ |
H A D | rename.c | 94 char file2[128]; local 107 sprintf(file2,"p%05d.%05d.togo", pid, i); 108 if (rename(file1, file2) == -1) 109 err(1, "rename(%s, %s). %s:%d", file1, file2, 114 sprintf(file2,"p%05d.%05d.togo", pid, i); 115 if (rename(file2, file1) == -1) 116 err(1, "rename(%s, %s). %s:%d", file2, file1,
|
/freebsd-current/usr.bin/compress/tests/ |
H A D | compress_test.sh | 153 cp expectfile2 file2 154 atf_check compress file1 file2 156 atf_check -s exit:1 cmp -s file2.Z expectfile2 157 atf_check -s exit:1 cmp -s file1.Z file2.Z 158 atf_check uncompress file1.Z file2.Z 160 atf_check cmp file2 expectfile2 174 cp expectfile2 file2 175 atf_check compress file1 file2 177 atf_check -s exit:1 cmp -s file2.Z expectfile2 178 atf_check -s exit:1 cmp -s file1.Z file2 [all...] |