/external/ltp/testcases/kernel/syscalls/chmod/ |
chmod04.c | 89 #define TESTDIR "testdir_4" 115 * set sticky bit on TESTDIR 117 TEST(chmod(TESTDIR, PERMS)); 121 TESTDIR, PERMS); 129 if (stat(TESTDIR, &stat_buf) < 0) { 132 TESTDIR, TEST_ERRNO); 140 TESTDIR, PERMS); 144 TESTDIR, dir_mode, PERMS); 176 if (mkdir(TESTDIR, DIR_MODE) < 0) { 177 tst_brkm(TBROK, cleanup, "mkdir(2) of %s failed", TESTDIR); [all...] |
chmod05.c | 106 #define TESTDIR "testdir" 128 TEST(chmod(TESTDIR, PERMS)); 132 TESTDIR, PERMS); 139 if (stat(TESTDIR, &stat_buf) < 0) { 141 "stat(%s) failed", TESTDIR); 152 "Expected 0%03o", TESTDIR, dir_mode, 157 TESTDIR, PERMS); 201 if (mkdir(TESTDIR, MODE_RWX) < 0) 202 tst_brkm(TBROK | TERRNO, cleanup, "mkdir(%s) failed", TESTDIR); [all...] |
/external/ltp/lib/ |
tst_tmpdir.c | 94 static char *TESTDIR = NULL; /* the directory created */ 103 return TESTDIR != NULL; 108 if (TESTDIR == NULL) { 113 return strdup(TESTDIR); 267 if ((TESTDIR = strdup(template)) == NULL) { 273 if (chown(TESTDIR, -1, getgid()) == -1) { 275 "chown(%s, -1, %d) failed", TESTDIR, getgid()); 279 if (chmod(TESTDIR, DIR_MODE) == -1) { 281 "chmod(%s, %#o) failed", TESTDIR, DIR_MODE); 296 if (chdir(TESTDIR) == -1) [all...] |
/external/ltp/testcases/kernel/syscalls/fchmod/ |
fchmod04.c | 89 #define TESTDIR "testdir_4" 117 * set sticky bit on TESTDIR 136 TESTDIR, dir_mode, PERMS); 172 if (mkdir(TESTDIR, DIR_MODE) < 0) { 173 tst_brkm(TBROK, cleanup, "mkdir(2) of %s failed", TESTDIR); 175 if ((fd = open(TESTDIR, O_RDONLY)) == -1) { 178 TESTDIR, errno, strerror(errno)); 196 TESTDIR, errno, strerror(errno));
|
fchmod05.c | 93 #define TESTDIR "testdir" 118 * to set setgid bit on TESTDIR. 135 TESTDIR, TEST_ERRNO); 141 TESTDIR, dir_mode, PERMS & ~S_ISGID); 194 if (mkdir(TESTDIR, MODE_RWX) < 0) { 195 tst_brkm(TBROK, cleanup, "mkdir(2) of %s failed", TESTDIR); 203 if (chown(TESTDIR, nobody_u->pw_uid, bin_group->gr_gid) == -1) 204 tst_brkm(TBROK, cleanup, "Couldn't change owner of testdir: %s", 213 fd = open(TESTDIR, O_RDONLY) [all...] |
/external/curl/tests/ |
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}")) {
|
runtests.pl | 156 my $TESTDIR="$srcdir/data"; [all...] |
/external/emma/ |
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/e2fsprogs/misc/ |
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/ |
Makefile | 41 TESTDIR = tests 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/libxml2/xstc/ |
Makefile.am | 5 TESTDIR=Tests 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/fs/mongo/ |
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/selinux/secilc/docs/ |
Makefile | 5 TESTDIR ?= $(CWD)/../test 44 $(TMPDIR)/policy.cil: $(TESTDIR)/policy.cil
|
/external/ltp/testcases/kernel/syscalls/rmdir/ |
rmdir02.c | 63 #define TESTDIR "testdir" 69 #define TESTFILE "testdir/testfile" 82 {TESTDIR, ENOTEMPTY}, 154 SAFE_MKDIR(cleanup, TESTDIR, DIR_MODE);
|
/external/r8/tools/ |
create_jctf_tests.py | 23 TESTDIR = join(JCTFROOT, RELATIVE_TESTDIR) 107 for x in os.walk(TESTDIR)))
|
/external/libunwind/tests/ |
run-coredump-unwind | 35 TESTDIR=`pwd`
|
/external/strace/tests/ |
init.sh | 345 TESTDIR="$NAME.dir" 346 rm -rf -- "$TESTDIR" 347 mkdir -- "$TESTDIR" 348 cd "$TESTDIR"
|
/external/strace/tests-m32/ |
init.sh | 345 TESTDIR="$NAME.dir" 346 rm -rf -- "$TESTDIR" 347 mkdir -- "$TESTDIR" 348 cd "$TESTDIR"
|
/external/strace/tests-mx32/ |
init.sh | 345 TESTDIR="$NAME.dir" 346 rm -rf -- "$TESTDIR" 347 mkdir -- "$TESTDIR" 348 cd "$TESTDIR"
|
/external/ltp/testcases/kernel/syscalls/renameat/ |
renameat01.c | 57 #define TESTDIR "testdir" 67 #define TESTFILE3 "testdir/testfile" 165 SAFE_MKDIR(cleanup, TESTDIR, DIRMODE); 169 olddirfd = SAFE_OPEN(cleanup, TESTDIR, O_DIRECTORY);
|
/external/lz4/tests/ |
Makefile | 38 TESTDIR := versionsTest 114 @rm -fR $(TESTDIR)
|