aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-03-25 23:59:52 +0100
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-03-25 23:59:52 +0100
commit9e552e6a2d836698834d2bf887dbf1806172729f (patch)
treea18af24a9786a3ed9aa69b3bfd69f8e2d6a3df88
parent6f363f69221a6b40ef0f88631cd8d675465eb63d (diff)
downloaduClibc-9e552e6a2d836698834d2bf887dbf1806172729f.tar.gz
uClibc-9e552e6a2d836698834d2bf887dbf1806172729f.tar.bz2
test: tweaks
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@gmail.com>
-rw-r--r--test/misc/tst-scandir.c2
-rw-r--r--test/stdlib/Makefile.in3
2 files changed, 3 insertions, 2 deletions
diff --git a/test/misc/tst-scandir.c b/test/misc/tst-scandir.c
index df62a40d4..e1c72e3c9 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 df3440a39..e1cbccfca 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