From 6b3e83338bc49345326790156a7a3498dfceee12 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 25 Jan 2001 18:40:46 +0000 Subject: Update. * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS constants and add _SC_STREAMS. * sysdeps/posix/sysconf.c (__sysconf): Likewise. --- conform/conformtest.pl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'conform') diff --git a/conform/conformtest.pl b/conform/conformtest.pl index 0f8cbd2..4353ffc 100644 --- a/conform/conformtest.pl +++ b/conform/conformtest.pl @@ -22,8 +22,6 @@ $CFLAGS = "-I. '-D__attribute__(x)=' -D_XOPEN_SOURCE=600"; "dlfcn.h", "dirent.h", "ctype.h", "cpio.h", "assert.h", "arpa/inet.h", "aio.h"); -@headers = ('unistd.h'); - # These are the ISO C99 keywords. @keywords = ('auto', 'break', 'case', 'char', 'const', 'continue', 'default', 'do', 'double', 'else', 'enum', 'extern', 'float', 'for', 'goto', @@ -744,7 +742,7 @@ printf (" Total number of tests : %4d\n", $total); printf (" Number of known failures: %4d (", $known); $percent = ($known * 100) / $total; -if ($percent < 1.0) { +if ($known > 0 && $percent < 1.0) { printf (" <1%%)\n"); } else { printf ("%3d%%)\n", $percent); @@ -752,7 +750,7 @@ if ($percent < 1.0) { printf (" Number of failed tests : %4d (", $errors); $percent = ($errors * 100) / $total; -if ($percent < 1.0) { +if ($errors > 0 && $percent < 1.0) { printf (" <1%%)\n"); } else { printf ("%3d%%)\n", $percent); @@ -760,7 +758,7 @@ if ($percent < 1.0) { printf (" Number of skipped tests : %4d (", $skipped); $percent = ($skipped * 100) / $total; -if ($percent < 1.0) { +if ($skipped > 0 && $percent < 1.0) { printf (" <1%%)\n"); } else { printf ("%3d%%)\n", $percent); -- cgit v1.1