Home
last modified time | relevance | path

Searched refs:dir2 (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/ltp/testcases/kernel/fs/fs_bind/cloneNS/
Dfs_bind_cloneNS02.sh18 mkdir dir2
19 EXPECT_PASS mount --bind dir1 dir2
20 EXPECT_PASS mount --make-slave dir2
25 fs_bind_check dir1/a dir2/a
26 EXPECT_PASS mount --bind "$FS_BIND_DISK3" dir2/b
27 fs_bind_check -n dir1/b dir2/b
30 fs_bind_check -s "$FS_BIND_DISK2" dir1/a dir2/a
31 fs_bind_check -s -n "$FS_BIND_DISK3" dir2/b
34 fs_bind_check -s dir1/c dir2/c
36 fs_bind_exec_ns umount $PWD/dir2/a
[all …]
Dfs_bind_cloneNS06.sh17 mkdir dir1/x dir2 dir3 dir4
19 EXPECT_PASS mount --rbind dir1 dir2
20 EXPECT_PASS mount --make-rslave dir2
21 EXPECT_PASS mount --make-rshared dir2
23 EXPECT_PASS mount --rbind dir2 dir3
34 fs_bind_check dir1/x dir2/x dir3/x dir4/x
36 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" dir2/x/a
37 fs_bind_check -n dir1/x/a dir2/x/a
38 fs_bind_check dir2/x/a dir3/x/a dir4/x/a
41 fs_bind_check -s dir1/x dir2/x dir3/x dir4/x
[all …]
Dfs_bind_cloneNS01.sh16 fs_bind_makedir rshared dir2
19 EXPECT_PASS mount --bind dir1 dir2
23 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir2/a
24 fs_bind_check dir1/a dir2/a
26 fs_bind_check -s "$FS_BIND_DISK2" dir1/a dir2/a
28 fs_bind_check -s dir1/b dir2/b
31 EXPECT_PASS umount dir2/a
32 EXPECT_PASS umount dir2
34 EXPECT_PASS umount dir2
/third_party/ltp/testcases/kernel/fs/fs_bind/rbind/
Dfs_bind_rbind33.sh17 mkdir dir1/x dir2 dir3 dir4
19 EXPECT_PASS mount --rbind dir1 dir2
20 EXPECT_PASS mount --make-rslave dir2
21 EXPECT_PASS mount --make-share dir2
23 EXPECT_PASS mount --rbind dir2 dir3
32 fs_bind_check dir1/x dir2/x dir3/x dir4/x
34 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" dir2/x/a
35 fs_bind_check -n dir1/x/a dir2/x/a
36 fs_bind_check dir2/x/a dir3/x/a dir4/x/a
40 fs_bind_check -n dir2/x/b dir3/x/b
[all …]
/third_party/ltp/testcases/kernel/fs/fs_bind/bind/
Dfs_bind21.sh17 mkdir dir1/x dir2 dir3 dir4
19 EXPECT_PASS mount --bind dir1 dir2
20 EXPECT_PASS mount --make-rslave dir2
21 EXPECT_PASS mount --make-rshared dir2
23 EXPECT_PASS mount --bind dir2 dir3
31 fs_bind_check dir1/x dir2/x dir3/x dir4/x
33 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir2/x/a
34 fs_bind_check -n dir1/x/a dir2/x/a
35 fs_bind_check dir2/x/a dir3/x/a dir4/x/a
39 fs_bind_check -n dir2/x/b dir3/x/b
[all …]
Dfs_bind24.sh16 mkdir dir1/1 dir1/1/2 dir1/1/2/3 dir1/1/2/fs_bind_check dir2 dir3 dir4
19 EXPECT_PASS mount --bind dir1/1/2 dir2
26 EXPECT_PASS mount --bind dir4 dir2/fs_bind_check
29 EXPECT_PASS umount dir2/fs_bind_check
31 EXPECT_PASS umount dir2
/third_party/ltp/testcases/kernel/fs/fs_bind/
Dfs_bind_regression.sh27 mkdir dir2
30 EXPECT_PASS mount --rbind dir1 dir2
32 fs_bind_check dir1/a dir2/a
35 EXPECT_PASS umount dir2/a
36 EXPECT_PASS umount dir2
45 mkdir dir2
48 EXPECT_PASS mount --move dir1 dir2
50 fs_bind_check dir2/a "$FS_BIND_DISK2"
52 EXPECT_PASS umount dir2/a
53 EXPECT_PASS umount dir2
Dfs_bind_lib.sh73 local OPTIND expect_diff use_ns args msg dir1 dir2 fail output
99 for dir2 in "$@"; do
105 elif [ ! -d "$dir2" ]; then
110 tst_res TFAIL "$msg: \"$dir2\" does not exist"
116 output="$(ns_exec ${FS_BIND_MNTNS_PID} mnt diff -r "$PWD/$dir1" "$PWD/$dir2" 2> /dev/null)"
118 output="$(diff -r "$dir1" "$dir2" 2> /dev/null)"
129 tst_res TFAIL "\"$dir1\" \"$dir2\" differ:\n$output"
133 dir1="$dir2"
/third_party/toybox/tests/
Dmv.test34 mkdir dir1 dir2
84 mkdir -p dir1/dir2 dir3
85 touch dir1/dir2/file1 dir1/dir2/file2
93 mkdir dir1 dir2
100 mkdir -p dir1/dir2
105 mkdir -p dir1/dir2
110 mkdir -p dir1/dir2
Drm.test24 mkdir dir1 dir2
32 mkdir dir1 dir2
40 mkdir -p dir1/dir2/dir3 dir1/dir2/dir4
41 touch dir1/file1.txt dir1/dir2/file2.txt dir1/dir2/dir3/file3.txt
Dchgrp.test20 mkdir -p testdir/dir/dir/dir testdir/dir2 &&
22 ln -s ../dir/dir testdir/dir2/dir &&
23 ln -s ../dir/file testdir/dir2/file || exit 1
/third_party/node/test/parallel/
Dtest-fs-mkdir.js270 const dir2 = nextdir(); constant
272 const pathname = path.join(tmpdir.path, dir1, dir2);
285 const dir2 = nextdir(); constant
286 const pathname = path.join(tmpdir.path, dir1, dir2);
299 const dir2 = nextdir(); constant
300 const pathname = path.join(tmpdir.path, dir1, dir2);
301 …fs.mkdirSync(path.join(tmpdir.path, dir1, dir2), common.mustNotMutateObjectDeep({ recursive: true …
313 const dir2 = nextdir(); constant
315 const pathname = path.join(tmpdir.path, dir1, dir2);
325 const dir2 = nextdir(); constant
[all …]
/third_party/ltp/testcases/kernel/fs/mongo/
Dmongo.pl232 my ($phase_num, $phase_name, $cmd, $dir1, $dir2, $flag, $processes) = @_ ;
262 $com .= "$cmd $dir1-$i-$j $dir2-$i-$j";
279 $com .= "$cmd $dir1-$i-$j & $cmd $dir2-$i-$j";
282 $com .= "$cmd $dir1-$i-$j ; $cmd $dir2-$i-$j";
402 $dir2 = "$TESTDIR/testdir2";
415 mongo_launcher ( 1, "Create", $cmd_1, $dir1, $dir2, $flag, $p); # phase 1
416 mongo_launcher ( 2, "Copy ", $cmd_2, $dir1, $dir2, $flag, $p); # phase 2
417 mongo_launcher ( 3, "Slinks", $cmd_3, $dir1, $dir2, $flag, $p); # phase 3
418 mongo_launcher ( 4, "Read ", $cmd_4, $dir1, $dir2, $flag, $p); # phase 4
419 mongo_launcher ( 5, "Stats ", $cmd_5, $dir1, $dir2, $flag, $p); # phase 5
[all …]
/third_party/ltp/testcases/kernel/fs/fs_inod/
Dfs_inod156 [ -d dir2 ] || { \
157 mkdir -p dir2 || end_testcase "mkdir dir2 failed"
159 cd dir2 || err_log "cd dir2 FAILED"
191 cd ../dir2
197 cd ../dir2
/third_party/ltp/testcases/kernel/fs/fs-bench/
Dcreate-files.c32 char dir2[MAXN]; in main() local
55 sprintf(dir2, "%2.2x", j); in main()
56 makedir(dir2); in main()
57 changedir(dir2); in main()
64 dir2, dir3, l); in main()
/third_party/python/Lib/test/test_tools/
Dtest_lll.py21 tempfile.TemporaryDirectory() as dir2:
23 fn2 = os.path.join(dir2, 'foo2')
24 for fn, dir in (fn1, dir1), (fn2, dir2):
29 self.lll.main([dir1, dir2])
/third_party/node/test/sequential/
Dtest-diagnostic-dir-cpu-prof.js54 const dir2 = path.join(tmpdir.path, 'prof'); constant
62 dir2,
72 assert(fs.existsSync(dir2));
73 const profiles = getCpuProfiles(dir2);
Dtest-diagnostic-dir-heap-prof.js95 const dir2 = path.join(tmpdir.path, 'prof'); constant
103 dir2,
113 assert(fs.existsSync(dir2));
114 const profiles = getHeapProfiles(dir2);
/third_party/ltp/testcases/network/nfs/nfs_stress/
Dnfs03.sh61 ROD mkdir -p dir2
62 cd dir2
73 cd ../dir2
/third_party/ltp/testcases/kernel/fs/fs_readonly/
Dtest_robind.sh82 umount dir2-bound
218 mount --bind dir1 dir2-bound
238 testdir dir2-bound $fstype false
/third_party/skia/third_party/externals/microhttpd/src/spdy2http/
DMakefile.in207 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
210 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
212 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
214 dir2="../$$dir2"; \
221 reldir="$$dir2"
/third_party/node/deps/cares/src/
DMakefile.in189 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
192 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
194 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
196 dir2="../$$dir2"; \
203 reldir="$$dir2"
528 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
531 dir1=$$subdir; dir2="$(top_distdir)"; \
/third_party/skia/third_party/externals/microhttpd/src/
DMakefile.in172 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
175 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
177 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
179 dir2="../$$dir2"; \
186 reldir="$$dir2"
540 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
543 dir1=$$subdir; dir2="$(top_distdir)"; \
/third_party/musl/libc-test/src/functionalext/supplement/dirent/dirent_gtest/
Ddirent_opendir_test.cpp22 dirent* dir2 = readdir(dir); variable
23 EXPECT_EQ(strcmp(dir2->d_name, "."), 0);
/third_party/musl/libc-test/src/functionalext/supplement/dirent/
Dopendir.c54 DIR *dir2 = opendir("/does/not/exit/folder"); in opendir_0200() local
55 if (dir2) { in opendir_0200()

1234