diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-03-25 23:59:52 +0100 | 
|---|---|---|
| committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-03-25 23:59:52 +0100 | 
| commit | 9e552e6a2d836698834d2bf887dbf1806172729f (patch) | |
| tree | a18af24a9786a3ed9aa69b3bfd69f8e2d6a3df88 | |
| parent | 6f363f69221a6b40ef0f88631cd8d675465eb63d (diff) | |
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.c | 2 | ||||
| -rw-r--r-- | 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 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 | 
