Преглед на файлове

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>
Bernhard Reutner-Fischer преди 9 години
родител
ревизия
9e552e6a2d
променени са 2 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 1 1
      test/misc/tst-scandir.c
  2. 2 1
      test/stdlib/Makefile.in

+ 1 - 1
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;

+ 2 - 1
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