/external/e2fsprogs/tests/ |
D | test_one.in | 22 test_dir=$1 31 test_name=`echo $test_dir | sed -e 's;.*/;;'` 36 if [ -f $test_dir ] ; then 39 if [ ! -d $test_dir ] ; then 43 if [ -z "`ls $test_dir`" ]; then 46 if [ -f $test_dir/name ]; then 47 test_description=`cat $test_dir/name` 55 if [ -f $test_dir/script ]; then 56 . $test_dir/script
|
D | run_e2fsck | 5 IMAGE=$test_dir/image.gz 25 if [ -f $test_dir/expect.1.gz ]; then 27 gunzip < $test_dir/expect.1.gz > $EXP1 29 EXP1=$test_dir/expect.1 34 if [ -f $test_dir/expect.2.gz ]; then 36 gunzip < $test_dir/expect.2.gz > $EXP2 38 EXP2=$test_dir/expect.2 77 cmp -s $test_name.0.log $test_dir/expect.0 96 diff $DIFF_OPTS $test_dir/expect.0 \
|
/external/autotest/client/bin/result_tools/ |
D | utils_unittest.py | 169 self.test_dir = tempfile.mkdtemp() 170 file1 = os.path.join(self.test_dir, 'file1') 172 folder1 = os.path.join(self.test_dir, 'folder1') 179 folder2 = os.path.join(self.test_dir, 'folder2') 189 shutil.rmtree(self.test_dir, ignore_errors=True) 194 self.test_dir + '/', self.test_dir + '/') 203 self.test_dir = tempfile.mkdtemp() + '/' 204 file1 = os.path.join(self.test_dir, 'file1') 206 file2 = os.path.join(self.test_dir, 'file2') 208 file3 = os.path.join(self.test_dir, 'file3') [all …]
|
/external/jemalloc/android/test/ |
D | run_jemalloc_tests.sh | 86 local test_dir=$1 89 if [[ -d "${test_dir}" ]]; then 92 ${test_dir}/$test 107 for test_dir in ${TEST_DIRECTORIES[@]}; do 108 if [[ -d "${test_dir}" ]]; then 109 run_tests "unit" "${test_dir}/${UNIT_TEST_DIR}" ${UNIT_TESTS[@]} 110 run_tests "integration" "${test_dir}/${INTEGRATION_TEST_DIR}" ${INTEGRATION_TESTS[@]}
|
/external/autotest/server/site_tests/brillo_ADBDirectoryTransfer/ |
D | brillo_ADBDirectoryTransfer.py | 33 self.test_dir = os.path.join(self.temp_dir, 'test_dir') 34 os.mkdir(self.test_dir) 35 os.mkdir(os.path.join(self.test_dir, 'subdir')) 37 with open(os.path.join(self.test_dir, 'file_a'), 'w') as f: 40 with open(os.path.join(self.test_dir, 'file_b'), 'w') as f: 43 with open(os.path.join(self.test_dir, 'subdir', 'file_c'), 'w') as f: 56 host.send_file(self.test_dir, device_temp_dir, delete_dest=True) 60 original = os.path.join(self.test_dir, path)
|
/external/lisa/libs/utils/ |
D | results.py | 56 test_dir = self.results_dir + '/' + test_idx 57 if not os.path.isdir(test_dir): 60 test = TestFactory.get(test_idx, test_dir, self.results) 75 def __init__(self, test_idx, test_dir, res): argument 77 self.test_dir = test_dir 79 match = TEST_DIR_RE.search(test_dir) 82 self._log.error('Skip parsing of test results [%s]', test_dir) 111 for run_idx in sorted(os.listdir(self.test_dir)): 114 run_dir = os.path.join(self.test_dir, run_idx) 145 def get(test_idx, test_dir, res): argument [all …]
|
/external/markdown/MarkdownTest/ |
D | MarkdownTest.pl | 19 my $test_dir = "Tests"; 26 "testdir=s" => \$test_dir, 37 unless (-d $test_dir) { die "'$test_dir' is not a directory.\n"; } 45 foreach my $testfile (glob "$test_dir/*.text") {
|
/external/autotest/client/site_tests/security_ChromiumOSLSM/ |
D | security_ChromiumOSLSM.py | 39 test_dir = '/tmp/chromium_lsm_test_dir' 40 os.mkdir(test_dir, 0700) 42 mnt_target = '%s/mount_point' % (test_dir) 45 sym_target = '%s/symlink' % (test_dir) 56 utils.system('rm -rf ' + test_dir)
|
/external/e2fsprogs/tests/f_compress_extent_tree_level/ |
D | script | 5 IMAGE=$test_dir/image.gz 25 if [ -f $test_dir/expect.1.gz ]; then 27 gunzip < $test_dir/expect.1.gz > $EXP1 29 EXP1=$test_dir/expect.1 34 if [ -f $test_dir/expect.2.gz ]; then 36 gunzip < $test_dir/expect.2.gz > $EXP2 38 EXP2=$test_dir/expect.2 83 cmp -s $test_name.0.log $test_dir/expect.0 102 diff $DIFF_OPTS $test_dir/expect.0 \
|
/external/e2fsprogs/tests/f_extent_too_deep/ |
D | script | 5 IMAGE=$test_dir/image.gz 25 if [ -f $test_dir/expect.1.gz ]; then 27 gunzip < $test_dir/expect.1.gz > $EXP1 29 EXP1=$test_dir/expect.1 34 if [ -f $test_dir/expect.2.gz ]; then 36 gunzip < $test_dir/expect.2.gz > $EXP2 38 EXP2=$test_dir/expect.2 83 cmp -s $test_name.0.log $test_dir/expect.0 102 diff $DIFF_OPTS $test_dir/expect.0 \
|
/external/e2fsprogs/tests/f_collapse_extent_tree/ |
D | script | 5 IMAGE=$test_dir/image.gz 25 if [ -f $test_dir/expect.1.gz ]; then 27 gunzip < $test_dir/expect.1.gz > $EXP1 29 EXP1=$test_dir/expect.1 34 if [ -f $test_dir/expect.2.gz ]; then 36 gunzip < $test_dir/expect.2.gz > $EXP2 38 EXP2=$test_dir/expect.2 83 cmp -s $test_name.0.log $test_dir/expect.0 102 diff $DIFF_OPTS $test_dir/expect.0 \
|
/external/e2fsprogs/tests/f_convert_bmap_and_extent/ |
D | script | 5 IMAGE=$test_dir/image.gz 25 if [ -f $test_dir/expect.1.gz ]; then 27 gunzip < $test_dir/expect.1.gz > $EXP1 29 EXP1=$test_dir/expect.1 34 if [ -f $test_dir/expect.2.gz ]; then 36 gunzip < $test_dir/expect.2.gz > $EXP2 38 EXP2=$test_dir/expect.2 84 cmp -s $test_name.0.log $test_dir/expect.0 103 diff $DIFF_OPTS $test_dir/expect.0 \
|
/external/e2fsprogs/tests/f_convert_bmap/ |
D | script | 5 IMAGE=$test_dir/image.gz 25 if [ -f $test_dir/expect.1.gz ]; then 27 gunzip < $test_dir/expect.1.gz > $EXP1 29 EXP1=$test_dir/expect.1 34 if [ -f $test_dir/expect.2.gz ]; then 36 gunzip < $test_dir/expect.2.gz > $EXP2 38 EXP2=$test_dir/expect.2 82 cmp -s $test_name.0.log $test_dir/expect.0 101 diff $DIFF_OPTS $test_dir/expect.0 \
|
/external/python/cpython2/Lib/test/ |
D | test_pkgimport.py | 20 self.test_dir = tempfile.mkdtemp() 21 sys.path.append(self.test_dir) 22 self.package_dir = os.path.join(self.test_dir, 33 os.rmdir(self.test_dir) 34 self.assertNotEqual(sys.path.count(self.test_dir), 0) 35 sys.path.remove(self.test_dir)
|
/external/flatbuffers/tests/ |
D | PythonTest.sh | 18 test_dir="$(pwd)" 19 gen_code_path=${test_dir} 20 runtime_library_dir=${test_dir}/../python 23 ${test_dir}/../flatc -p -o ${gen_code_path} monster_test.fbs
|
D | GoTest.sh | 18 test_dir="$(pwd)" 19 go_path=${test_dir}/go_gen 45 --cpp_data=${test_dir}/monsterdata_test.mon \ 46 --out_data=${test_dir}/monsterdata_go_wire.mon \
|
/external/ltp/testcases/kernel/syscalls/readdir/ |
D | readdir02.c | 66 DIR *test_dir; in main() local 77 if ((test_dir = opendir(".")) == NULL) { in main() 81 if (closedir(test_dir) < 0) { in main() 86 dptr = readdir(test_dir); in main()
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | tempfile_ext_unittest.py | 36 test_dir = '/baz' 37 self.fs.CreateDirectory(test_dir) 38 with tempfile_ext.NamedTemporaryDirectory(dir=test_dir) as d: 39 self.assertEquals(test_dir, os.path.dirname(d))
|
/external/valgrind/tests/ |
D | post_regtest_checks | 17 test_dir="$abs_top_srcdir/tests" 25 $test_dir/check_makefile_consistency "$@" 33 $test_dir/check_headers_and_includes "$abs_top_srcdir"
|
/external/e2fsprogs/tests/j_ext_dumpe2fs/ |
D | script | 3 if [ -f $test_dir/expect.gz ]; then 5 gunzip < $test_dir/expect.gz > $EXP1 7 EXP=$test_dir/expect 12 gunzip < $test_dir/image.gz > $TMPFILE
|
/external/e2fsprogs/tests/j_corrupt_ext_jnl_sb_block/ |
D | script | 3 if [ -f $test_dir/expect.gz ]; then 5 gunzip < $test_dir/expect.gz > $EXP1 7 EXP=$test_dir/expect 12 bzip2 -dc < $test_dir/image.tar.bz2 | tar xf -
|
/external/e2fsprogs/tests/f_readonly_fsck/ |
D | script | 3 if [ -f $test_dir/expect.gz ]; then 5 gunzip < $test_dir/expect.gz > $EXP1 7 EXP=$test_dir/expect 14 gzip -d < $test_dir/image.gz > $TMPFILE
|
/external/elfutils/tests/ |
D | test-subr.sh | 26 test_dir="test-$$" 27 mkdir -p "$test_dir" 28 cd "$test_dir" 38 rm -f $remove_files; cd ..; rmdir $test_dir
|
/external/pdfium/testing/tools/ |
D | test_runner.py | 41 self.test_dir = dirname 173 if self.test_dir != 'corpus': 174 test_dir = finder.TestingDir(os.path.join('resources', self.test_dir)) 176 test_dir = finder.TestingDir(self.test_dir) 184 self.working_dir = finder.WorkingDir(os.path.join('testing', self.test_dir)) 193 walk_from_dir = finder.TestingDir(test_dir);
|
/external/e2fsprogs/tests/f_dup_de/ |
D | script | 4 gunzip < $test_dir/image.gz > $TMPFILE 8 EXP1=$test_dir/expect-nohtree.1 9 EXP2=$test_dir/expect-nohtree.2
|