diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-01-25 18:40:46 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-01-25 18:40:46 +0000 |
commit | 6b3e83338bc49345326790156a7a3498dfceee12 (patch) | |
tree | a7429df5b1b8e954dad15b2b969c1ac35d6e397b /conform/conformtest.pl | |
parent | c1fac80331ab5740c240c0c2baeca19225626d47 (diff) | |
download | glibc-6b3e83338bc49345326790156a7a3498dfceee12.tar glibc-6b3e83338bc49345326790156a7a3498dfceee12.tar.gz glibc-6b3e83338bc49345326790156a7a3498dfceee12.tar.bz2 glibc-6b3e83338bc49345326790156a7a3498dfceee12.zip |
Update.
* sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
constants and add _SC_STREAMS.
* sysdeps/posix/sysconf.c (__sysconf): Likewise.
Diffstat (limited to 'conform/conformtest.pl')
-rw-r--r-- | conform/conformtest.pl | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/conform/conformtest.pl b/conform/conformtest.pl index 0f8cbd286f..4353ffcdbd 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); |