[git commit] test: tweaks

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Mar 25 22:59:52 UTC 2015


commit: http://git.uclibc.org/uClibc/commit/?id=9e552e6a2d836698834d2bf887dbf1806172729f
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Fix arc4random exclusion for real.
Silence warning about missing prototype for external helper-function in
tst-scandir

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 test/misc/tst-scandir.c |    2 +-
 test/stdlib/Makefile.in |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/misc/tst-scandir.c b/test/misc/tst-scandir.c
index df62a40..e1c72e3 100644
--- a/test/misc/tst-scandir.c
+++ b/test/misc/tst-scandir.c
@@ -3,7 +3,7 @@
 #include <stdio.h> /* perror() */
 #include <stdlib.h>
 
-int skip_all(const struct dirent *dirbuf)
+static int skip_all(const struct dirent *dirbuf)
 {
 	errno = EBADF;
 	return 0;
diff --git a/test/stdlib/Makefile.in b/test/stdlib/Makefile.in
index df3440a..e1cbccf 100644
--- a/test/stdlib/Makefile.in
+++ b/test/stdlib/Makefile.in
@@ -11,8 +11,9 @@ GLIBC_TESTS_DISABLED :=
 ifeq ($(UCLIBC_HAS_PTY),)
 TESTS_DISABLED += ptytest
 endif
+
 ifeq ($(UCLIBC_HAS_ARC4RANDOM),)
 TESTS_DISABLED += testarc4random
 else
-GLIBC_TESTS_DISABLED += testarc4random
+GLIBC_TESTS_DISABLED += testarc4random_glibc
 endif


More information about the uClibc-cvs mailing list