summaryrefslogtreecommitdiff
path: root/test/misc
AgeCommit message (Collapse)Author
2015-08-30tst-mkostemps: fix test case on read-only root filesystemWaldemar Brodkorb
Better use /tmp as embedded systems might have a read-only root. Fix two wrong asserts.
2015-08-22add tests for mkostemps()Romain Naour
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
2015-05-30use static directoriesWaldemar Brodkorb
The list might not exist on target when cross-compiling.
2015-04-13fix linking for m68kWaldemar Brodkorb
2015-03-29merge uClibc git masterWaldemar Brodkorb
2015-03-25test: tweaksBernhard Reutner-Fischer
Fix arc4random exclusion for real. Silence warning about missing prototype for external helper-function in tst-scandir Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2015-03-25utmp: favour POSIX utmpx over SVID utmpBernhard Reutner-Fischer
Note: _PATH_UTMPX == _PATH_UTMP and the utmp struct is identical to the utmpx struct so this only changes the external API entrypoints and NOT the underlying data source. This saves about 500b (~1300b from previously ~1950) while at it. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2015-03-22test: add utmpx testBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@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-25merge upstream changesWaldemar Brodkorb
2014-12-15test: Some more tests under conditionalsBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2014-10-05disable some test for avr32, compile failures.Waldemar Brodkorb
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-01-17statfs: support f_frsizeBernhard Reutner-Fischer
closes bugzilla #5834 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-04-08test/misc: Add tst-inotifyKevin Cernekee
Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-01-29tmpnam, tempnam are obsolete in SUSV4Bernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-01-16tests: fdopen: add missing mode args to open()Mike Frysinger
We call open() with O_CREAT, so make sure we pass in the mode else we might get build errors with fortify source. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-01-16tests: opendir-tst1: add header for mknod()Mike Frysinger
Include sys/stat.h for mknod() prototype. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
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>
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>
2008-10-10- Include stdio.h for the perror prototype, use constants from stdlib.h,Bernhard Reutner-Fischer
tidy up old-style function definition.
2008-10-09- fix test. Tests are normal userspace and are _not_ part of the libc itselfBernhard Reutner-Fischer
Thanks to Tobias Poschwatta for pointing out this error.
2008-10-06Fix scandir function to reset the errno when the Carmelo Amoroso
selector returns zero(no entries) modifying the errno. The attached test case implements a dummy filter that returns alway no entries, but change the errno. scandir is not expected to fail, just returning 0 entries. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-08-27- remove a couple of duplicate includesBernhard Reutner-Fischer
2008-07-23- trim any trailing whitespaceBernhard Reutner-Fischer
2007-03-08Now Test.mak includes toplevel Rules.mak so if DO_ASSERT is not set then ↵Khem Raj
-DNDEBUG is added to CFLAGS so we need to get the seeko() calls out of the assert otherwise they get cancelled when NDEBUG is defined.
2007-01-29fixup shadowed warningsMike Frysinger
2007-01-29fixup prototype warningsMike Frysinger
2006-07-05fix license noticeMike Frysinger
2006-03-09Use GNU features only if defined in headerPeter S. Mazinger
2006-03-05disable tst-gnuglob, it has no chance w/ our gnu globPeter S. Mazinger
2006-03-02Move hidden test file for tst-regex2 as wellPeter S. Mazinger
2006-03-01Move regex tests to their own subdir and dont run them if regex is disabledPeter S. Mazinger
2006-03-01move to new time dirMike Frysinger
2006-02-28disable blug-glob1 for nowMike Frysinger
2006-02-28remove mtrace callMike Frysinger
2006-02-28check more return valuesMike Frysinger
2006-02-28grab some tests from daliasMike Frysinger
2006-02-28pass an option to bug-glob1Mike Frysinger
2006-02-28grab some tests from glibcMike Frysinger
2006-02-26disable fnmatch test until our fnmatch stops suckingMike Frysinger
2006-02-16fix const position typo as pointed out by ia64/gccMike Frysinger
2006-02-15need std=c99 to build tst-regex2Mike Frysinger
2006-02-15test file for regex testMike Frysinger
2006-02-15grab some tests from glibcMike Frysinger
2006-02-15dont bother setting TESTS nowMike Frysinger
2006-02-15dont use %m glibcismMike Frysinger