summaryrefslogtreecommitdiff
path: root/test/stdlib
AgeCommit message (Collapse)Author
2014-12-10mkostemp: fix implementationAnthony G. Basile
mkostemp(char *template, int flags) generates a unique temporary filename from a template. The flags parameter accepts three of the same flags as open(2): O_APPEND, O_CLOEXEC, and O_SYNC. The current implementation of mkostemp(3) does not respect the flags and in fact confuses the flags with the file mode which should always be S_IRUSR | S_IWUSR. This patch corrects this issue. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-03-14test: add missing top_srcdirBernhard 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-06-15update arc4random from bug #885Peter S. Mazinger
Add config option to provide arc4random without device access. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-01-29tmpnam, tempnam are obsolete in SUSV4Bernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-01-16tests: test-canon: include sys/stat.h for mkdir()Mike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-12-01libc: fix strtoqNatanael Copa
strtoq should always return a quad_t and be an alias of strtol on 64 bit and strtoll on 32 bit. Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-09-16libc: Add canonicalize_file_name functionCarmelo Amoroso
Add canonicalize_file_name function and its related tests. Required by elfutils and coreutils (readlink). Signed-off-by: Salvatore Cro <salvatore.cro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.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-07-23testsuite: fix one bug, one warning; extend README (one TODO added)Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.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-07-23- trim any trailing whitespaceBernhard Reutner-Fischer
2008-05-13Do not check retbuf if realpath returns NULLCarmelo Amoroso
2008-05-08test-canon: stop checking realpath buffer in case realpathDenis Vlasenko
returns NULL (the buffer contents is undefined); also check errno more thoroughly (bugs were seen slipping through)
2007-02-08import a slightly modified realpath() test case from glibcMike Frysinger
2007-01-29mark some funcs as noreturnMike Frysinger
2007-01-29fixup prototype warningsMike Frysinger
2006-07-05fix license noticeMike Frysinger
2006-02-15dont bother setting TESTS nowMike Frysinger
2006-02-14convert to new test frameworkMike Frysinger
2005-07-27dont run ls and make sure diff aborts if it failsMike 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-30fix type casting so we dont have any warnings on 32/64 bit archesMike Frysinger
2005-06-29simplify TESTDIR setting and touchupMike Frysinger
2005-02-12no more cvsMike Frysinger
2004-01-02Do not make tests depend on CC, since we no longer build a wrapper.Eric Andersen
2003-10-18Peter Kjellerstedt writes:Eric Andersen
rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).
2003-01-23Update tests to be somewhat consistant with the rest of the worldEric Andersen
2002-11-19Silence some whiningEric Andersen
2002-10-17Add a test from Alex King <alex@morrison.king.net.nz> whichEric Andersen
shows a failure in ptsname when ASSUME_DEVPTS=false -Erik
2002-08-24Ignore generated stuffEric Andersen
2002-08-14Move all malloc tests under test/malloc/Eric Andersen
2002-03-21Put the chdir back, to simplify testing now that scandirEric Andersen
doesn't segfault anymore
2002-03-13Remove the chdir, so we can test things like empty directoriesEric Andersen
2002-02-13Several test suite updates. The testatexit, teston_exit, andEric Andersen
pthread tests were contributed by Stefan Soucek
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-09-27Scrub up a few test thingsEric Andersen
2001-07-12Use uClibc's ldd, not the system one which is probably brokenEric Andersen
anyways. This ensures correct answers, and prevents all the annoying segfaults from the system ldd. -Erik
2001-07-03Scrub up the tests a bit, and force everybody to use theEric Andersen
build dir, so nothing need be installed... -Erik
2001-06-15Make all the uClibc tests use the --uclibc-use-build-dir flagEric Andersen
2001-05-11Fix a couple silly bugs in this testEric Andersen
2001-05-08Add in a qsort, alphasort, scandir test from Jon Nelson, jnelson@securepipe.comEric Andersen
2001-01-20Reworked all test suite makefiles (man did they need it).Eric Andersen
Refactored testsuite.h so it behaves the way I want it to. As policy now, all test apps are _supposed_ to use testsuite.h (not all have been converted to do this yet). It is simple, clean, and works. -Erik
2000-11-17Some cleanups from Manuel Novoa III <mnovoa3@bellsouth.net>,Eric Andersen
and a bit of extra cleanup in the test makefiles.
2000-11-16Fix it so files are not stripped when debugging (doh!). Fix up stripEric Andersen
rules. With this fix in place, I can now find what is wrong with malloc... -Erik
2000-11-04Make spelling of uClibc be consistant.Eric Andersen
2000-10-26Fix makefile bugsEric Andersen
2000-10-26Link vs libgcc to include needed stuff.Eric Andersen