Home
last modified time | relevance | path

Searched refs:TESTDIR (Results 1 – 25 of 30) sorted by relevance

12

/third_party/lwip/test/unit/
DFilelists.mk32 TESTDIR=$(LWIPDIR)/../test/unit
33 TESTFILES=$(TESTDIR)/lwip_unittests.c \
34 $(TESTDIR)/api/test_sockets.c \
35 $(TESTDIR)/arch/sys_arch.c \
36 $(TESTDIR)/core/test_def.c \
37 $(TESTDIR)/core/test_mem.c \
38 $(TESTDIR)/core/test_netif.c \
39 $(TESTDIR)/core/test_pbuf.c \
40 $(TESTDIR)/core/test_timers.c \
41 $(TESTDIR)/dhcp/test_dhcp.c \
[all …]
/third_party/ltp/lib/
Dtst_tmpdir.c95 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 …]
/third_party/ltp/testcases/kernel/syscalls/rmdir/
Drmdir01.c16 #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()
Drmdir02.c25 #define TESTDIR "testdir" macro
41 {TESTDIR, ENOTEMPTY},
56 SAFE_MKDIR(TESTDIR, DIR_MODE); in setup()
Drmdir03.c30 #define TESTDIR "testdir" macro
72 SAFE_MKDIR(TESTDIR, DIR_MODE | S_ISVTX); in setup()
/third_party/ltp/testcases/kernel/syscalls/chmod/
Dchmod05.c45 #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()
Dchmod03.c27 #define TESTDIR "testdir_3" macro
34 {TESTDIR, "verify permissions of directory"},
68 SAFE_MKDIR(TESTDIR, DIR_MODE); in setup()
Dchmod01.c18 #define TESTDIR "testdir_1" macro
28 {TESTDIR, S_IFDIR, "verify permissions of directory"},
/third_party/lz4/
DMakefile35 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 …]
/third_party/ltp/testcases/kernel/fs/mongo/
Dmongo.pl81 $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 …]
/third_party/libxml2/xstc/
DMakefile.am5 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 \
/third_party/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir05.c19 #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()
Dmkdir04.c16 #define TESTDIR "testdir" macro
41 SAFE_MKDIR(TESTDIR, 0700); in setup()
42 SAFE_CHOWN(TESTDIR, test_users[0], getgid()); in setup()
/third_party/ltp/testcases/kernel/syscalls/fchmod/
Dfchmod05.c44 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()
Dfchmod04.c131 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()
Dfchmod.h14 #define TESTDIR "testdir" macro
/third_party/ltp/testcases/kernel/syscalls/execveat/
Dexecveat01.c30 #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()
Dexecveat02.c28 #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()
/third_party/ltp/testcases/kernel/syscalls/statx/
Dstatx04.c54 #define TESTDIR MOUNT_POINT "/testdir" macro
75 SAFE_MKDIR(TESTDIR, 0777); in setup()
78 fd = SAFE_OPEN(TESTDIR, O_RDONLY | O_DIRECTORY); in setup()
105 TST_EXP_PASS_SILENT(statx(AT_FDCWD, TESTDIR, 0, 0, &buf)); in run()
/third_party/musl/scripts/
Druntest_Windows.bat9 set TESTDIR=%LOCAL%\%OUTDIR%\musl\libc-test variable
27 echo checking TESTDIR
28 if exist %TESTDIR% (
29 echo TESTDIR: %TESTDIR%
31 echo Error: path "%TESTDIR%" was not found.
56 hdc file send %TESTDIR% %REMOTE%/src
112 for /f "delims=:" %%a in ('dir /b /a:-d "%TESTDIR%" ^| findstr /n .*') do set all=%%a
Druntest_linux.sh43 TESTDIR=${LOCAL}/${OUTDIR}/musl/libc-test
67 echo checking TESTDIR
68 if [ ! -d ${TESTDIR} ]; then
69 echo Error: path "${TESTDIR}" was not found.
85 ${CMD} file send ${TESTDIR} ${REMOTE}/src
140 all=$(ls -l ${TESTDIR} | grep "^-" | wc -l)
/third_party/toybox/scripts/
Dtest.sh26 TESTDIR="$PWD"
34 cd "$TESTDIR" && rm -rf testdir && mkdir testdir && cd testdir || exit 1
39 C="$TESTDIR/$CMDNAME"
/third_party/ltp/testcases/kernel/syscalls/renameat/
Drenameat01.c56 #define TESTDIR "testdir" macro
164 SAFE_MKDIR(cleanup, TESTDIR, DIRMODE); in setup()
168 olddirfd = SAFE_OPEN(cleanup, TESTDIR, O_DIRECTORY); in setup()
/third_party/selinux/secilc/docs/
DMakefile5 TESTDIR = $(CWD)/../test macro
53 $(TMPDIR)/policy.cil: $(TESTDIR)/policy.cil
/third_party/python/Tools/peg_generator/
DMakefile17 TESTDIR = . macro
80 -d $(TESTDIR) \

12