Home
last modified time | relevance | path

Searched refs:testdir (Results 1 - 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/libpng/contrib/libtests/
H A Dgentests.sh34 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."
/third_party/toybox/scripts/
H A Dtest.sh11 rm -rf generated/testdir
12 mkdir -p generated/testdir/testdir
18 PREFIX=generated/testdir/ scripts/single.sh "$@" || exit 1
20 make install_flat PREFIX=generated/testdir || exit 1
24 cd generated/testdir
34 cd "$TESTDIR" && rm -rf testdir && mkdir testdir && cd testdir || exit 1
/third_party/node/deps/npm/test/lib/utils/
H A Dexplain-dep.js8 const getCases = (testdir) => {
242 spec: `file:${resolve(testdir, 'ws-project', 'a')}`,
243 from: { location: resolve(testdir, 'ws-project') },
258 const testdir = t.testdir()
259 const cases = getCases(testdir)
261 for (const [name, expl] of Object.entries(getCases(testdir))) {
/third_party/ltp/testcases/kernel/controllers/cpuset/
H A Dcpuset_regression_test.sh169 if [ -d "${root_cpuset_dir}/testdir" ]; then
170 rmdir ${root_cpuset_dir}/testdir
190 ROD_SILENT mkdir ${root_cpuset_dir}/testdir
193 echo 1 > ${root_cpuset_dir}/testdir/${cpu_exclusive}
194 [ $? -ne 0 ] && tst_brk TFAIL "'echo 1 > ${root_cpuset_dir}/testdir/${cpu_exclusive}' failed"
196 cpu_exclusive_tmp=$(cat ${root_cpuset_dir}/testdir/${cpu_exclusive})
202 echo 0 > ${root_cpuset_dir}/testdir/${cpus}
203 [ $? -ne 0 ] && tst_brk TFAIL "'echo 0 > ${root_cpuset_dir}/testdir/${cpus}' failed"
205 cpus_value=$(cat ${root_cpuset_dir}/testdir/${cpus})
/third_party/ltp/testcases/kernel/syscalls/mkdirat/
H A Dmkdirat01.c89 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()
/third_party/libfuse/test/
H A Dtest_syscalls.c28 static char testdir[1024]; variable
779 res = create_dir(testdir, testdir_files); in test_seekdir()
783 dp = opendir(testdir); in test_seekdir()
818 res = cleanup_dir(testdir, testdir_files, 0); in test_seekdir()
824 cleanup_dir(testdir, testdir_files, 1); in test_seekdir()
1541 res = create_dir(testdir, testdir_files); in test_rename_dir()
1546 res = rename(testdir, testdir2); in test_rename_dir()
1549 cleanup_dir(testdir, testdir_files, 1); in test_rename_dir()
1552 res = check_nonexist(testdir); in test_rename_dir()
1554 cleanup_dir(testdir, testdir_file in test_rename_dir()
[all...]
/third_party/ltp/testcases/kernel/fs/fs_readonly/
H A Dtest_robind.sh139 testdir() function
239 testdir dir1 $fstype false
240 testdir dir2-bound $fstype false
241 testdir dir3-ro $fstype true
/third_party/ltp/testcases/network/nfsv4/acl/
H A Dtest_acl.py19 u = subprocess.getoutput('mkdir ' + path + "/" + testdir)
20 u = subprocess.getoutput('getfacl ' + path + "/" + testdir)
28 u = subprocess.getoutput('touch ' + path + "/" + testdir + testfile)
30 u = subprocess.getoutput('getfacl ' + path + "/" + testdir + testfile)
/third_party/mesa3d/src/compiler/glsl/glcpp/tests/
H A Dglcpp_test.py43 parser.add_argument('testdir', help='Path to tests and expected output.')
96 for filename in os.listdir(args.testdir):
103 testfile = os.path.join(args.testdir, filename)
127 for filename in os.listdir(args.testdir):
133 testfile = os.path.join(args.testdir, filename)
/third_party/node/deps/v8/tools/cppgc/
H A Dtest_cmake.sh9 testdir=$rootdir/test/unittests/
12 testgn=$testdir/BUILD.gn
/third_party/ltp/testcases/commands/du/
H A Ddu01.sh21 ROD_SILENT mkdir -p testdir
23 ROD_SILENT ln -s ../testfile testdir/testsymlink
74 check3="^\(0\|${page_size}\)[[:space:]]\.\/testdir\/testsymlink"
78 check11="^10[2-3][0-9][0-9][[:space:]]testdir\/testsymlink"
80 check16="^10[2-3][0-9][0-9][[:space:]]testdir\/"
97 11) du_test "du -D testdir/testsymlink" ${check11};;
98 12) du_test "du --dereference-args testdir/testsymlink" ${check11};;
102 16) du_test "du -L testdir/" ${check16};;
103 17) du_test "du --dereference testdir/" ${check16};;
/third_party/python/Lib/distutils/tests/
H A Dtest_build_py.py73 testdir = os.path.join(sources, "doc")
74 os.mkdir(testdir)
75 open(os.path.join(testdir, "testfile"), "w").close()
/third_party/python/Lib/test/libregrtest/
H A Druntest.py156 def findtests(testdir=None, stdtests=STDTESTS, nottests=NOTTESTS):
158 testdir = findtestdir(testdir)
159 names = os.listdir(testdir)
170 if test_name.startswith('test.') or ns.testdir:
H A Dsetup.py47 if ns.testdir:
50 sys.path.insert(0, os.path.abspath(ns.testdir))
H A Dmain.py52 testdir -- the directory in which to look for tests (optional)
55 specify testdir; if it's omitted, the directory containing the
257 # if testdir is set, then we are not running the python tests suite, so
259 if self.ns.testdir:
260 alltests = findtests(self.ns.testdir, list(), set())
262 alltests = findtests(self.ns.testdir, stdtests, nottests)
H A Dcmdline.py146 self.testdir = None
265 group.add_argument('--testdir', metavar='DIR',
/third_party/ltp/testcases/kernel/fs/mongo/
H A Dtest.sh25 TEST_DIR=testdir
/third_party/node/deps/npm/test/fixtures/
H A Dmock-npm.js188 const dir = t.testdir({
197 testdir: dir,
/third_party/f2fs-tools/scripts/
H A Dverify.sh8 TARGET=./testdir
/third_party/python/Lib/test/
H A Dtest_regrtest.py248 ns = libregrtest._parse_args(['--testdir', 'foo'])
249 self.assertEqual(ns.testdir, os.path.join(os_helper.SAVEDCWD, 'foo'))
250 self.checkError(['--testdir'], 'expected one argument')
372 self.testdir = os.path.realpath(os.path.dirname(__file__))
597 '--testdir=%s' % self.tmptestdir]
612 script = os.path.join(self.testdir, 'regrtest.py')
644 script = os.path.join(self.testdir, 'autotest.py')
666 test_args = ['--testdir=%s' % self.tmptestdir]
701 cmdargs = ['-m', 'test', '--testdir=%s' % self.tmptestdir, *testargs]
H A Dtest_decimal.py119 testdir = os.path.dirname(file) or os.curdir variable
120 directory = testdir + os.sep + TESTDATADIR + os.sep

Completed in 38 milliseconds