/external/ltp/lib/ |
D | tst_tmpdir.c | 94 static char *TESTDIR = NULL; /* the directory created */ variable 103 return TESTDIR != NULL; in tst_tmpdir_created() 108 if (TESTDIR == NULL) { in tst_get_tmpdir() 113 return strdup(TESTDIR); in tst_get_tmpdir() 267 if ((TESTDIR = strdup(template)) == NULL) { in tst_tmpdir() 273 if (chown(TESTDIR, -1, getgid()) == -1) { in tst_tmpdir() 275 "chown(%s, -1, %d) failed", TESTDIR, getgid()); in tst_tmpdir() 279 if (chmod(TESTDIR, DIR_MODE) == -1) { in tst_tmpdir() 281 "chmod(%s, %#o) failed", TESTDIR, DIR_MODE); in tst_tmpdir() 296 if (chdir(TESTDIR) == -1) { in tst_tmpdir() [all …]
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod04.c | 89 #define TESTDIR "testdir_4" macro 117 TEST(chmod(TESTDIR, PERMS)); in main() 121 TESTDIR, PERMS); in main() 129 if (stat(TESTDIR, &stat_buf) < 0) { in main() 132 TESTDIR, TEST_ERRNO); in main() 140 TESTDIR, PERMS); in main() 144 TESTDIR, dir_mode, PERMS); in main() 176 if (mkdir(TESTDIR, DIR_MODE) < 0) { in setup() 177 tst_brkm(TBROK, cleanup, "mkdir(2) of %s failed", TESTDIR); in setup()
|
D | chmod05.c | 106 #define TESTDIR "testdir" macro 128 TEST(chmod(TESTDIR, PERMS)); in main() 132 TESTDIR, PERMS); in main() 139 if (stat(TESTDIR, &stat_buf) < 0) { in main() 141 "stat(%s) failed", TESTDIR); in main() 152 "Expected 0%03o", TESTDIR, dir_mode, in main() 157 TESTDIR, PERMS); in main() 201 if (mkdir(TESTDIR, MODE_RWX) < 0) in setup() 202 tst_brkm(TBROK | TERRNO, cleanup, "mkdir(%s) failed", TESTDIR); in setup() 208 if (chown(TESTDIR, nobody_u->pw_uid, bin_group->gr_gid) == -1) in setup()
|
/external/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod05.c | 93 #define TESTDIR "testdir" macro 135 TESTDIR, TEST_ERRNO); in main() 141 TESTDIR, dir_mode, PERMS & ~S_ISGID); in main() 194 if (mkdir(TESTDIR, MODE_RWX) < 0) { in setup() 195 tst_brkm(TBROK, cleanup, "mkdir(2) of %s failed", TESTDIR); in setup() 203 if (chown(TESTDIR, nobody_u->pw_uid, bin_group->gr_gid) == -1) in setup() 213 fd = open(TESTDIR, O_RDONLY); in setup() 217 TESTDIR, errno, strerror(errno)); in setup() 236 TESTDIR, errno, strerror(errno)); in cleanup()
|
D | fchmod04.c | 89 #define TESTDIR "testdir_4" macro 136 TESTDIR, dir_mode, PERMS); in main() 172 if (mkdir(TESTDIR, DIR_MODE) < 0) { in setup() 173 tst_brkm(TBROK, cleanup, "mkdir(2) of %s failed", TESTDIR); in setup() 175 if ((fd = open(TESTDIR, O_RDONLY)) == -1) { in setup() 178 TESTDIR, errno, strerror(errno)); in setup() 196 TESTDIR, errno, strerror(errno)); in cleanup()
|
/external/lz4/ |
D | Makefile | 41 TESTDIR = tests macro 63 @$(MAKE) -C $(TESTDIR) $@ 79 @$(MAKE) -C $(TESTDIR) $@ > $(VOID) 105 $(MAKE) -C $(TESTDIR) $@ 111 @CFLAGS="-O3 -Werror -Wconversion -Wno-sign-conversion" $(MAKE) -C $(TESTDIR) all CC=clang 117 @CFLAGS="-O3 -Werror -Wconversion -Wno-sign-conversion" $(MAKE) -C $(TESTDIR) native CC=clang 133 CFLAGS="-O3 -Werror -static" $(MAKE) -C $(TESTDIR) all 134 $(MAKE) -C $(TESTDIR) test-platform 137 $(MAKE) -C $(TESTDIR) $@ 165 CC=g++ $(MAKE) -C $(TESTDIR) all CFLAGS="-O3 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror" [all …]
|
/external/e2fsprogs/misc/ |
D | e2fuzz.sh | 100 TESTDIR="${DIR}/tests/" 120 umount "${TESTDIR}" 122 rm -rf "${TESTDIR}" 124 mkdir -p "${TESTDIR}" 162 PASS_IMG="${TESTDIR}/e2fuzz-${pass}.img" 163 FSCK_IMG="${TESTDIR}/e2fuzz-${pass}.fsck" 164 FUZZ_LOG="${TESTDIR}/e2fuzz-${pass}.fuzz.log" 165 OPS_LOG="${TESTDIR}/e2fuzz-${pass}.ops.log" 226 FSCK_LOG="${TESTDIR}/e2fuzz-${pass}-${fsck_pass}.log" 248 diff -u "${TESTDIR}/e2fuzz-${pass}-$((fsck_pass - 1)).log" "${FSCK_LOG}" [all …]
|
/external/emma/ |
D | test.sh | 16 TESTDIR=/tmp/test-emma/$$ 17 JAVADIR=$TESTDIR/android3/java 76 GOLDEN=$TESTDIR/golden.lcov 120 COVERAGE=$TESTDIR/coverage.dat 126 if ! diff <(sort $GOLDEN) <(sort $COVERAGE) >$TESTDIR/diff-sorted; then 127 echo Tests failed: Additional or missing lines: See $TESTDIR/diff-sorted 130 if ! diff $GOLDEN $COVERAGE >$TESTDIR/diff-ordered; then 131 echo Tests failed: same lines, different order: See $TESTDIR/diff-ordered 134 rm -rf $TESTDIR
|
/external/ltp/testcases/kernel/fs/mongo/ |
D | mongo.pl | 81 $TESTDIR = $ARGV[2]; 213 system ("umount $TESTDIR") ; 217 system("mount -t reiserfs $DEVICE $TESTDIR") ; 222 system("mount $DEVICE $TESTDIR") ; 315 $used = get_blocks_usage($TESTDIR) - $used0; 324 open (FIND_PIPE, "find $TESTDIR|") || die "cannnot open pipe from \"find\": $!\n"; 349 $fr16 =`find $TESTDIR -type f -size +16k | xargs $TOPDIR/map5 | $TOPDIR/summ | tail -n 1 2>&1`; 381 $used0 = get_blocks_usage($TESTDIR); 401 $dir1 = "$TESTDIR/testdir1"; 402 $dir2 = "$TESTDIR/testdir2"; [all …]
|
/external/curl/tests/ |
D | keywords.pl | 32 my $TESTDIR="$srcdir/data"; 35 opendir(DIR, $TESTDIR) || die "can't opendir $TESTDIR: $!"; 36 my @cmds = grep { /^test([0-9]+)$/ && -f "$TESTDIR/$_" } readdir(DIR); 61 if(loadtest("${TESTDIR}/test${t}")) {
|
D | runtests.pl | 156 my $TESTDIR="$srcdir/data"; 2890 if(loadtest("${TESTDIR}/test${testnum}")) { 3635 my $gdbinit = "$TESTDIR/gdbinit$testnum"; 5142 disabledtests("$TESTDIR/DISABLED"); 5145 disabledtests("$TESTDIR/DISABLED.local"); 5153 opendir(DIR, $TESTDIR) || die "can't opendir $TESTDIR: $!"; 5154 my @cmds = grep { /^test([0-9]+)$/ && -f "$TESTDIR/$_" } readdir(DIR); 5179 if (-e "$TESTDIR/test$_") {
|
/external/libxml2/xstc/ |
D | Makefile.am | 5 TESTDIR=Tests macro 6 TESTDIRS=$(TESTDIR)/msxsdtest $(TESTDIR)/suntest $(TESTDIR)/Datatypes 97 -@(if [ -x nist-test.py -a -d $(TESTDIR)/Datatypes ] ; then \ 104 -@(if [ -x sun-test.py -a -d $(TESTDIR)/suntest ] ; then \ 111 -@(if [ -x ms-test.py -a -d $(TESTDIR)/msxsdtest ] ; then \
|
/external/strace/tests-m32/ |
D | init.sh | 345 TESTDIR="$NAME.dir" 346 rm -rf -- "$TESTDIR" 347 mkdir -- "$TESTDIR" 348 cd "$TESTDIR"
|
/external/strace/tests/ |
D | init.sh | 345 TESTDIR="$NAME.dir" 346 rm -rf -- "$TESTDIR" 347 mkdir -- "$TESTDIR" 348 cd "$TESTDIR"
|
/external/strace/tests-mx32/ |
D | init.sh | 345 TESTDIR="$NAME.dir" 346 rm -rf -- "$TESTDIR" 347 mkdir -- "$TESTDIR" 348 cd "$TESTDIR"
|
/external/autotest/client/tests/unixbench/ |
D | unixbench.diff | 19 TESTDIR=${TESTDIR-${HOMEDIR}/testdir}
|
/external/ltp/testcases/kernel/syscalls/rmdir/ |
D | rmdir02.c | 63 #define TESTDIR "testdir" macro 82 {TESTDIR, ENOTEMPTY}, 154 SAFE_MKDIR(cleanup, TESTDIR, DIR_MODE); in setup()
|
/external/selinux/secilc/docs/ |
D | Makefile | 5 TESTDIR ?= $(CWD)/../test macro 44 $(TMPDIR)/policy.cil: $(TESTDIR)/policy.cil
|
/external/ltp/testcases/kernel/syscalls/renameat/ |
D | renameat01.c | 57 #define TESTDIR "testdir" macro 165 SAFE_MKDIR(cleanup, TESTDIR, DIRMODE); in setup() 169 olddirfd = SAFE_OPEN(cleanup, TESTDIR, O_DIRECTORY); in setup()
|
/external/llvm/test/tools/llvm-profdata/ |
D | c-general.test | 7 REGENERATE: $ TESTDIR=$SRC/test/tools/llvm-profdata 10 REGENERATE: $ LLVM_PROFILE_FILE=$TESTDIR/Inputs/c-general.profraw ./a.out
|
/external/r8/tools/ |
D | create_jctf_tests.py | 23 TESTDIR = join(JCTFROOT, RELATIVE_TESTDIR) variable 107 for x in os.walk(TESTDIR)))
|
/external/libunwind/tests/ |
D | run-coredump-unwind | 35 TESTDIR=`pwd`
|
/external/ltp/testcases/realtime/profiles/ |
D | default | 16 # for local or global runs (<RT_TESTS_ROOT>/run.sh or <TESTDIR>/run_auto.sh)
|
/external/lz4/tests/ |
D | Makefile | 38 TESTDIR := versionsTest macro 114 @rm -fR $(TESTDIR)
|
/external/curl/ |
D | CHANGES.0 | 2329 - Josef Wolf's extension that allows a $TESTDIR/gdbinit$testnum file that when
|