/external/apache-commons-io/src/test/java/org/apache/commons/io/file/ |
D | PathUtilsContentEqualsTest.java | 59 …final Path dir2 = Paths.get("src/test/resources/dir-equals-tests/dir-equals-files-only/directory-f… in testDirectoryAndFileContentEquals() local 60 assertTrue(PathUtils.directoryAndFileContentEquals(dir1, dir2)); in testDirectoryAndFileContentEquals() 61 assertTrue(PathUtils.directoryAndFileContentEquals(dir2, dir2)); in testDirectoryAndFileContentEquals() 63 assertTrue(PathUtils.directoryAndFileContentEquals(dir2, dir2)); in testDirectoryAndFileContentEquals() 68 …final Path dir2 = Paths.get("src/test/resources/dir-equals-tests/dir-equals-dirs-then-files/dir2"); in testDirectoryAndFileContentEquals() local 69 assertTrue(PathUtils.directoryAndFileContentEquals(dir1, dir2)); in testDirectoryAndFileContentEquals() 70 assertTrue(PathUtils.directoryAndFileContentEquals(dir2, dir2)); in testDirectoryAndFileContentEquals() 72 assertTrue(PathUtils.directoryAndFileContentEquals(dir2, dir2)); in testDirectoryAndFileContentEquals() 77 …final Path dir2 = Paths.get("src/test/resources/dir-equals-tests/dir-equals-dirs-and-files/dirs-an… in testDirectoryAndFileContentEquals() local 78 assertTrue(PathUtils.directoryAndFileContentEquals(dir1, dir2)); in testDirectoryAndFileContentEquals() [all …]
|
/external/ltp/testcases/kernel/fs/fs_bind/cloneNS/ |
D | fs_bind_cloneNS02.sh | 17 mkdir dir2 18 EXPECT_PASS mount --bind dir1 dir2 19 EXPECT_PASS mount --make-slave dir2 24 fs_bind_check dir1/a dir2/a 25 EXPECT_PASS mount --bind "$FS_BIND_DISK3" dir2/b 26 fs_bind_check -n dir1/b dir2/b 29 fs_bind_check -s "$FS_BIND_DISK2" dir1/a dir2/a 30 fs_bind_check -s -n "$FS_BIND_DISK3" dir2/b 33 fs_bind_check -s dir1/c dir2/c 35 fs_bind_exec_ns umount $PWD/dir2/a [all …]
|
D | fs_bind_cloneNS06.sh | 16 mkdir dir1/x dir2 dir3 dir4 18 EXPECT_PASS mount --rbind dir1 dir2 19 EXPECT_PASS mount --make-rslave dir2 20 EXPECT_PASS mount --make-rshared dir2 22 EXPECT_PASS mount --rbind dir2 dir3 33 fs_bind_check dir1/x dir2/x dir3/x dir4/x 35 EXPECT_PASS mount --rbind "$FS_BIND_DISK2" dir2/x/a 36 fs_bind_check -n dir1/x/a dir2/x/a 37 fs_bind_check dir2/x/a dir3/x/a dir4/x/a 40 fs_bind_check -s dir1/x dir2/x dir3/x dir4/x [all …]
|
D | fs_bind_cloneNS01.sh | 15 fs_bind_makedir rshared dir2 18 EXPECT_PASS mount --bind dir1 dir2 22 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir2/a 23 fs_bind_check dir1/a dir2/a 25 fs_bind_check -s "$FS_BIND_DISK2" dir1/a dir2/a 27 fs_bind_check -s dir1/b dir2/b 30 EXPECT_PASS umount dir2/a 31 EXPECT_PASS umount dir2 33 EXPECT_PASS umount dir2
|
/external/apache-commons-compress/src/test/resources/longpath/ |
D | minotaur.cpio | 1 …dir20707077777771664760407750032710032710000030000001137125044100003500000000000compress-test/dir…
|
D | files.txt | 26 compress-test/dir1/dir2/ 27 compress-test/dir1/dir2/dir3/ 28 compress-test/dir1/dir2/dir3/dir4/ 29 compress-test/dir1/dir2/dir3/dir4/dir5/ 30 compress-test/dir1/dir2/dir3/dir4/dir5/dir6/ 31 compress-test/dir1/dir2/dir3/dir4/dir5/dir6/dir7/ 32 compress-test/dir1/dir2/dir3/dir4/dir5/dir6/dir7/dir8/ 33 compress-test/dir1/dir2/dir3/dir4/dir5/dir6/dir7/dir8/dir9/ 34 compress-test/dir1/dir2/dir3/dir4/dir5/dir6/dir7/dir8/dir9/dir10/ 35 compress-test/dir1/dir2/dir3/dir4/dir5/dir6/dir7/dir8/dir9/dir10/file12345678901234567890.txt [all …]
|
/external/ltp/testcases/kernel/fs/fs_bind/rbind/ |
D | fs_bind_rbind33.sh | 16 mkdir dir1/x dir2 dir3 dir4 18 EXPECT_PASS mount --rbind dir1 dir2 19 EXPECT_PASS mount --make-rslave dir2 20 EXPECT_PASS mount --make-shared dir2 22 EXPECT_PASS mount --rbind dir2 dir3 31 fs_bind_check dir1/x dir2/x dir3/x dir4/x 33 EXPECT_PASS mount --rbind "$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 …]
|
/external/ltp/testcases/kernel/fs/fs_bind/bind/ |
D | fs_bind21.sh | 16 mkdir dir1/x dir2 dir3 dir4 18 EXPECT_PASS mount --bind dir1 dir2 19 EXPECT_PASS mount --make-rslave dir2 20 EXPECT_PASS mount --make-rshared dir2 22 EXPECT_PASS mount --bind dir2 dir3 30 fs_bind_check dir1/x dir2/x dir3/x dir4/x 32 EXPECT_PASS mount --bind "$FS_BIND_DISK2" dir2/x/a 33 fs_bind_check -n dir1/x/a dir2/x/a 34 fs_bind_check dir2/x/a dir3/x/a dir4/x/a 38 fs_bind_check -n dir2/x/b dir3/x/b [all …]
|
D | fs_bind24.sh | 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 25 EXPECT_PASS mount --bind dir4 dir2/fs_bind_check 28 EXPECT_PASS umount dir2/fs_bind_check 30 EXPECT_PASS umount dir2
|
/external/ltp/testcases/kernel/fs/fs_bind/ |
D | fs_bind_regression.sh | 26 mkdir dir2 29 EXPECT_PASS mount --rbind dir1 dir2 31 fs_bind_check dir1/a dir2/a 34 EXPECT_PASS umount dir2/a 35 EXPECT_PASS umount dir2 44 mkdir dir2 47 EXPECT_PASS mount --move dir1 dir2 49 fs_bind_check dir2/a "$FS_BIND_DISK2" 51 EXPECT_PASS umount dir2/a 52 EXPECT_PASS umount dir2
|
D | fs_bind_lib.sh | 69 local OPTIND expect_diff use_ns args msg dir1 dir2 fail output 95 for dir2 in "$@"; do 101 elif [ ! -d "$dir2" ]; then 106 tst_res TFAIL "$msg: \"$dir2\" does not exist" 112 output="$(ns_exec ${FS_BIND_MNTNS_PID} mnt diff -r "$PWD/$dir1" "$PWD/$dir2" 2> /dev/null)" 114 output="$(diff -r "$dir1" "$dir2" 2> /dev/null)" 125 tst_res TFAIL "\"$dir1\" \"$dir2\" differ:\n$output" 129 dir1="$dir2"
|
/external/e2fsprogs/tests/f_dup4/ |
D | script | 19 mkdir dir2 24 cd /dir2 31 mkdir /dir2/fie 34 link /dir/foo /dir2/foo1 36 link /dir2/bar /dir3/bar1 38 link /dir4/quux /dir2/quux2 40 set_inode_field /dir2/bar block[0] 30 43 set_inode_field /dir2/fie block[0] 34
|
D | expect.1 | 20 /dir2/bar (inode #17, mod time Tue Apr 10 21:00:00 2007) 27 /dir2/bar (inode #17, mod time Tue Apr 10 21:00:00 2007) 31 File /dir2/bar (inode #17, mod time Tue Apr 10 21:00:00 2007) 40 /dir2/bar (inode #17, mod time Tue Apr 10 21:00:00 2007) 48 /dir2/fie (inode #21, mod time Tue Apr 10 21:00:00 2007) 55 /dir2/fie (inode #21, mod time Tue Apr 10 21:00:00 2007) 59 File /dir2/fie (inode #21, mod time Tue Apr 10 21:00:00 2007) 68 /dir2/fie (inode #21, mod time Tue Apr 10 21:00:00 2007) 105 '..' in /dir2/fie (21) is <The NULL inode> (0), should be /dir2 (13).
|
/external/toybox/tests/ |
D | mv.test | 34 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
|
D | rm.test | 26 mkdir dir1 dir2 34 mkdir dir1 dir2 42 mkdir -p dir1/dir2/dir3 dir1/dir2/dir4 43 touch dir1/file1.txt dir1/dir2/file2.txt dir1/dir2/dir3/file3.txt
|
/external/ltp/testcases/kernel/fs/mongo/ |
D | mongo.pl | 232 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 …]
|
/external/ltp/testcases/kernel/fs/fs_inod/ |
D | fs_inod | 156 [ -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
|
/external/e2fsprogs/tests/f_bad_encryption/ |
D | mkimage.sh | 149 dir2=mnt/edir2 150 mkdir $dir2 151 echo password | e4crypt add_key $dir2 153 create_encrypted_file $dir2/file 154 set_encryption_xattr $dir2/file $xattr 155 set_encryption_xattr $dir2 $xattr
|
/external/python/cpython3/Lib/test/test_tools/ |
D | test_lll.py | 21 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])
|
/external/ltp/testcases/network/nfs/nfs_stress/ |
D | nfs03.sh | 59 ROD mkdir -p dir2 60 cd dir2 71 cd ../dir2
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | MoreFilesFileTraverserTest.java | 83 Path dir2 = newDir("dir-2"); in testFileTraverser_multipleFilesAndDirectories() local 86 .containsExactly(rootDir, fileA, fileB, dir1, dir2); in testFileTraverser_multipleFilesAndDirectories() 104 Path dir2 = newFile("dir-1/dir-2"); in testFileTraverser_multipleDirectoryLayers_traversalReturnsAll() local 107 .containsExactly(rootDir, fileA, fileB, dir1, dir2); in testFileTraverser_multipleDirectoryLayers_traversalReturnsAll()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_directory/ |
D | is_directory.pass.cpp | 81 const path dir2 = env.create_dir("dir/dir2"); in TEST_CASE() local 85 TEST_CHECK(is_directory(dir2, ec) == false); in TEST_CASE() 88 TEST_CHECK_THROW(filesystem_error, is_directory(dir2)); in TEST_CASE()
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/ |
D | TestTransforms.java | 142 int dir2 = Transliterator.REVERSE; in checkString() local 146 dir2 = Transliterator.FORWARD; in checkString() 155 Transliterator t2 = Transliterator.getInstance(id, dir2); in checkString() 158 System.out.println("Test\t" + id + "\t" + dir2 + "\t" + test2); in checkString()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/ |
D | create_directory_with_attributes.pass.cpp | 43 const path dir2 = env.create_dir("dir2"); in TEST_CASE() local 46 permissions(dir2, perms::none); in TEST_CASE() 49 TEST_CHECK(fs::create_directory(dir, dir2, ec) == false); in TEST_CASE() 56 TEST_CHECK(fs::create_directory(dir, dir2) == false); in TEST_CASE()
|
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | FilesFileTraverserTest.java | 102 File dir2 = newDir("dir-2"); in testFileTraverser_multipleFilesAndDirectories() local 105 .containsExactly(rootDir, fileA, fileB, dir1, dir2); in testFileTraverser_multipleFilesAndDirectories() 123 File dir2 = newFile("dir-1/dir-2"); in testFileTraverser_multipleDirectoryLayers_traversalReturnsAll() local 126 .containsExactly(rootDir, fileA, fileB, dir1, dir2); in testFileTraverser_multipleDirectoryLayers_traversalReturnsAll()
|