diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-12-20 19:14:29 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-12-20 19:14:29 -0500 |
commit | 56cde2863262b28bec0252a8d0c82b4546371c72 (patch) | |
tree | 62afca5a1f2a56fd5c1ce4ba735b86bf66cea5f0 | |
parent | 641b0d18d0d403ac01459662c0501219e548c15e (diff) | |
download | deheader-56cde2863262b28bec0252a8d0c82b4546371c72.tar.gz deheader-56cde2863262b28bec0252a8d0c82b4546371c72.tar.bz2 deheader-56cde2863262b28bec0252a8d0c82b4546371c72.tar.xz deheader-56cde2863262b28bec0252a8d0c82b4546371c72.zip |
More tests.
-rwxr-xr-x | deheader | 7 | ||||
-rw-r--r-- | test/README | 6 | ||||
-rw-r--r-- | test/regress.chk | 3 |
3 files changed, 14 insertions, 2 deletions
@@ -176,6 +176,13 @@ requirements = ( (r"fwscanf()", ["<stdio.h>", "<wchar.h>"]), (r"wscanf()", ["<stdio.h>", "<wchar.h>"]), (r"swscanf()", ["<stdio.h>", "<wchar.h>"]), + (r"gamma()", ["<math.h>"]), + (r"getc()", ["<stdio.h>"]), + (r"getc_unlocked()", ["<stdio.h>"]), + (r"getchar_unlocked()", ["<stdio.h>"]), + (r"putc_unlocked()", ["<stdio.h>"]), + (r"putchar_unlocked()", ["<stdio.h>"]), + (r"getchar()", ["<stdio.h>"]), # Header dependencies implies by SuS (r"<dirent.h>", ["<sys/types.h>"]), (r"<fcntl.h>", ["<sys/stat.h>", "<sys/types.h>"]), diff --git a/test/README b/test/README index 00d7c31..21012b8 100644 --- a/test/README +++ b/test/README @@ -40,14 +40,16 @@ fnmatch.h - fnmatch() not tested. unistd.h - fork(), fpathconf(), free(), fsnyc(), *truncate() not tested. stdio.h - *printf*, fputc(), fputwc(), fputws(), fread(), fwrite() not tested. stdio.h - freopen(), fscanf(), sscanf(), feek(), fseeko() not tested. -stdio.h - fsetpos(), ftell(), ftello() not tested. -math.h - frexp() not tested. +stdio.h - fsetpos(), ftell(), ftello(), getc(), getchar() not tested. +math.h - frexp(), gamma() not tested. sys/statvfs.h - fstatvfs(), statvfs() untested. sys/timeb.h - ftime() not tested. sys/ipc.h - ftok() ftw.h - ftw(), nftw() not tested. wchar.h - fwprintf(), wprintf(), swprintf() not tested. wchar.h - fwscanf(), wscanf(), swscanf() not tested. +stdio.h - getc_unlocked(), getchar_unlocked() not tested. +stdio.h - putc_unlocked(), putchar_unlocked() not tested. For other dependencies not tested, see the commented-out lines in deheader's dependency table. diff --git a/test/regress.chk b/test/regress.chk index 418b0c9..00fbafc 100644 --- a/test/regress.chk +++ b/test/regress.chk @@ -97,6 +97,7 @@ deheader: ./crypt.c includes <unistd.h> deheader: ./clock_getres.c includes <time.h> deheader: ./fchown.c includes <unistd.h> deheader: ./advance.c has requires <regexp.h> from advance() +deheader: ./advance.c has requires <stdio.h> from getc() deheader: ./advance.c includes <regexp.h> deheader: ./catopen.c has requires <nl_types.h> from catopen() deheader: ./catopen.c includes <nl_types.h> @@ -178,5 +179,7 @@ deheader: in ./chmod.c, retaining required '#include <sys/types.h>\n' deheader: in ./chown.c, retaining required '#include <unistd.h>\n' deheader: in ./chown.c, retaining required '#include <sys/types.h>\n' deheader: in ./advance.c, retaining required '#include <regexp.h>\n' +deheader: in ./advance.c, <stdio.h> is required for portability but not present. + deheader: ./clearerr.c without <stdio.h> failed (512). deheader: saw 57 files, 63 includes, 12 removed |