search for: testvsnp

Displaying 7 results from an estimated 7 matches for "testvsnp".

2010 Nov 20
3
[PATCH 1/4] utils: cleanup unused includes
several errno.h for no good reasons. cleanup losesetup which is not using getopt_long, thus doesn't need getopt.h included. Move stdarg.h include up in losesetup to more proper place. Signed-off-by: maximilian attems <max at stro.at> --- usr/utils/dmesg.c | 1 - usr/utils/losetup.c | 4 +--- usr/utils/mkfifo.c | 1 - usr/utils/nuke.c | 1 - usr/utils/umount.c | 1
2020 Jul 25
0
[klibc:master] tests: Add a trivial test for sysconf()
...31f..00b701fc 100644 --- a/usr/klibc/tests/Kbuild +++ b/usr/klibc/tests/Kbuild @@ -45,6 +45,7 @@ stdio.shared-y := stdio.o strlcpycat.shared-y := strlcpycat.o strtoimax.shared-y := strtoimax.o strtotime.shared-y := strtotime.o +sysconf.shared-y := sysconf.o testrand48.shared-y := testrand48.o testvsnp.shared-y := testvsnp.o vfork.shared-y := vfork.o
2020 Jul 25
0
[klibc:master] tests: Add a trivial test for sysconf()
...31f..00b701fc 100644 --- a/usr/klibc/tests/Kbuild +++ b/usr/klibc/tests/Kbuild @@ -45,6 +45,7 @@ stdio.shared-y := stdio.o strlcpycat.shared-y := strlcpycat.o strtoimax.shared-y := strtoimax.o strtotime.shared-y := strtotime.o +sysconf.shared-y := sysconf.o testrand48.shared-y := testrand48.o testvsnp.shared-y := testvsnp.o vfork.shared-y := vfork.o diff --git a/usr/klibc/tests/sysconf.c b/usr/klibc/tests/sysconf.c new file mode 100644 index 00000000..e32c1383 --- /dev/null +++ b/usr/klibc/tests/sysconf.c @@ -0,0 +1,14 @@ +#include <assert.h> +#include <stdio.h> +#include <sys/s...
2005 Aug 07
0
kbuild: add klibc/tests
...es := $(wildcard $(srctree)/$(src)/*.c) +test-files := $(notdir $(test-files)) + +# This particular file uses a bunch of formats gcc don't know of, in order +# to test the full range of our vsnprintf() function. This outputs a bunch +# of useless warnings unless we tell it not to. +KLIBCCFLAGS_testvsnp.o := -Wno-format + +static-y := $(test-files:.c=) +shared-y := $(addsuffix .shared, $(static-y)) + +environ.shared-y := environ.o +fcntl.shared-y := fcntl.o +getopttest.shared-y := getopttest.o +getpagesize.shared-y := getpagesize.o +hello.shared-y := hello.o +idtest.shar...
2002 Aug 24
1
klibc 0.57 trouble
...) doesn't like the '-malign-functions=0 -malign-jumps=0 -malign-loops=0', it wants the '-falign...' versions instead, which don't work with gcc 2.95 :( - some of the asm/ kernel headers don't like being compiled with '-W', e.g. asm-s390/bitops.h - tests/testvsnp.c causes lots of warnings when compiled with gcc-3.2 or when size_t is not int. I can probably the new arch/s390{,x} files next week when I have run the test programs. BTW: are there any plans to make a busybox variant work with klibc or to use the same concept for the programs shipped with it?...
2006 Jun 26
0
[klibc 38/43] Simple test suite for klibc
...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/38-simple-test-suite-for-klibc.patch
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at: