/external/ltp/lib/ |
D | tst_tmpdir.c | 95 static char *TESTDIR = NULL; /* the directory created */ variable 104 return TESTDIR != NULL; in tst_tmpdir_created() 109 if (TESTDIR == NULL) { in tst_get_tmpdir() 114 return strdup(TESTDIR); in tst_get_tmpdir() 268 if ((TESTDIR = strdup(template)) == NULL) { in tst_tmpdir() 274 SAFE_CHOWN(NULL, TESTDIR, -1, getgid()); in tst_tmpdir() 276 SAFE_CHMOD(NULL, TESTDIR, DIR_MODE); in tst_tmpdir() 289 if (chdir(TESTDIR) == -1) { in tst_tmpdir() 290 tst_resm(TERRNO, "%s: chdir(%s) failed", __func__, TESTDIR); in tst_tmpdir() 293 if (rmobj(TESTDIR, &errmsg) == -1) { in tst_tmpdir() [all …]
|
/external/ltp/testcases/kernel/syscalls/rmdir/ |
D | rmdir01.c | 28 #define TESTDIR "testdir" macro 34 SAFE_MKDIR(TESTDIR, 0777); in verify_rmdir() 36 TEST(rmdir(TESTDIR)); in verify_rmdir() 38 tst_res(TFAIL | TTERRNO, "rmdir(%s) failed", TESTDIR); in verify_rmdir() 42 if (!stat(TESTDIR, &buf)) in verify_rmdir() 43 tst_res(TFAIL, "rmdir(%s) failed", TESTDIR); in verify_rmdir() 45 tst_res(TPASS, "rmdir(%s) success", TESTDIR); in verify_rmdir()
|
D | rmdir02.c | 37 #define TESTDIR "testdir" macro 53 {TESTDIR, ENOTEMPTY}, 68 SAFE_MKDIR(TESTDIR, DIR_MODE); in setup()
|
D | rmdir03.c | 42 #define TESTDIR "testdir" macro 84 SAFE_MKDIR(TESTDIR, DIR_MODE | S_ISVTX); in setup()
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod05.c | 44 #define TESTDIR "testdir" macro 51 TEST(chmod(TESTDIR, PERMS)); in test_chmod() 53 tst_res(TFAIL, "chmod(%s, %#o) failed", TESTDIR, PERMS); in test_chmod() 57 SAFE_STAT(TESTDIR, &stat_buf); in test_chmod() 61 "Expected 0%03o", TESTDIR, dir_mode, in test_chmod() 65 TESTDIR, PERMS); in test_chmod() 82 SAFE_MKDIR(TESTDIR, MODE_RWX); in setup() 86 SAFE_CHOWN(TESTDIR, nobody_u->pw_uid, bin_gr->gr_gid); in setup()
|
D | chmod04.c | 90 #define TESTDIR "testdir_4" macro 118 TEST(chmod(TESTDIR, PERMS)); in main() 122 TESTDIR, PERMS); in main() 130 if (stat(TESTDIR, &stat_buf) < 0) { in main() 133 TESTDIR, TEST_ERRNO); in main() 141 TESTDIR, PERMS); in main() 145 TESTDIR, dir_mode, PERMS); in main() 177 SAFE_MKDIR(cleanup, TESTDIR, DIR_MODE); in setup()
|
/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/lz4/ |
D | Makefile | 35 TESTDIR = tests macro 82 @$(MAKE) -C $(TESTDIR) $@ > $(VOID) 126 $(MAKE) -C $(TESTDIR) test-lz4-essentials 130 $(MAKE) -C $(TESTDIR) $@ 137 @CFLAGS="-O3 -Werror -Wconversion -Wno-sign-conversion" $(MAKE) -C $(TESTDIR) all CC=clang 143 @CFLAGS="-O3 -Werror -Wconversion -Wno-sign-conversion" $(MAKE) -C $(TESTDIR) native CC=clang 159 CFLAGS="-O3 -Werror -static" $(MAKE) -C $(TESTDIR) all 160 $(MAKE) -C $(TESTDIR) test-platform 164 $(MAKE) -C $(TESTDIR) $@ 173 CC=$(CC) $(MAKE) -C $(TESTDIR) all CFLAGS="$(CFLAGS)" [all …]
|
/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/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/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/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir05.c | 31 #define TESTDIR "testdir" macro 37 TEST(mkdir(TESTDIR, PERMS)); in verify_mkdir() 43 SAFE_STAT(TESTDIR, &buf); in verify_mkdir() 59 SAFE_RMDIR(TESTDIR); in verify_mkdir()
|
D | mkdir04.c | 31 #define TESTDIR "testdir" macro 65 SAFE_MKDIR(TESTDIR, 0700); in setup()
|
/external/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod05.c | 43 TESTDIR, dir_mode & ~S_ISGID, PERMS_DIR); in verify_fchmod() 58 SAFE_MKDIR(TESTDIR, DIR_MODE); in setup() 65 SAFE_CHOWN(TESTDIR, ltpuser->pw_uid, ltpgroup->gr_gid); in setup() 70 fd = SAFE_OPEN(TESTDIR, O_RDONLY); in setup()
|
D | fchmod04.c | 131 TESTDIR, dir_mode, PERMS); in main() 167 SAFE_MKDIR(cleanup, TESTDIR, DIR_MODE); in setup() 168 if ((fd = open(TESTDIR, O_RDONLY)) == -1) { in setup() 171 TESTDIR, errno, strerror(errno)); in setup()
|
/external/capstone/tests/ |
D | Makefile | 12 TESTDIR = . macro 16 TESTDIR = $(BUILDDIR)/tests macro 94 BINARY = $(addprefix $(TESTDIR)/,$(SOURCES:.c=$(BIN_EXT))) 99 …rm -rf $(OBJS) $(BINARY) $(TESTDIR)/*.exe $(TESTDIR)/*.static $(OBJDIR)/lib$(LIBNAME).* $(OBJDIR)/… 103 $(TESTDIR)/%$(BIN_EXT): $(OBJDIR)/%.o
|
/external/ltp/testcases/kernel/syscalls/execveat/ |
D | execveat01.c | 30 #define TESTDIR "testdir" macro 32 #define TEST_REL_APP TESTDIR"/"TEST_APP 68 SAFE_MKDIR(TESTDIR, 0777); in setup() 74 fd1 = SAFE_OPEN(TESTDIR, O_DIRECTORY); in setup()
|
D | execveat02.c | 28 #define TESTDIR "testdir" macro 31 #define TEST_REL_APP TESTDIR"/"TEST_APP 32 #define TEST_ERL_SYMLINK TESTDIR"/"TEST_SYMLINK 75 SAFE_MKDIR(TESTDIR, 0777); in setup()
|
/external/toybox/scripts/ |
D | test.sh | 26 TESTDIR="$PWD" 34 cd "$TESTDIR" && rm -rf testdir && mkdir testdir && cd testdir || exit 1 40 C="$TESTDIR/$CMDNAME"
|
/external/strace/tests-m32/ |
D | init.sh | 358 TESTDIR="$NAME.dir" 359 rm -rf -- "$TESTDIR" 360 mkdir -- "$TESTDIR" 361 cd "$TESTDIR"
|
/external/strace/tests-mx32/ |
D | init.sh | 358 TESTDIR="$NAME.dir" 359 rm -rf -- "$TESTDIR" 360 mkdir -- "$TESTDIR" 361 cd "$TESTDIR"
|
/external/strace/tests/ |
D | init.sh | 358 TESTDIR="$NAME.dir" 359 rm -rf -- "$TESTDIR" 360 mkdir -- "$TESTDIR" 361 cd "$TESTDIR"
|
/external/autotest/client/tests/unixbench/ |
D | unixbench.diff | 19 TESTDIR=${TESTDIR-${HOMEDIR}/testdir}
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-profdata/ |
D | nocompress.test | 6 $ TESTDIR=$SRC/test/tools/llvm-profdata 9 $ LLVM_PROFILE_FILE=$TESTDIR/Inputs/compressed.profraw ./a.out
|
/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()
|