Messages in this thread | | | From | "H. Peter Anvin" <> | Subject | [klibc 21/31] Simple test suite for klibc | Date | Tue, 27 Jun 2006 22:17:21 -0700 |
| |
[klibc] Simple test suite for klibc
A very simple handful of tests for klibc. This is not by any means an exhaustive test suite, nor are most of the tests auto-verifying, but they are very useful to spot common porting problems.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
--- commit 24b7d25b39c484b6d39bc39003c1c1e315a04398 tree eb533c6e9ab6bbfeb94b4d82d299655e816f01b2 parent d82530df7a105851818935b622e20165f994d3f1 author H. Peter Anvin <hpa@zytor.com> Tue, 27 Jun 2006 20:51:04 -0700 committer H. Peter Anvin <hpa@zytor.com> Tue, 27 Jun 2006 20:51:04 -0700
usr/klibc/tests/Kbuild | 47 usr/klibc/tests/environ.c | 24 usr/klibc/tests/fcntl.c | 50 usr/klibc/tests/getopttest.c | 32 usr/klibc/tests/getpagesize.c | 10 usr/klibc/tests/hello.c | 7 usr/klibc/tests/idtest.c | 14 usr/klibc/tests/malloctest.c | 4146 +++++++++++++++++++++++++++++++++++++++++ usr/klibc/tests/malloctest2.c | 62 + usr/klibc/tests/memstrtest.c | 28 usr/klibc/tests/microhello.c | 9 usr/klibc/tests/minihello.c | 7 usr/klibc/tests/mmaptest.c | 73 + usr/klibc/tests/opentest.c | 15 usr/klibc/tests/pipetest.c | 39 usr/klibc/tests/rtsig.c | 12 usr/klibc/tests/setenvtest.c | 39 usr/klibc/tests/setjmptest.c | 38 usr/klibc/tests/sigint.c | 53 + usr/klibc/tests/stat.c | 63 + usr/klibc/tests/statfs.c | 42 usr/klibc/tests/strlcpycat.c | 111 + usr/klibc/tests/strtoimax.c | 23 usr/klibc/tests/strtotime.c | 25 usr/klibc/tests/testrand48.c | 19 usr/klibc/tests/testvsnp.c | 119 + usr/klibc/tests/vfork.c | 45 27 files changed, 5152 insertions(+), 0 deletions(-)
Patch suppressed due to size (64 K), available at: http://www.kernel.org/pub/linux/kernel/people/hpa/klibc-patchset/21-simple-test-suite-for-klibc.patch - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |