Home
last modified time | relevance | path

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

123456

/external/toybox/tests/
Dtar.test11 mkdir dir/dir1 -p
12 echo "This is testdata" > dir/dir1/file
16 mkdir dir/dir1 -p
17 echo "This is testdata" > dir/dir1/file
21 mkdir dir/dir1 -p
22 echo "This is testdata" > dir/dir1/file
35 mkdir dir/dir1 -p
36 touch dir/dir1/file1 dir/dir1/file2 dir/dir1/file3 dir/dir1/file4
41 mkdir -p dir/dir1 dir/dir2 dir/dir3 dir/dir4
42 echo "This is testdata" > dir/dir1/file; echo "Dont exclude me" > dir/dir3/file1 ;
[all …]
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
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
/external/ltp/testcases/kernel/fs/fs_bind/bind/
Dtest2443 "${FS_BIND_ROOT}/bin/makedir" share dir1
44 mkdir dir1/1 dir1/1/2 dir1/1/2/3 dir1/1/2/check dir2 dir3 dir4
47 mount --bind dir1/1/2 dir2
48 "${FS_BIND_ROOT}/bin/makedir" slave dir1
49 "${FS_BIND_ROOT}/bin/makedir" -n share dir1
51 mount --bind dir1/1/2/3 dir3
52 "${FS_BIND_ROOT}/bin/makedir" slave dir1
56 check dir1/1/2/check/ dir4
71 umount dir1
Dtest2145 "${FS_BIND_ROOT}/bin/makedir" share dir1
47 mkdir dir1/x dir2 dir3 dir4
49 mount --bind dir1 dir2
60 mount --bind "$disk1" dir1/x
62 check dir1/x dir2/x dir3/x dir4/x
65 check -n dir1/x/a dir2/x/a
69 check -n dir1/x/b dir3/x/b
74 check -n dir1/x/c dir4/x/c
91 umount dir1/x
92 umount dir1
[all …]
/external/ltp/testcases/kernel/fs/fs_bind/rbind/
Dtest3345 "${FS_BIND_ROOT}/bin/makedir" share dir1
47 mkdir dir1/x dir2 dir3 dir4
49 mount --rbind dir1 dir2
60 mount --rbind "$disk1" dir1/x
62 check dir1/x dir2/x dir3/x dir4/x
65 check -n dir1/x/a dir2/x/a
69 check -n dir1/x/b dir3/x/b
74 check -n dir1/x/c dir4/x/c
91 umount dir1/x
92 umount dir1
[all …]
/external/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()
/external/ltp/testcases/kernel/fs/fs_bind/regression/
Dtest0244 mkdir dir1
46 mount --bind "$disk1" dir1
47 mount --bind "$disk2" dir1/a
48 mount --rbind dir1 dir2
50 check dir1/a dir2/a
62 umount dir1/a
65 umount dir1
Dtest0344 mkdir dir1
46 mount --bind "$disk1" dir1
47 mount --bind "$disk2" dir1/a
48 mount --move dir1 dir2
64 umount dir1
/external/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 …]
/external/ltp/testcases/kernel/fs/fs_bind/cloneNS/
Dtest0146 "${FS_BIND_ROOT}/bin/makedir" share dir1
50 mount --bind "$disk1" dir1
52 mount --bind dir1 dir2
66 umount dir1/a
68 umount dir1
69 umount dir1
70 umount dir1
Dtest0247 "${FS_BIND_ROOT}/bin/makedir" share dir1
48 mount --bind "$disk1" dir1
51 mount --bind dir1 dir2
66 umount dir1/a
68 umount dir1/c
70 umount dir1
71 umount dir1
Dtest0446 "${FS_BIND_ROOT}/bin/makedir" priv dir1
47 mount --bind "$disk1" dir1
62 umount dir1/a
63 umount dir1
64 umount dir1
Dtest0647 "${FS_BIND_ROOT}/bin/makedir" share dir1
49 mkdir dir1/x dir2 dir3 dir4
51 mount --rbind dir1 dir2
77 umount dir1/x
81 umount dir1
Dchild0631 check dir1/x dir2/x dir3/x dir4/x
33 echo ls dir1/x/a
34 ls dir1/x/a
35 check -n dir1/x/a dir2/x/a
39 check -n dir1/x/b dir3/x/b
44 check -n dir1/x/c dir4/x/c
Dtest0346 "${FS_BIND_ROOT}/bin/makedir" unclone dir1
47 mount --bind "$disk1" dir1
62 umount dir1
63 umount dir1
Dparent0232 mount --bind "$disk2" dir1/a
33 check dir1/a dir2/a
36 check -n dir1/b dir2/b
41 check "$disk2" dir1/a dir2/a
42 check "$disk4" dir1/c dir2/c
Dparent0630 mount --rbind "$disk1" dir1/x
32 check dir1/x dir2/x dir3/x dir4/x
35 check -n dir1/x/a dir2/x/a
42 check -n dir1/x/b dir3/x/b
48 check dir1/x/c dir2/x/c dir3/x/c dir4/x/c
Dchild0231 check "$disk2" dir1/a dir2/a
35 mount --bind "$disk4" dir1/c
36 check dir1/c dir2/c
39 check -n dir1/a dir2/a
Dparent0133 check dir1/a dir2/a
34 echo dir1/a
35 ls dir1/a
39 check "$disk3" dir1/b dir2/b
/external/ltp/testcases/kernel/fs/fs_bind/bin/
Dcheck_prop38 dir1="$1"
45 echo "Checking \"$dir1\" \"$dir2\""
46 diff -r "$dir1" "$dir2" 2> /dev/null
61 dir1="$dir2"
/external/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
/external/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
/external/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()
/external/ltp/testcases/network/nfs/nfs_stress/
Dnfs0370 ROD mkdir -p dir1
71 cd dir1
85 cd ../dir1

123456