/external/ltp/lib/ |
D | tst_tmpdir.c | 95 static char *TESTDIR = NULL; /* the directory created */ variable 106 return TESTDIR != NULL; in tst_tmpdir_created() 113 if (TESTDIR == NULL) { in tst_get_tmpdir() 118 ret = strdup(TESTDIR); in tst_get_tmpdir() 281 if ((TESTDIR = strdup(template)) == NULL) { in tst_tmpdir() 287 SAFE_CHOWN(NULL, TESTDIR, -1, getgid()); in tst_tmpdir() 289 SAFE_CHMOD(NULL, TESTDIR, DIR_MODE); in tst_tmpdir() 302 if (chdir(TESTDIR) == -1) { in tst_tmpdir() 303 tst_resm(TERRNO, "%s: chdir(%s) failed", __func__, TESTDIR); in tst_tmpdir() 306 if (rmobj(TESTDIR, &errmsg) == -1) { in tst_tmpdir() [all …]
|
/external/ltp/testcases/kernel/syscalls/rmdir/ |
D | rmdir01.c | 16 #define TESTDIR "testdir" macro 22 SAFE_MKDIR(TESTDIR, 0777); in verify_rmdir() 24 TEST(rmdir(TESTDIR)); in verify_rmdir() 26 tst_res(TFAIL | TTERRNO, "rmdir(%s) failed", TESTDIR); in verify_rmdir() 30 if (!stat(TESTDIR, &buf)) in verify_rmdir() 31 tst_res(TFAIL, "rmdir(%s) failed", TESTDIR); in verify_rmdir() 33 tst_res(TPASS, "rmdir(%s) success", TESTDIR); in verify_rmdir()
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
D | chmod05.c | 45 #define TESTDIR "testdir" macro 52 TEST(chmod(TESTDIR, PERMS)); in test_chmod() 54 tst_res(TFAIL, "chmod(%s, %#o) failed", TESTDIR, PERMS); in test_chmod() 58 SAFE_STAT(TESTDIR, &stat_buf); in test_chmod() 62 "Expected 0%03o", TESTDIR, dir_mode, in test_chmod() 66 TESTDIR, PERMS); in test_chmod() 83 SAFE_MKDIR(TESTDIR, MODE_RWX); in setup() 87 SAFE_CHOWN(TESTDIR, nobody_u->pw_uid, free_gid); in setup()
|
D | chmod03.c | 27 #define TESTDIR "testdir_3" macro 34 {TESTDIR, "verify permissions of directory"}, 68 SAFE_MKDIR(TESTDIR, DIR_MODE); in setup()
|
/external/zstd/ |
D | Makefile | 18 TESTDIR = tests macro 19 FUZZDIR = $(TESTDIR)/fuzz 54 $(Q)$(MAKE) -C $(TESTDIR) all 59 $(MAKE) -C $(TESTDIR) all32 85 $(MAKE) -C $(TESTDIR) $@ 91 $(Q)$(MAKE) -C $(TESTDIR) $@ 99 $(MAKE) -C $(TESTDIR) $@ 137 $(Q)$(MAKE) -C $(TESTDIR) $@ > $(VOID) 233 …_SYS=qemu-arm-static MOREFLAGS="-static" FUZZER_FLAGS=--no-big-tests $(MAKE) -C $(TESTDIR) fuzztest 237 …=qemu-aarch64-static MOREFLAGS="-static" FUZZER_FLAGS=--no-big-tests $(MAKE) -C $(TESTDIR) fuzztest [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/lz4/ |
D | Makefile | 35 TESTDIR = tests macro 76 $(MAKE) -C $(TESTDIR) all 82 $(MAKE) -C $(TESTDIR) $@ > $(VOID) 133 $(MAKE) -C $(TESTDIR) test-lz4-essentials 137 $(MAKE) -C $(TESTDIR) $@ 147 $(MAKE) -C $(TESTDIR) all CC=$(CC) 155 $(MAKE) -C $(TESTDIR) native CC=clang 186 CFLAGS="-O3 -Werror -static" $(MAKE) -C $(TESTDIR) all 187 $(MAKE) -C $(TESTDIR) test-platform 191 $(MAKE) -C $(TESTDIR) $@ [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/capstone/tests/ |
D | Makefile | 12 TESTDIR = . macro 16 TESTDIR = $(BUILDDIR)/tests macro 124 BINARY = $(addprefix $(TESTDIR)/,$(SOURCES:.c=$(BIN_EXT))) 129 …rm -rf $(OBJS) $(BINARY) $(TESTDIR)/*.exe $(TESTDIR)/*.static $(OBJDIR)/lib$(LIBNAME).* $(OBJDIR)/… 131 rm -rf $(TESTDIR)/test.o $(TESTDIR)/test.exe $(TESTDIR)/test.static $(TESTDIR)/test 135 $(TESTDIR)/%$(BIN_EXT): $(OBJDIR)/%.o
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/travis/ |
D | test.sh | 14 TESTDIR=../../test/ 20 ./aresfuzz $TESTDIR/fuzzinput/* 21 ./aresfuzzname $TESTDIR/fuzznames/* 22 ./dnsdump $TESTDIR/fuzzinput/answer_a $TESTDIR/fuzzinput/answer_aaaa
|
/external/toybox/scripts/ |
D | test.sh | 28 TESTDIR="$PWD" 36 cd "$TESTDIR" && rm -rf testdir continue && mkdir testdir && cd testdir || 42 C="$TESTDIR/$CMDNAME" 50 (. "$1"; cd "$TESTDIR"; echo "$FAILCOUNT" > continue) 51 cd "$TESTDIR"
|
/external/curl/tests/ |
D | keywords.pl | 34 my $TESTDIR="$srcdir/data"; 37 opendir(DIR, $TESTDIR) || die "can't opendir $TESTDIR: $!"; 38 my @cmds = grep { /^test([0-9]+)$/ && -f "$TESTDIR/$_" } readdir(DIR); 63 if(loadtest("${TESTDIR}/test${t}")) {
|
/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 | 19 #define TESTDIR "testdir" macro 25 TEST(mkdir(TESTDIR, PERMS)); in verify_mkdir() 31 SAFE_STAT(TESTDIR, &buf); in verify_mkdir() 47 SAFE_RMDIR(TESTDIR); in verify_mkdir()
|
D | mkdir04.c | 16 #define TESTDIR "testdir" macro 41 SAFE_MKDIR(TESTDIR, 0700); in setup() 42 SAFE_CHOWN(TESTDIR, test_users[0], getgid()); in setup()
|
/external/zstd/tests/ |
D | playTests.sh | 89 TESTDIR="$SCRIPT_DIR/../tests" 166 DATAGEN_BIN="$TESTDIR/datagen" 412 zstd -d -o tmp1 "$TESTDIR/golden-decompression/rle-first-block.zst" 921 cp "$TESTDIR/dict-files/zero-weight-dict" tmp_input 922 zstd -D "$TESTDIR/dict-files/zero-weight-dict" tmp_input 923 zstd -D "$TESTDIR/dict-files/zero-weight-dict" -d tmp_input.zst -o tmp_decomp 931 zstd -D "$TESTDIR/dict-files/zero-weight-dict" tmp_input 932 zstd -D "$TESTDIR/dict-files/zero-weight-dict" -d tmp_input.zst -o tmp_decomp 987 zstd --train "$TESTDIR"/*.c "$PRGDIR"/*.c -o tmpDict 1012 zstd --train "$TESTDIR"/*.c "$PRGDIR"/*.c "$PRGDIR"/*.h -o tmpDictC [all …]
|
/external/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod05.c | 44 TESTDIR, dir_mode & ~S_ISGID, PERMS_DIR); in verify_fchmod() 59 SAFE_MKDIR(TESTDIR, DIR_MODE); in setup() 66 SAFE_CHOWN(TESTDIR, ltpuser->pw_uid, free_gid); in setup() 71 fd = SAFE_OPEN(TESTDIR, O_RDONLY); in setup()
|
D | fchmod04.c | 42 TESTDIR, dir_mode, PERMS); in verify_fchmod() 48 SAFE_MKDIR(TESTDIR, DIR_MODE); in setup() 49 fd = SAFE_OPEN(TESTDIR, O_RDONLY); in setup()
|
/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/ltp/testcases/kernel/syscalls/statx/ |
D | statx04.c | 61 #define TESTDIR MOUNT_POINT "/testdir" macro 82 SAFE_MKDIR(TESTDIR, 0777); in setup() 85 fd = SAFE_OPEN(TESTDIR, O_RDONLY | O_DIRECTORY); in setup() 112 TST_EXP_PASS_SILENT(statx(AT_FDCWD, TESTDIR, 0, 0, &buf)); in run()
|
/external/iptables/iptables/tests/shell/ |
D | run-tests.sh | 4 TESTDIR="./$(dirname $0)/" 39 if [ ! -d "$TESTDIR" ] ; then 40 msg_error "missing testdir $TESTDIR" 87 export XTABLES_LIBDIR=${TESTDIR}/../../../extensions 141 find ${TESTDIR} -executable -regex \
|
/external/capstone/suite/fuzz/ |
D | Makefile | 16 TESTDIR = . macro 20 TESTDIR = $(BUILDDIR)/tests macro 43 BINARY = $(addprefix $(TESTDIR)/,fuzz_disasm$(BIN_EXT)) 44 BINARYBIN = $(addprefix $(TESTDIR)/,fuzz_bindisasm$(BIN_EXT))
|
/external/tcpdump/tests/ |
D | crypto.tests | 37 args => '-E "file @TESTDIR@/esp-secrets.txt"', 46 args => '-E "file @TESTDIR@/esp-secrets.txt"', 55 args => '-nnnn -E "file @TESTDIR@/esp-secrets.txt"', 64 args => '-v -v -v -v -E "file @TESTDIR@/ikev2pI2-secrets.txt"', 73 args => '-E "file @TESTDIR@/esp-secrets.txt"',
|