OSDN Git Service

test: tweaks
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 25 Mar 2015 22:59:52 +0000 (23:59 +0100)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 25 Mar 2015 22:59:52 +0000 (23:59 +0100)
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>
test/misc/tst-scandir.c
test/stdlib/Makefile.in

index df62a40..e1c72e3 100644 (file)
@@ -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;
index df3440a..e1cbccf 100644 (file)
@@ -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