Home
last modified time | relevance | path

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

1234

/third_party/ltp/testcases/kernel/fs/fs_bind/cloneNS/
Dfs_bind_cloneNS02.sh14 fs_bind_makedir rshared dir1
15 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
18 EXPECT_PASS mount --bind dir1 dir2
23 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir1/a
24 fs_bind_check dir1/a dir2/a
26 fs_bind_check -n dir1/b dir2/b
29 fs_bind_check -s "$FS_BIND_DISK2" dir1/a dir2/a
31 fs_bind_check -s -n "$FS_BIND_DISK3" dir1/b
32 fs_bind_exec_ns mount --bind "$PWD/$FS_BIND_DISK4" $PWD/dir1/c
33 fs_bind_check -s dir1/c dir2/c
[all …]
Dfs_bind_cloneNS01.sh14 fs_bind_makedir rshared dir1
17 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
18 EXPECT_PASS mount --bind dir1 dir2
23 fs_bind_check dir1/a dir2/a
25 fs_bind_check -s "$FS_BIND_DISK2" dir1/a dir2/a
26 fs_bind_exec_ns mount --bind "$PWD/$FS_BIND_DISK3" $PWD/dir1/b
27 fs_bind_check -s dir1/b dir2/b
29 EXPECT_PASS umount dir1/b
32 EXPECT_PASS umount dir1
34 EXPECT_PASS umount dir1
Dfs_bind_cloneNS06.sh14 fs_bind_makedir rshared dir1
16 mkdir dir1/x dir2 dir3 dir4
18 EXPECT_PASS mount --rbind dir1 dir2
31 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" dir1/x
33 fs_bind_check dir1/x dir2/x dir3/x dir4/x
36 fs_bind_check -n dir1/x/a dir2/x/a
40 fs_bind_check -s dir1/x dir2/x dir3/x dir4/x
42 fs_bind_check -s -n dir1/x/a dir2/x/a
46 fs_bind_check -s -n dir1/x/b dir3/x/b
51 fs_bind_check -s -n dir1/x/c dir4/x/c
[all …]
Dfs_bind_cloneNS04.sh14 fs_bind_makedir private dir1
15 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
18 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir1/a
20 fs_bind_check -s -n "$FS_BIND_DISK2" dir1/a
23 fs_bind_check -n "$FS_BIND_DISK3" dir1/b
25 EXPECT_PASS umount dir1/a
26 EXPECT_PASS umount dir1
27 EXPECT_PASS umount dir1
Dfs_bind_cloneNS03.sh14 fs_bind_makedir runbindable dir1
15 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
16 fs_bind_check "$FS_BIND_DISK1" dir1
20 fs_bind_check -s "$FS_BIND_DISK1" dir1
22 EXPECT_PASS umount dir1
23 EXPECT_PASS umount dir1
/third_party/ltp/testcases/kernel/fs/fs_bind/bind/
Dfs_bind24.sh14 fs_bind_makedir rshared dir1
15 mkdir dir1/1 dir1/1/2 dir1/1/2/3 dir1/1/2/fs_bind_check dir2 dir3 dir4
18 EXPECT_PASS mount --bind dir1/1/2 dir2
19 EXPECT_PASS mount --make-rslave dir1
20 EXPECT_PASS mount --make-rshared dir1
22 EXPECT_PASS mount --bind dir1/1/2/3 dir3
23 EXPECT_PASS mount --make-rslave dir1
26 fs_bind_check dir1/1/2/fs_bind_check/ dir4
31 EXPECT_PASS umount dir1
Dfs_bind21.sh14 fs_bind_makedir rshared dir1
16 mkdir dir1/x dir2 dir3 dir4
18 EXPECT_PASS mount --bind dir1 dir2
29 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1/x
30 fs_bind_check dir1/x dir2/x dir3/x dir4/x
33 fs_bind_check -n dir1/x/a dir2/x/a
37 fs_bind_check -n dir1/x/b dir3/x/b
42 fs_bind_check -n dir1/x/c dir4/x/c
49 EXPECT_PASS umount dir1/x
50 EXPECT_PASS umount dir1
/third_party/ltp/testcases/kernel/fs/fs_bind/
Dfs_bind_regression.sh25 mkdir dir1
27 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
28 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir1/a
29 EXPECT_PASS mount --rbind dir1 dir2
31 fs_bind_check dir1/a dir2/a
33 EXPECT_PASS umount dir1/a
36 EXPECT_PASS umount dir1
43 mkdir dir1
45 EXPECT_PASS mount --bind "$FS_BIND_DISK1" dir1
46 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir1/a
[all …]
Dfs_bind_lib.sh70 local OPTIND expect_diff use_ns args msg dir1 dir2 fail output
93 dir1=$1
99 if [ ! -d "$dir1" ]; then
100 tst_res TFAIL "$msg: \"$dir1\" does not exist"
113 output="$(tst_ns_exec ${FS_BIND_MNTNS_PID} mnt diff -r "$PWD/$dir1" "$PWD/$dir2" 2> /dev/null)"
115 output="$(diff -r "$dir1" "$dir2" 2> /dev/null)"
126 tst_res TFAIL "\"$dir1\" \"$dir2\" differ:\n$output"
130 dir1="$dir2"
/third_party/ltp/testcases/kernel/fs/fs_bind/rbind/
Dfs_bind_rbind33.sh14 fs_bind_makedir rshared dir1
16 mkdir dir1/x dir2 dir3 dir4
18 EXPECT_PASS mount --rbind dir1 dir2
29 EXPECT_PASS mount --rbind "$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
51 EXPECT_PASS umount dir1/x
52 EXPECT_PASS umount dir1
/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/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/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
213 mount -t $fstype $device dir1
220 mount --bind dir1 dir2-bound
227 mount --bind dir1 dir3-ro
234 mount -o remount,ro,bind dir1 dir3-ro
239 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.sh51 ROD mkdir -p dir1
52 cd dir1
66 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
/third_party/curl/docs/cmdline-opts/
Dftp-method.md14 - --ftp-method multicwd ftp://example.com/dir1/dir2/file
15 - --ftp-method nocwd ftp://example.com/dir1/dir2/file
16 - --ftp-method singlecwd ftp://example.com/dir1/dir2/file
/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