Home
last modified time | relevance | path

Searched refs:dir1 (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/ltp/testcases/kernel/fs/fs_bind/cloneNS/
Dfs_bind_cloneNS02.sh15 fs_bind_makedir rshared dir1
16 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
19 EXPECT_PASS mount --bind dir1 dir2
24 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir1/a
25 fs_bind_check dir1/a dir2/a
27 fs_bind_check -n dir1/b dir2/b
30 fs_bind_check -s "$FS_BIND_DISK2" dir1/a dir2/a
32 fs_bind_check -s -n "$FS_BIND_DISK3" dir1/b
33 fs_bind_exec_ns mount --bind "$PWD/$FS_BIND_DISK4" $PWD/dir1/c
34 fs_bind_check -s dir1/c dir2/c
[all …]
Dfs_bind_cloneNS01.sh15 fs_bind_makedir rshared dir1
18 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
19 EXPECT_PASS mount --bind dir1 dir2
24 fs_bind_check dir1/a dir2/a
26 fs_bind_check -s "$FS_BIND_DISK2" dir1/a dir2/a
27 fs_bind_exec_ns mount --bind "$PWD/$FS_BIND_DISK3" $PWD/dir1/b
28 fs_bind_check -s dir1/b dir2/b
30 EXPECT_PASS umount dir1/b
33 EXPECT_PASS umount dir1
35 EXPECT_PASS umount dir1
Dfs_bind_cloneNS06.sh15 fs_bind_makedir rshared dir1
17 mkdir dir1/x dir2 dir3 dir4
19 EXPECT_PASS mount --rbind dir1 dir2
32 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" dir1/x
34 fs_bind_check dir1/x dir2/x dir3/x dir4/x
37 fs_bind_check -n dir1/x/a dir2/x/a
41 fs_bind_check -s dir1/x dir2/x dir3/x dir4/x
43 fs_bind_check -s -n dir1/x/a dir2/x/a
47 fs_bind_check -s -n dir1/x/b dir3/x/b
52 fs_bind_check -s -n dir1/x/c dir4/x/c
[all …]
Dfs_bind_cloneNS04.sh15 fs_bind_makedir private dir1
16 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
19 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir1/a
21 fs_bind_check -s -n "$FS_BIND_DISK2" dir1/a
24 fs_bind_check -n "$FS_BIND_DISK3" dir1/b
26 EXPECT_PASS umount dir1/a
27 EXPECT_PASS umount dir1
28 EXPECT_PASS umount dir1
Dfs_bind_cloneNS03.sh15 fs_bind_makedir runbindable dir1
16 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
17 fs_bind_check "$FS_BIND_DISK1" dir1
21 fs_bind_check -s "$FS_BIND_DISK1" dir1
23 EXPECT_PASS umount dir1
24 EXPECT_PASS umount dir1
/third_party/ltp/testcases/kernel/fs/fs_bind/bind/
Dfs_bind24.sh15 fs_bind_makedir rshared dir1
16 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
20 EXPECT_PASS mount --make-rslave dir1
21 EXPECT_PASS mount --make-rshared dir1
23 EXPECT_PASS mount --bind dir1/1/2/3 dir3
24 EXPECT_PASS mount --make-rslave dir1
27 fs_bind_check dir1/1/2/fs_bind_check/ dir4
32 EXPECT_PASS umount dir1
Dfs_bind21.sh15 fs_bind_makedir rshared dir1
17 mkdir dir1/x dir2 dir3 dir4
19 EXPECT_PASS mount --bind dir1 dir2
30 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1/x
31 fs_bind_check dir1/x dir2/x dir3/x dir4/x
34 fs_bind_check -n dir1/x/a dir2/x/a
38 fs_bind_check -n dir1/x/b dir3/x/b
43 fs_bind_check -n dir1/x/c dir4/x/c
50 EXPECT_PASS umount dir1/x
51 EXPECT_PASS umount dir1
/third_party/ltp/testcases/kernel/fs/fs_bind/
Dfs_bind_regression.sh26 mkdir dir1
28 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
29 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir1/a
30 EXPECT_PASS mount --rbind dir1 dir2
32 fs_bind_check dir1/a dir2/a
34 EXPECT_PASS umount dir1/a
37 EXPECT_PASS umount dir1
44 mkdir dir1
46 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
47 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir1/a
[all …]
Dfs_bind_lib.sh73 local OPTIND expect_diff use_ns args msg dir1 dir2 fail output
96 dir1=$1
102 if [ ! -d "$dir1" ]; then
103 tst_res TFAIL "$msg: \"$dir1\" 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/ltp/testcases/kernel/fs/fs_bind/rbind/
Dfs_bind_rbind33.sh15 fs_bind_makedir rshared dir1
17 mkdir dir1/x dir2 dir3 dir4
19 EXPECT_PASS mount --rbind dir1 dir2
30 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" dir1/x
32 fs_bind_check dir1/x dir2/x dir3/x dir4/x
35 fs_bind_check -n dir1/x/a dir2/x/a
39 fs_bind_check -n dir1/x/b dir3/x/b
44 fs_bind_check -n dir1/x/c dir4/x/c
52 EXPECT_PASS umount dir1/x
53 EXPECT_PASS umount dir1
/third_party/ltp/testcases/kernel/fs/fs-bench/
Dcreate-files.c18 void makedir(char *dir1);
31 char dir1[MAXN]; in main() local
51 sprintf(dir1, "%2.2x", i); in main()
52 makedir(dir1); in main()
53 changedir(dir1); in main()
63 sprintf(filename, "%s%s%s%2.2x", dir1, in main()
84 void makedir(char *dir1) in makedir() argument
86 if (mkdir(dir1, S_IRWXU) < 0) { in makedir()
87 perror(dir1); in makedir()
/third_party/toybox/tests/
Dmv.test34 mkdir dir1 dir2
35 touch file1 file2 dir1/file3
76 mkdir dir1
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
/third_party/node/test/parallel/
Dtest-fs-mkdir.js269 const dir1 = nextdir(); constant
271 const firstPathCreated = path.join(tmpdir.path, dir1);
272 const pathname = path.join(tmpdir.path, dir1, dir2);
284 const dir1 = nextdir(); constant
286 const pathname = path.join(tmpdir.path, dir1, dir2);
287 fs.mkdirSync(path.join(tmpdir.path, dir1));
298 const dir1 = nextdir(); constant
300 const pathname = path.join(tmpdir.path, dir1, dir2);
301 …fs.mkdirSync(path.join(tmpdir.path, dir1, dir2), common.mustNotMutateObjectDeep({ recursive: true …
312 const dir1 = nextdir(); constant
[all …]
/third_party/ltp/testcases/kernel/fs/mongo/
Dmongo.pl232 my ($phase_num, $phase_name, $cmd, $dir1, $dir2, $flag, $processes) = @_ ;
259 $com .= "$cmd $dir1-$i-$j $flag";
262 $com .= "$cmd $dir1-$i-$j $dir2-$i-$j";
265 …$com .= "$cmd $dir1-$i-$j "."-type f | while read X; do echo \$X \$X.lnk ; done | $TOPDIR/mongo_sl…
274 $com .= "$cmd $dir1-$i-$j -type f | perl -e 'while (<>) { chomp; rename (\$_, \"\$_.r\"); };'";
279 $com .= "$cmd $dir1-$i-$j & $cmd $dir2-$i-$j";
282 $com .= "$cmd $dir1-$i-$j ; $cmd $dir2-$i-$j";
401 $dir1 = "$TESTDIR/testdir1";
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
[all …]
/third_party/ltp/testcases/kernel/fs/fs_readonly/
Dtest_robind.sh91 umount dir1
211 mount -t $fstype $device dir1
218 mount --bind dir1 dir2-bound
225 mount --bind dir1 dir3-ro
232 mount -o remount,ro,bind dir1 dir3-ro
237 testdir dir1 $fstype false
/third_party/ltp/testcases/kernel/fs/fs_inod/
Dfs_inod164 [ -d dir1 ] || { \
165 mkdir dir1 || abort "mkdir dir1 FAILED"
167 cd dir1 || err_log "cd dir1 FAILED"
179 cd ../dir1
185 cd ../dir1
/third_party/python/Lib/test/test_tools/
Dtest_lll.py20 with tempfile.TemporaryDirectory() as dir1, \
22 fn1 = os.path.join(dir1, 'foo1')
24 for fn, dir in (fn1, dir1), (fn2, dir2):
29 self.lll.main([dir1, dir2])
/third_party/node/test/es-module/
Dtest-esm-exports-deprecations.mjs14 '"./subpath/dir1/dir1.js"',
15 '"./subpath//dir1/dir1.js"',
Dtest-esm-exports.mjs35 ['pkgexports/subpath/sub-dir1', { default: 'main' }],
36 ['pkgexports/subpath/sub-dir1.js', { default: 'main' }],
37 ['pkgexports/features/dir1', { default: 'main' }],
38 ['pkgexports/dir1/dir1/trailer', { default: 'main' }],
40 ['pkgexports/a/dir1/dir1', { default: 'main' }],
41 ['pkgexports/a/b/dir1/dir1', { default: 'main' }],
45 ['pkgexports/a//dir1/dir1', { default: 'main' }],
179 loadFixture('pkgexports/subpath/dir1').catch(mustCall(onDirectoryImport));
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/
Dmain.c50 int makedir(char *dir1);
247 char dir1[MAXN]; in do_create_file_test() local
265 sprintf(dir1, "%2.2x", i); in do_create_file_test()
267 makedir(dir1); in do_create_file_test()
269 changedir(dir1); in do_create_file_test()
286 sprintf(filename, "%s%s%s%2.2x", dir1, in do_create_file_test()
313 int makedir(char *dir1) in makedir() argument
315 if (mkdir(dir1, S_IRWXU) < 0) { in makedir()
316 perror(dir1); in makedir()
/third_party/ltp/testcases/network/nfs/nfs_stress/
Dnfs03.sh53 ROD mkdir -p dir1
54 cd dir1
68 cd ../dir1
/third_party/libabigail/bash-completion/
Dabicompat9 '--app-debug-info-dir'|'--lib-debug-info-dir1'|'--lib-debug-info-dir2')
30 OPTS=" --app-debug-info-dir1
32 --lib-debug-info-dir1
Dabipkgdiff9 '--d1'|'--d2'|'--debug-info-dir1'|'--debug-info-dir2')
26 --debug-info-dir1
/third_party/musl/libc-test/src/functionalext/supplement/dirent/
Dopendir.c48 DIR *dir1 = opendir("/dev/null"); in opendir_0200() local
49 if (dir1) { in opendir_0200()

1234