summaryrefslogtreecommitdiff
path: root/test/unistd
AgeCommit message (Collapse)Author
2016-01-01Fix "pselect: Use linux pselect6 syscall when available"Leonid Lisovskiy
Commit e3c3bf2b58 introduce use of pselect6, but has following disadvantages: * Use of userspace types in args67 structure - it breaks, for example, configs when 32-bit uClibc-ng compiled against 64-bit kernel. Syscall will always return EINVAL. We must use __kernel_* types and __SYSCALL_SIGSET_T_SIZE. * It have excess checks for NSEC_PER_SEC. Original code from select() implementation has struct timeval => struct timespec conversion, kernel select() syscall implementation do the same. But none of libc versions (glibc, eglibc, musl) I know, perform similar checks for pselect() - there is no structure fields conversions, just struct timespec through all the calls. To have such checks in uClibc-ng we need one example, at least. * It is possible to avoid extra userspace reads from kernel code if sigmask == NULL. I suggest to do it, for a few bytes cost. * Commit didn't add test case to testsuite. Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com>
2015-01-04add -fPIC to some tests.Waldemar Brodkorb
This is required to avoid a assertion error in binutils 2.24 for m68k.
2014-12-28fix warning when doing make cleanWaldemar Brodkorb
2014-10-05disable some test for avr32, compile failures.Waldemar Brodkorb
2014-09-20test: disable posix_fallocate64 for small embedded systemsWaldemar Brodkorb
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
2014-09-09libc: add fallocate() and fallocate64()Anthony G. Basile
We add the Linux-specific function fallocate() which allows the user to directly manipulate allocate space for a file. fallocate() can operate in different modes, but the default mode is equivalent to posix_fallocate() which is specified in POSIX.1. Recent releases of e2fsprogs 1.42.11 and above expect fallocate64() to be available. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-03-14test: add missing top_srcdirBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-03-14test: cater for configBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-02-11libc: add posix_fallocate()Bernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-11-18Replace FSF snail mail address with URLsMike Frysinger
This matches a similar change made to glibc. No functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-01-17tests: mark all helper scripts +xMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-08-05sysconf: implement _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLNBernhard Reutner-Fischer
perusing the config parser Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-06-25test: silence shadow warningBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-06-11testsuite: disable some tests for !LFSBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-05-09powerpc: Add TLS and NPTL supportKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-04-06getconf: move to utils/Bernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-26sync confname, environments with glibcBernhard Reutner-Fischer
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>
2009-03-16Fixed makefiles inclusion flow to pass actual configuration variable values.Carmelo Amoroso
Test build system modified to be similar to uClibc one: * test custom logic moved from Makefile to a new Makefile.in (to be included by Makefile). * Makefile same for all tests and just used for including all other needed makefiles. Signed-off-by: Salvatore Cro <salvatore.cro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2009-02-02libm/ldouble_wrappers.c: add libm_hidden_def's to fix testsuite buildDenis Vlasenko
test/Rules.mak: don't pass target options to host build test/math/basic-test.c: fix test build error patching file test/unistd/errno.c: fix test build warning
2008-09-26- revert inappropriate part of r23478Bernhard Reutner-Fischer
2008-09-25Add globally __stringify macro in libc-symbols.h.Carmelo Amoroso
Remove all other duplicated definitions. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-06-27add test case for argv[0] == nullMike Frysinger
2007-01-29mark some funcs as noreturnMike Frysinger
2007-01-29fixup prototype warningsMike Frysinger
2006-07-05fixup my copyright notice, trim stale remnants of older notices whichEric Andersen
I had clearly run search/replace on that were cluttering things up.
2006-07-05fix license noticeMike Frysinger
2006-07-05fix license noticeMike Frysinger
2006-03-08getopt_long-simple behaves as gnu getopt if POSIXLY_CORRECT is set, adapt testPeter S. Mazinger
2006-02-22revert unintended commitMike Frysinger
2006-02-22sync with glibcMike Frysinger
2006-02-22add clone2 prototype to shutup warningsMike Frysinger
2006-02-18tweak the idea between having a MMU and actually using itMike Frysinger
2006-02-16disable test on non-mmu hostMike Frysinger
2006-02-15dont bother setting TESTS nowMike Frysinger
2006-02-14sync with glibcMike Frysinger
2006-02-14dont bother defining _GNU_SOURCEMike Frysinger
2006-02-14rename to match glibcMike Frysinger
2006-02-14dont bother exporting variables and use := where appropriateMike Frysinger
2006-02-04fix segfault do to sizeof(NULL) usageMike Frysinger
2006-02-04import files from glibc for an ia64/static portMike Frysinger
2005-11-15import test from glibcMike Frysinger
2005-07-28check the return value of the clone call tooMike Frysinger
2005-07-27add a basic errno test based on one from ltpMike Frysinger
2005-07-02new testing framework to unify duplicated code in subdirsMike Frysinger
2005-07-02new testcase for clone()Mike Frysinger
2005-07-01GNU libc -> glibcMike Frysinger
2005-07-01make test output nicer so its easier to go through a log of `make -s` and ↵Mike Frysinger
find out what works/fails
2005-07-01remove old depend on Config and make it so that a test failure aborts the ↵Mike Frysinger
make process
2005-06-29simplify TESTDIR setting and touchupMike Frysinger
2005-02-12no more cvsMike Frysinger