summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2008-12-02Fix wcswidth function when LOCALE support is disabledCarmelo Amoroso
while keeping WCHAR support enabled. This solves two testcases: tst_wcwidth and tst_wcswidth. Fix dat_iswctype.c fiinput file: character 0x80 is not a control character: it fixes tst_iswctype test. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
2008-11-26This patch fixes locale-mbwc test failures when __UCLIBC_HAS_LOCALE__ isCarmelo Amoroso
disabled and __UCLIBC_HAS_WCHAR__ is enabled. The only locale available when __UCLIBC_HAS_LOCALE__ is disabled is the C locale, the others locale are skipped. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
2008-10-25Use C implementation of strncmp.Khem Raj
Add a new strncmp testcase.
2008-10-10- add and use EXTRA_DIRS to wipe the test/locale/C directoryBernhard Reutner-Fischer
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-10-03- add long double math wrappers (Ned Ludd)Bernhard Reutner-Fischer
2008-10-02Fix bad commit 23574 for io redirecting when running the test suiteHans-Christian Egtvedt
This patch fixes the previous r23574 and uses a correct syntax for redirecting. ./foo > bar.out 2>&1
2008-10-02Use more generic redirecting of output in the test suiteHans-Christian Egtvedt
This patch replaces the "&> file" with "> file 2>> file". The latter is compatible with Busybox ash shell, which makes it easier to run the test suite on target. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
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-08-27- remove a couple of duplicate includesBernhard Reutner-Fischer
2008-07-23- trim any trailing whitespaceBernhard Reutner-Fischer
2008-07-11- remove the error counterBernhard Reutner-Fischer
2008-07-11- add error-counter, do not immediately exit if a testcase fails but printBernhard Reutner-Fischer
the overall error-counter at the end and exit accordingly.
2008-07-11- do not test pthread if threads are not availableBernhard Reutner-Fischer
2008-07-11- don't test libcrypt stubsBernhard Reutner-Fischer
2008-07-11- do not run tests that are not availableBernhard Reutner-Fischer
2008-07-11wow. So why does test/ keep it's own copy of CFLAGS guessing etc?Bernhard Reutner-Fischer
2008-07-10Removed wrong preprocessed filesCarmelo Amoroso
2008-07-10Added missing tests for locale with multibyte encodingCarmelo Amoroso
2008-07-09Added several tests for locale support (8 bit and multibyte UTF-8)Carmelo Amoroso
Basically all tests have been taken from glibc. For testing multibyte encoding EUC_JP parts have been commented out and added new section for UTF-8 that is the only multibyte codeset currently supported on uCLibc. Some tests are still failing due to unsupported/missing features, other have been fixed. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-07-08Fix the test build system by installing headers on a local folderCarmelo Amoroso
instead of using internal headers. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-07-02Fix makefile target to run test when there are some shell script.Carmelo Amoroso
SImply do not include SHEL_TESTS among RUNTIME_TESTS, because shell script have a their own rule to be excuted. The runtime evaluation by using the $(shell ...) command doesn't work due to immediate expansion of shell function. Currently only nptl tests have shell script, so this problem have been never discovered before. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-06-27add test case for argv[0] == nullMike Frysinger
2008-06-11Fix some compiler warningsCarmelo Amoroso
2008-06-06Document the reason why ether tests in testsuite may fail.Denis Vlasenko
No code changes.
2008-06-06Fix spurious testsuite failureDenis Vlasenko
2008-05-20Remove automatically generated header when doing make cleanCarmelo Amoroso
2008-05-16Convert to UNIX formatCarmelo Amoroso
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)
2008-04-25Fix rpc test MakefileCarmelo Amoroso
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-04-25Fix some sh4 specific entriesCarmelo Amoroso
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-04-24- fixup asm. No object-code changesBernhard Reutner-Fischer
2008-02-28Fix file permissionsCarmelo Amoroso
2008-02-28Added support for ether_line, ether_ntohost and ether_hostton.Carmelo Amoroso
Added related test cases. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Hacked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-01-22- fix file permissionsBernhard Reutner-Fischer
2008-01-22Test case to exploit dladdr bugCarmelo Amoroso
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
2008-01-09no need to delete the binary upon failureMike Frysinger
2008-01-08test to make sure the buffers used by the gethost*_r functions handle ↵Mike Frysinger
misaligned scratch buffers
2008-01-05Chris Zankel writes:Mike Frysinger
The following patches add support for the Xtensa processor architecture to uClibc. They are based on a recent SVN checkout (12/05/2007). The first patch (attached to this post) adds Xtensa support to various shared configuration and make files. The following patches then include the Xtensa specific files and directories. I welcome any feedback and would appreciate it if you could include the patches into the mainline tree. I am certainly committed to maintain the port. Bob Wilson was kind enough to review the patches. Some notes about the architecture: Xtensa is a configurable and extensible processor architecture developed by Tensilica. For more information, please visit: www.linux-xtensa.org.
2008-01-05patch from Mats Erik Andersson for better catching edge cases in optimized ↵Mike Frysinger
string functions
2007-11-23Disable tst-ftime_l test if Extended Locale SupportCarmelo Amoroso
is not enabled, otherwise build will fail Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2007-11-07Added support for GNU hash style into dynamic linkerCarmelo Amoroso
2007-09-15not sure how this obvious one liner got lost from glibc, but merge itMike Frysinger
2007-09-15add one more testcase from Natanael CopaMike Frysinger
2007-09-15add more tests as suggested by Natanael Copa and as harvested from:Mike Frysinger
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/92880
2007-09-15actually update errors variable when a test failsMike Frysinger