summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* resolv: fix testcase failureDenis Vlasenko2008-12-171-8/+13
| | | | | test/regex/tst-regex2.c: fix testcase to compile with just "gcc <file>.c"
* Fix wcswidth function when LOCALE support is disabledCarmelo Amoroso2008-12-021-1/+1
| | | | | | | | | | 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>
* This patch fixes locale-mbwc test failures when __UCLIBC_HAS_LOCALE__ isCarmelo Amoroso2008-11-261-0/+24
| | | | | | | | | 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>
* Use C implementation of strncmp.Khem Raj2008-10-251-0/+1
| | | | Add a new strncmp testcase.
* - add and use EXTRA_DIRS to wipe the test/locale/C directoryBernhard Reutner-Fischer2008-10-104-1/+4
|
* - Include stdio.h for the perror prototype, use constants from stdlib.h,Bernhard Reutner-Fischer2008-10-101-3/+5
| | | | tidy up old-style function definition.
* - fix test. Tests are normal userspace and are _not_ part of the libc itselfBernhard Reutner-Fischer2008-10-091-1/+1
| | | | Thanks to Tobias Poschwatta for pointing out this error.
* Fix scandir function to reset the errno when the Carmelo Amoroso2008-10-061-0/+21
| | | | | | | | | | | 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>
* - add long double math wrappers (Ned Ludd)Bernhard Reutner-Fischer2008-10-031-5/+5
|
* Fix bad commit 23574 for io redirecting when running the test suiteHans-Christian Egtvedt2008-10-021-1/+1
| | | | | | | This patch fixes the previous r23574 and uses a correct syntax for redirecting. ./foo > bar.out 2>&1
* Use more generic redirecting of output in the test suiteHans-Christian Egtvedt2008-10-021-1/+1
| | | | | | | | | 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>
* - revert inappropriate part of r23478Bernhard Reutner-Fischer2008-09-261-4/+7
|
* Add globally __stringify macro in libc-symbols.h.Carmelo Amoroso2008-09-251-7/+4
| | | | | | Remove all other duplicated definitions. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - remove a couple of duplicate includesBernhard Reutner-Fischer2008-08-271-1/+0
|
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-2315-33/+33
|
* - remove the error counterBernhard Reutner-Fischer2008-07-113-12/+3
|
* - add error-counter, do not immediately exit if a testcase fails but printBernhard Reutner-Fischer2008-07-113-2/+11
| | | | the overall error-counter at the end and exit accordingly.
* - do not test pthread if threads are not availableBernhard Reutner-Fischer2008-07-111-0/+3
|
* - don't test libcrypt stubsBernhard Reutner-Fischer2008-07-111-0/+3
|
* - do not run tests that are not availableBernhard Reutner-Fischer2008-07-111-0/+6
|
* wow. So why does test/ keep it's own copy of CFLAGS guessing etc?Bernhard Reutner-Fischer2008-07-111-1/+1
|
* Removed wrong preprocessed filesCarmelo Amoroso2008-07-102-16675/+0
|
* Added missing tests for locale with multibyte encodingCarmelo Amoroso2008-07-10110-0/+29302
|
* Added several tests for locale support (8 bit and multibyte UTF-8)Carmelo Amoroso2008-07-0932-0/+4648
| | | | | | | | | | | | 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>
* Fix the test build system by installing headers on a local folderCarmelo Amoroso2008-07-082-2/+11
| | | | | | | instead of using internal headers. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix makefile target to run test when there are some shell script.Carmelo Amoroso2008-07-021-3/+1
| | | | | | | | | | | | 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>
* add test case for argv[0] == nullMike Frysinger2008-06-271-0/+13
|
* Fix some compiler warningsCarmelo Amoroso2008-06-111-1/+1
|
* Document the reason why ether tests in testsuite may fail.Denis Vlasenko2008-06-062-0/+9
| | | | | No code changes.
* Fix spurious testsuite failureDenis Vlasenko2008-06-061-0/+5
|
* Remove automatically generated header when doing make cleanCarmelo Amoroso2008-05-201-1/+1
|
* Convert to UNIX formatCarmelo Amoroso2008-05-161-25/+25
|
* Do not check retbuf if realpath returns NULLCarmelo Amoroso2008-05-131-2/+1
|
* test-canon: stop checking realpath buffer in case realpathDenis Vlasenko2008-05-081-17/+15
| | | | | | returns NULL (the buffer contents is undefined); also check errno more thoroughly (bugs were seen slipping through)
* Fix rpc test MakefileCarmelo Amoroso2008-04-251-0/+4
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix some sh4 specific entriesCarmelo Amoroso2008-04-251-0/+5
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - fixup asm. No object-code changesBernhard Reutner-Fischer2008-04-241-1/+1
|
* Fix file permissionsCarmelo Amoroso2008-02-282-0/+0
|
* Added support for ether_line, ether_ntohost and ether_hostton.Carmelo Amoroso2008-02-282-0/+73
| | | | | | | Added related test cases. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Hacked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - fix file permissionsBernhard Reutner-Fischer2008-01-221-0/+0
|
* Test case to exploit dladdr bugCarmelo Amoroso2008-01-222-1/+27
| | | | Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
* no need to delete the binary upon failureMike Frysinger2008-01-091-1/+0
|
* test to make sure the buffers used by the gethost*_r functions handle ↵Mike Frysinger2008-01-081-0/+50
| | | | misaligned scratch buffers
* Chris Zankel writes:Mike Frysinger2008-01-051-0/+1
| | | | | | | | | | | | | | | | | | 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.
* patch from Mats Erik Andersson for better catching edge cases in optimized ↵Mike Frysinger2008-01-051-8/+24
| | | | string functions
* Disable tst-ftime_l test if Extended Locale SupportCarmelo Amoroso2007-11-231-0/+4
| | | | | | is not enabled, otherwise build will fail Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Added support for GNU hash style into dynamic linkerCarmelo Amoroso2007-11-071-0/+5
|
* not sure how this obvious one liner got lost from glibc, but merge itMike Frysinger2007-09-151-0/+1
|
* add one more testcase from Natanael CopaMike Frysinger2007-09-151-0/+1
|
* add more tests as suggested by Natanael Copa and as harvested from:Mike Frysinger2007-09-151-1/+31
| | | | http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/92880