/freebsd/tools/test/stress2/misc/ |
H A D | rename.sh | 71 static char dir2[128]; 82 sprintf(dir2, "rename.dir.2.%d", getpid()); 96 if (rename(dir1, dir2) == -1) { 97 warn("rename(%s, %s)", dir1, dir2); 104 if (rename(dir2, dir1) == -1) { 105 warn("rename(%s, %s)", dir2, dir1); 106 stat(dir2, &sb); 107 if (stat(dir2, &sb) == -1) 108 err(1, "stat(%s)", dir2); 110 errx(1, "stat(%s) succeeded!", dir2);
|
H A D | rename2.sh | 63 static char dir2[128]; 72 sprintf(dir2, "/tmp/rename.dir.2.%d", getpid()); 83 if (rename(dir1, dir2) == -1) { 84 warn("rename(%s, %s)", dir1, dir2); 90 if (rename(dir2, dir1) == -1) { 91 warn("rename(%s, %s)", dir2, dir1); 92 if (stat(dir2, &sb) == -1) 93 err(1, "stat(%s)", dir2); 95 errx(1, "stat(%s) succeeded!", dir2);
|
/freebsd/tests/sys/cddl/zfs/tests/snapshot/ |
H A D | snapshot_017_pos.ksh | 82 verify_file $DIR/dir1/dir2/file5 83 verify_file $DIR/dir1/dir2/file6 92 verify_file ./dir1/dir2/file5 93 verify_file ./dir1/dir2/file6 103 cd dir2 161 $MKDIR dir2 162 cd dir2 180 cd dir2
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/snapshot/ |
H A D | snapshot_017_pos.ksh | 74 verify_file $DIR/dir1/dir2/file5 75 verify_file $DIR/dir1/dir2/file6 84 verify_file ./dir1/dir2/file5 85 verify_file ./dir1/dir2/file6 95 cd dir2 153 mkdir dir2 154 cd dir2 172 cd dir2
|
/freebsd/contrib/netbsd-tests/bin/cp/ |
H A D | t_cp.sh | 207 atf_check -s eq:1 -o empty -e ignore cp dir dir2 211 atf_check -s eq:0 -o empty -e empty cp -R dir dir2 213 readlink dir2/link >/dev/null 221 atf_check -s eq:0 -o empty -e empty cp -R dir dir2 226 atf_check -s eq:0 -o empty -e empty cp -R -H dirlink dir2 228 readlink dir2/dirlink/link >/dev/null 235 if [ `stat -f "%Lp" dir2/dirlink` != "777" ]; then 242 atf_check -s eq:0 -o empty -e empty cp -R dir dir2 243 atf_check -s eq:0 -o empty -e empty cp -R -H dirlink dir2 246 atf_check -s eq:0 -o empty -e empty cp -R -H -L dirlink dir2/dirlink [all …]
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | varname-vpath.mk | 15 rm -rf varname-vpath.dir2 16 mkdir varname-vpath.dir2 17 touch varname-vpath.dir2/file2-in-subdirectory 19 TEST_MAIN=yes VPATH=varname-vpath.dir:varname-vpath.dir2 \ 23 rm -r varname-vpath.dir2
|
/freebsd/tools/boot/ |
H A D | full-test.sh | 220 dir2=${TREES}/${ma_combo}/test-stand 225 cp ${dir2}/boot/loader.kboot ${dir}/init 227 tar -c -f - -C ${dir2} boot | tar -xf - -C ${dir} 273 dir2=${TREES}/${ma_combo}/test-stand 283 makefs -t ffs -B little -s 200m -o label=root ${ufs} ${dir} ${dir2} 287 ${zfs} ${dir} ${dir2} 416 dir2=${TREES}/${ma_combo}/test-stand 424 cp ${dir2}/boot/loader.efi ${dir}/efi/boot/boot${bin}.efi 439 dir2=${TREES}/${ma_combo}/test-stand 444 mkdir -p ${dir2}/etc [all …]
|
/freebsd/usr.sbin/makefs/tests/ |
H A D | makefs_zfs_tests.sh | 398 mkdir dir2 399 echo b > dir2/b 404 -o fs=${ZFS_POOL_NAME}/dir1 -o fs=${ZFS_POOL_NAME}/dir2 \ 422 atf_check -o inline:${ZFS_POOL_NAME}/dir2\\n -e empty -s exit:0 \ 423 zfs list -H -o name ${ZFS_POOL_NAME}/dir2 424 atf_check -o inline:${TEST_MOUNT_DIR}/dir2\\n -e empty -s exit:0 \ 425 zfs list -H -o mountpoint ${ZFS_POOL_NAME}/dir2 444 mkdir dir2 445 echo b > dir2/b 479 -o fs=${ZFS_POOL_NAME}/dir2 \ [all …]
|
/freebsd/contrib/kyua/store/ |
H A D | layout_test.cpp | 84 const fs::path dir2("dir1/bar"); in ATF_TEST_CASE_BODY() local 85 fs::mkdir_p(dir2, 0755); in ATF_TEST_CASE_BODY() 90 "results." + layout::test_suite_for_path(dir2) + ".")).str(); in ATF_TEST_CASE_BODY() 98 layout::find_results(dir2.str()).str()); in ATF_TEST_CASE_BODY() 130 const fs::path dir2("dir1/bar"); in ATF_TEST_CASE_BODY() local 131 fs::mkdir_p(dir2, 0755); in ATF_TEST_CASE_BODY() 135 const std::string id2 = layout::test_suite_for_path(dir2); in ATF_TEST_CASE_BODY() 164 const fs::path dir2("dir1/bar"); in ATF_TEST_CASE_BODY() local 165 fs::mkdir_p(dir2, 0755); in ATF_TEST_CASE_BODY() 169 const std::string id2 = layout::test_suite_for_path(dir2); in ATF_TEST_CASE_BODY()
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | releasedir.cc | 56 DIR *dir, *dir2; in TEST_F() local 76 dir2 = fdopendir(dup(dirfd(dir))); in TEST_F() 77 ASSERT_NE(nullptr, dir2) << strerror(errno); in TEST_F() 80 ASSERT_EQ(0, closedir(dir2)) << strerror(errno); in TEST_F()
|
/freebsd/tools/regression/tmpfs/ |
H A D | t_rename | 173 mkdir dir2 || die 175 echo 'mv dir1/a dir2/a' | kqueue_monitor 3 dir1 dir1/a dir2 || die 181 kqueue_check dir2 NOTE_WRITE || die 182 rm dir2/a || die 184 rmdir dir2 || die
|
/freebsd/contrib/openbsm/modules/ |
H A D | Makefile.in | 170 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 173 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 175 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 177 dir2="../$$dir2"; \ 184 reldir="$$dir2" 484 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 487 dir1=$$subdir; dir2="$(top_distdir)"; \
|
/freebsd/contrib/openbsm/sys/ |
H A D | Makefile.in | 170 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 173 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 175 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 177 dir2="../$$dir2"; \ 184 reldir="$$dir2" 484 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 487 dir1=$$subdir; dir2="$(top_distdir)"; \
|
/freebsd/contrib/openbsm/test/ |
H A D | Makefile.in | 170 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 173 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 175 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 177 dir2="../$$dir2"; \ 184 reldir="$$dir2" 484 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 487 dir1=$$subdir; dir2="$(top_distdir)"; \
|
/freebsd/contrib/openpam/bin/ |
H A D | Makefile.in | 171 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 174 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 176 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 178 dir2="../$$dir2"; \ 185 reldir="$$dir2" 500 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 503 dir1=$$subdir; dir2="$(top_distdir)"; \
|
/freebsd/contrib/openpam/include/ |
H A D | Makefile.in | 169 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 172 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 174 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 176 dir2="../$$dir2"; \ 183 reldir="$$dir2" 498 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 501 dir1=$$subdir; dir2="$(top_distdir)"; \
|
/freebsd/contrib/openbsm/bin/ |
H A D | Makefile.in | 175 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 178 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 180 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 182 dir2="../$$dir2"; \ 189 reldir="$$dir2" 487 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 490 dir1=$$subdir; dir2="$(top_distdir)"; \
|
/freebsd/contrib/openpam/doc/ |
H A D | Makefile.in | 169 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 172 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 174 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 176 dir2="../$$dir2"; \ 183 reldir="$$dir2" 498 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 501 dir1=$$subdir; dir2="$(top_distdir)"; \
|
/freebsd/contrib/openpam/lib/ |
H A D | Makefile.in | 170 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 173 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 175 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 177 dir2="../$$dir2"; \ 184 reldir="$$dir2" 499 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 502 dir1=$$subdir; dir2="$(top_distdir)"; \
|
/freebsd/contrib/openpam/modules/ |
H A D | Makefile.in | 170 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 173 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 175 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 177 dir2="../$$dir2"; \ 184 reldir="$$dir2" 499 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 502 dir1=$$subdir; dir2="$(top_distdir)"; \
|
/freebsd/contrib/tnftp/ |
H A D | Makefile.in | 93 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 96 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 98 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 100 dir2="../$$dir2"; \ 107 reldir="$$dir2" 471 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 474 dir1=$$subdir; dir2="$(top_distdir)"; \
|
/freebsd/contrib/netbsd-tests/fs/tmpfs/ |
H A D | t_rename.sh | 252 atf_check -s eq:0 -o empty -e empty mkdir dir2 254 echo 'mv dir1/a dir2/a' | kqueue_monitor 3 dir1 dir1/a dir2 257 kqueue_check dir2 NOTE_WRITE 258 atf_check -s eq:0 -o empty -e empty rm dir2/a 260 atf_check -s eq:0 -o empty -e empty rmdir dir2
|
/freebsd/contrib/openbsm/ |
H A D | Makefile.in | 194 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 197 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 199 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 201 dir2="../$$dir2"; \ 208 reldir="$$dir2" 552 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 555 dir1=$$subdir; dir2="$(top_distdir)"; \
|
/freebsd/contrib/ntp/kernel/ |
H A D | Makefile.in | 204 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 207 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 209 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 211 dir2="../$$dir2"; \ 218 reldir="$$dir2" 662 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 665 dir1=$$subdir; dir2 [all...] |
/freebsd/crypto/heimdal/include/ |
H A D | Makefile.in | 168 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 171 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 173 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 175 dir2="../$$dir2"; \ 182 reldir="$$dir2"
|