summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge commit 'origin/master' into nptlAustin Foxley2010-04-063-1314/+7
|\| | | | | | | | | | | | | | | Conflicts: libc/misc/utmp/utent.c libc/sysdeps/linux/i386/bits/syscalls.h Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * getconf: move to utils/Bernhard Reutner-Fischer2010-04-063-1314/+7
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | Merge commit 'origin/master' into nptlAustin Foxley2010-04-021-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.in extra/Configs/Config.in libc/sysdeps/linux/common/bits/kernel-features.h libc/sysdeps/linux/common/poll.c libc/sysdeps/linux/common/sysdep.h libc/sysdeps/linux/sh/sysdep.h Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * add MULTILIB_DIR: Path component for libdirsBernhard Reutner-Fischer2010-03-121-1/+1
| | | | | | | | | | | | defaults to "lib". Other prominent values include "lib32" or "lib64" Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | nptl_test: sysdep headers re-factoringCarmelo Amoroso2010-02-094-2/+11
| | | | | | | | | | | | Update nptl and tls Makefiles according to new sysdep headers structure Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | Merge commit 'origin/master' into nptlAustin Foxley2010-02-052-2/+8
|\| | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * libm: enable log2f and exp2fAurelien Jacobs2010-02-041-2/+2
| | | | | | | | | | Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * add gethostid() testcaseBernhard Reutner-Fischer2010-02-031-0/+6
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * test/math: put scalbf test under susv3 legacy defineAustin Foxley2009-12-272-1/+5
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * test_dlopen: Remove extra -lpthread from LD_FLAGS for dltest{2}Filippo Arcidiacono2009-12-091-2/+2
| | | | | | | | | | | | | | | | | | | | dltest and dltest2 do not refer any symbols implemented in pthread library, so do not explicitly link them with pthread. It is required only for the shared objects that are loaded via dlopen by those tests. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
| * test/.gitignore: Ignore a few more test binariesAustin Foxley2009-11-291-0/+3
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * test/dlopen: fix build for libtest.soAustin Foxley2009-11-291-0/+1
| | | | | | | | | | | | needs -lpthread, recent addition of -z,defs and -z,now exposed this Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * test/dlopen: Match the function name that libtest actually setsAustin Foxley2009-11-291-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * test/pthread: fix build of cancellation-points testAustin Foxley2009-11-291-2/+2
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * test/stat: fix compiling the memcmp-stat test when __USE_MISC is definedAustin Foxley2009-11-291-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test: fix static build of nptl and tls testsAustin Foxley2010-01-232-14/+25
| | | | | | | | | | | | | | also add needed -lpthread lines to timer_* tests, since the implementation uses pthread functions Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/math: put scalbf test under susv3 legacy defineAustin Foxley2010-01-212-1/+5
| | | | | | | | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com> (cherry picked from commit e949d522a31db675889bc87b6023e7edb6b30caa) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | fix compiling test cases in static modeAustin Foxley2009-12-161-2/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | build: Get rids of PIC macro using compiler flag __PIC__ insteadCarmelo Amoroso2009-12-161-12/+12
| | | | | | | | | | | | | | Based on Peter Mazinger's comments on a recent commit, I decided to get rids of all occurrences of PIC changing them to __PIC__ Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | test_dlopen: Remove extra -lpthread from LD_FLAGS for dltest{2}Filippo Arcidiacono2009-12-091-2/+2
| | | | | | | | | | | | | | | | | | | | dltest and dltest2 do not refer any symbols implemented in pthread library, so do not explicitly link them with pthread. It is required only for the shared objects that are loaded via dlopen by those tests. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | ldso_tls: Refetch dtv from memory if THREAD_DTV has changedCarmelo Amoroso2009-12-033-1/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _dl_update_slotinfo might change THREAD_DTV () (if it needs to reallocate it), but the caller (__tls_get_addr) doesn't refetch dtv from memory, it uses its cached copy. This may crash (if dtv[GET_ADDR_MODULE] is off the cliff, or might read uninitialized memory and return it. Typically dtv[GET_ADDR_MODULE].pointer.val is NULL and so __tls_get_addr returns NULL + offset_within_PT_TLS. The next time __tls_get_addr is called for the same library it will return correct address as _dl_update_slotinfo won't need to be called. Signed-off-by: Jakub Jelinek <jakub@redhat.com> Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | test_tls: Add two new tests for tls tst-tls{16,17} taken from glibcCarmelo Amoroso2009-12-037-2/+161
| | | | | | | | | | Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | test_tls: Rename tst-tls16 to tst-tls-at-ctorCarmelo Amoroso2009-12-033-5/+5
| | | | | | | | | | | | | | | | Rename tst-tls16 to tst-tls-at-ctor (including main and related shared object) to avoid name clashing with new tests ported from glibc. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | build: Move test build flags in Makefile.inCarmelo Amoroso2009-12-032-1/+1
| | | | | | | | | | | | | | Move test build flags in Makefile.in Makefile should be used only as a container for other sub Makefiles Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | test/.gitignore: ignore a missed nptl test binaryAustin Foxley2009-11-291-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/.gitignore: Ignore a few more test binariesAustin Foxley2009-11-291-0/+3
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/Rules.mak: disable -z,defs for nowAustin Foxley2009-11-291-2/+2
| | | | | | | | | | | | | | * A bunch of the nptl tests don't compile when -z,defs is on * also turn on -std=gnu99 for the HOSTCC (_glibc) compiles Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/nptl: rework tst-tls3 to link with -z,nowAustin Foxley2009-11-293-11/+32
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/: compile fixes for nptl and tls testsAustin Foxley2009-11-294-10/+25
| | | | | | | | | | | | | | | | | | | | * Add a GLIBC_TESTS_DISABLED var because many of these tests need internal uClibc stuff. This disables the HOSTCC build of these tests * Fix up tls test macros for x86 * Fix the linking of the tls tests Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/nptl: don't use c99 features if you don't need toAustin Foxley2009-11-291-1/+2
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test: nptl and tls tests need main include dirAustin Foxley2009-11-292-0/+2
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/dlopen: fix build for libtest.soAustin Foxley2009-11-291-0/+1
| | | | | | | | | | | | needs -lpthread, recent addition of -z,defs and -z,now exposed this Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/dlopen: Match the function name that libtest actually setsAustin Foxley2009-11-291-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/pthread: fix build of cancellation-points testAustin Foxley2009-11-291-2/+2
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/stat: fix compiling the memcmp-stat test when __USE_MISC is definedAustin Foxley2009-11-291-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | Merge remote branch 'origin/master' into nptlAustin Foxley2009-11-2811-29/+1622
|\| | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * try to probe if stat.t_mtim.tv_nsec is availableBernhard Reutner-Fischer2009-11-262-20/+36
| | | | | | | | | | | | Do not treat tv_nsec mismatches as errors on filesystems without support for it. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * correct commentBernhard Reutner-Fischer2009-11-261-3/+1
| | | | | | | | | | | | and disable built-in rules Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * sync confname, environments with glibcBernhard Reutner-Fischer2009-11-265-1/+1563
| | | | | | | | | | | | | | Plus related synch. Add a testcase for the sysconf variables based on the one from glibc Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * ignore some more testcase binariesBernhard Reutner-Fischer2009-11-251-0/+7
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * call nanosleep directlyBernhard Reutner-Fischer2009-11-252-4/+10
| | | | | | | | | | | | | | usleep is a SUSv3 function. TODO: nanosleep moved from SUSv3 Timers to SUSv4 Base Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * conditional cancellation-point test of usleepBernhard Reutner-Fischer2009-11-251-0/+4
| | | | | | | | | | | | usleep is a SUSv3 function Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * pass more ld flagsBernhard Reutner-Fischer2009-11-251-1/+1
| | | | | | | | | | | | add -z defs,now Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | Merge remote branch 'origin/master' into nptl_mergeAustin Foxley2009-11-226-78/+156
|\| | | | | | | | | | | | | | | | | Conflicts: Rules.mak libc/misc/sysvipc/msgq.c test/Rules.mak Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * futimens: add functionBernhard Reutner-Fischer2009-11-202-0/+92
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * make test-skeleton C89 compliantBernhard Reutner-Fischer2009-11-201-4/+7
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * SUSv4: disable isascii, toascii, _toupper, _tolowerBernhard Reutner-Fischer2009-11-191-0/+2
| | | | | | | | | | | | | | [__]isascii need to be defined all the time for the build. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * test: sync up with toplevel buildsysBernhard Reutner-Fischer2009-11-192-73/+45
| | | | | | | | | | | | | | test/Rules.mak was duplicating too much from the toplevel Rules.mak (which is included anyway). Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * .gitignore more testfilesBernhard Reutner-Fischer2009-11-191-1/+10
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * test/plt: add a script to find PLT usageMike Frysinger2009-10-221-0/+38
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>