/external/toybox/scripts/ |
D | test.sh | 8 rm -rf generated/testdir 9 mkdir -p generated/testdir/testdir 15 PREFIX=generated/testdir/ scripts/single.sh "$@" || exit 1 17 make install_flat PREFIX=generated/testdir || exit 1 21 cd generated/testdir 23 cd testdir 55 rm -rf testdir && mkdir testdir && cd testdir || exit 1
|
/external/libpng/contrib/libtests/ |
D | gentests.sh | 34 testdir="tests" 36 testdir="$1" 42 if test -e "$testdir" 44 test -d "$testdir" || usage 47 mkdir "$testdir" 2>/dev/null || mkdir -p "$testdir" || usage 51 cd "$testdir" 54 echo "$testdir: directory not writable" 59 echo "$testdir: you have create but not write privileges here."
|
/external/flatbuffers/tests/ |
D | JavaTest.sh | 21 testdir=$(readlink -fn `dirname $0`) 24 targetdir=${testdir}/target 26 if [[ "$testdir" != "$thisdir" ]]; then 27 echo error: must be run from inside the ${testdir} directory 41 javac -d ${targetdir} -classpath ${testdir}/../java:${testdir}:${testdir}/namespace_test JavaTest.j…
|
/external/autotest/site_utils/ |
D | generate_test_report | 87 def _CollectPerf(self, testdir): argument 97 return self._CollectKeyval(testdir, 'perf') 99 def _CollectAttr(self, testdir): argument 109 return self._CollectKeyval(testdir, 'attr') 111 def _CollectKeyval(self, testdir, keyword): argument 127 keyval_file = os.path.join(testdir, 'results', 'keyval') 182 def _CollectInfo(self, testdir, custom_info): argument 202 sysinfo_dir = os.path.join(testdir, 'sysinfo', 'var', 'log') 260 def _CheckExperimental(self, testdir): argument 269 keyval_file = os.path.join(testdir, 'keyval') [all …]
|
/external/toybox/tests/ |
D | chown.test | 20 rm -rf testdir && 21 mkdir testdir && 22 touch testdir/file 23 F=testdir/file 41 rm -rf testdir
|
D | chgrp.test | 18 rm -rf testdir && 19 mkdir -p testdir/dir/dir/dir testdir/dir2 && 20 touch testdir/dir/file && 21 ln -s ../dir/dir testdir/dir2/dir && 22 ln -s ../dir/file testdir/dir2/file || exit 1 102 rm -rf testdir
|
/external/ltp/testcases/kernel/controllers/cpuset/ |
D | cpuset_regression_test.sh | 86 rmdir ${root_cpuset_dir}/testdir 114 ROD_SILENT mkdir ${root_cpuset_dir}/testdir 117 echo 1 > ${root_cpuset_dir}/testdir/${cpu_exclusive} 125 ${root_cpuset_dir}/testdir/${cpu_exclusive}) 132 echo 0-1 > ${root_cpuset_dir}/testdir/${cpus} 138 local cpus_value=$(cat ${root_cpuset_dir}/testdir/${cpus})
|
/external/mesa3d/src/compiler/glsl/glcpp/tests/ |
D | glcpp-test-cr-lf | 9 testdir="$srcdir/glsl/glcpp/tests" 12 testdir=. 87 for file in "$testdir"/*.c; do 92 ${glcpp_test} --testdir=subtest-lf >/dev/null 2>&1 99 for file in "$testdir"/*.c; do 112 for file in "$testdir"/*.c; do 126 for file in "$testdir"/*.c; do
|
D | glcpp-test | 4 testdir=$srcdir/glsl/glcpp/tests 8 testdir=.
|
/external/autotest/client/tests/bash_shared_mapping/ |
D | bash_shared_mapping.py | 21 def execute(self, testdir = None, iterations = 10000): argument 22 if not testdir: 23 testdir = self.tmpdir 24 os.chdir(testdir) 25 file = os.path.join(testdir, 'foo')
|
/external/autotest/client/tests/fsstress/ |
D | fsstress.py | 23 def run_once(self, testdir = None, extra_args = '', nproc = '1000', nops = '1000'): argument 24 if not testdir: 25 testdir = self.tmpdir 27 args = '-d %s -p %s -n %s %s' % (testdir, nproc, nops, extra_args)
|
/external/ltp/testcases/kernel/syscalls/utils/ |
D | common_j_h.c | 148 int setup_file(char *testdir, char *fname, char *path) in setup_file() argument 150 return _setup_file(testdir, fname, path, in setup_file() 154 int _setup_file(char *testdir, char *fname, char *path, int flags, mode_t mode) in _setup_file() argument 158 sprintf(path, "%s/%s", testdir, fname); in _setup_file() 178 int setup_swapfile(char *testdir, char *fname, char *path, size_t size) in setup_swapfile() argument 186 sprintf(path, "%s/%s", testdir, fname); in setup_swapfile()
|
D | include_j_h.h | 131 int _setup_file(char *testdir, char *fname, char *path, int flags, mode_t mode); 132 int setup_file(char *testdir, char *fname, char *path); 135 int setup_swapfile(char *testdir, char *fname, char *path, size_t size);
|
/external/autotest/client/bin/ |
D | setup_job.py | 42 def init_test(options, testdir): argument 55 locals_dict['testdir'] = testdir 60 test_name = os.path.split(testdir)[-1] 68 sys.path.insert(0, testdir) 112 testdir = os.path.join(os.environ['AUTODIR'], test_base_dir) 113 for test_name in sorted(os.listdir(testdir)): 114 client_test = init_test(options, os.path.join(testdir, test_name))
|
/external/ltp/testcases/network/nfsv4/acl/ |
D | runtest | 10 ACLTESTDIR=testdir 56 mkdir $NFSMNTDIR/lacl-testdir 57 python test_long_acl.py -l $MAXLENGTH -p $NFSMNTDIR/lacl-testdir 58 rm -rf $NFSMNTDIR/lacl-testdir
|
D | test_acl.py | 18 u = commands.getoutput('mkdir ' + path + "/" + testdir) 19 u = commands.getoutput('getfacl ' + path + "/" + testdir) 27 u = commands.getoutput('touch ' + path + "/" + testdir + testfile) 29 u = commands.getoutput('getfacl ' + path + "/" + testdir + testfile)
|
/external/autotest/client/tests/spew/ |
D | spew.py | 22 def run_once(self, testdir = None, filesize='100M', type='write', argument 25 if not testdir: 26 testdir = self.tmpdir 27 tmpfile = os.path.join(testdir, 'spew-test.%d' % os.getpid())
|
/external/autotest/client/tests/connectathon/ |
D | connectathon.py | 36 def run_once(self, testdir=None, args='', cthon_iterations=1): argument 42 if testdir is None: 43 testdir = self.tmpdir 54 (cthon_iterations, args, testdir))
|
/external/ltp/testcases/kernel/syscalls/mkdirat/ |
D | mkdirat01.c | 89 static char testdir[256]; in setup_iteration() local 93 sprintf(testdir, "mkdirattestdir%d_%d", getpid(), i); in setup_iteration() 99 SAFE_MKDIR(cleanup, testdir, 0700); in setup_iteration() 100 dir_fd = SAFE_OPEN(cleanup, testdir, O_DIRECTORY); in setup_iteration()
|
/external/ltp/testcases/kernel/syscalls/chdir/ |
D | chdir01.c | 67 char testdir[40] = ""; variable 86 SAFE_CHDIR(cleanup, testdir); in main() 151 sprintf(testdir, "Testdir.%d", getpid()); in setup() 153 SAFE_MKDIR(cleanup, testdir, 0700); in setup()
|
/external/autotest/client/tests/synctest/ |
D | synctest.py | 19 def run_once(self, len, loop, testdir=None): argument 22 if testdir: 23 os.chdir(testdir)
|
/external/ltp/testcases/kernel/fs/fs_readonly/ |
D | test_robind.sh | 139 testdir() function 237 testdir dir1 $fstype false 238 testdir dir2-bound $fstype false 239 testdir dir3-ro $fstype true
|
/external/python/cpython2/Lib/test/ |
D | test_traceback.py | 76 testdir = tempfile.mkdtemp() 78 sys.path.insert(0, testdir) 79 testfile = os.path.join(testdir, 'test_bug737473.py') 113 for f in os.listdir(testdir): 114 os.unlink(os.path.join(testdir, f)) 115 os.rmdir(testdir)
|
/external/autotest/server/ |
D | prebuild.py | 31 def init_test(testdir): argument 47 return client_setup_job.init_test(options, testdir)
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_build_py.py | 76 testdir = os.path.join(sources, "doc") 77 os.mkdir(testdir) 78 open(os.path.join(testdir, "testfile"), "w").close()
|