summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-20 19:01:35 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-20 19:01:35 -0500
commit641b0d18d0d403ac01459662c0501219e548c15e (patch)
tree9e5f8d2ac6d2fceca5cd125f38eb4811fffa3565
parent1c91bcc0f7e1e30605a9473777ce0a7f627fbc45 (diff)
downloaddeheader-641b0d18d0d403ac01459662c0501219e548c15e.tar.gz
deheader-641b0d18d0d403ac01459662c0501219e548c15e.tar.bz2
deheader-641b0d18d0d403ac01459662c0501219e548c15e.tar.xz
deheader-641b0d18d0d403ac01459662c0501219e548c15e.zip
Many more tests. All regressions pass.
-rwxr-xr-xdeheader19
-rw-r--r--test/README14
2 files changed, 29 insertions, 4 deletions
diff --git a/deheader b/deheader
index 1a1651c..dfc692d 100755
--- a/deheader
+++ b/deheader
@@ -157,6 +157,25 @@ requirements = (
(r"fseeko()", ["<stdio.h>"]),
(r"fsetpos()", ["<stdio.h>"]),
(r"fstat()", ["<sys/types.h>", "<sys/stat.h>"]),
+ (r"fstatvfs()", ["<sys/fstatvfs.h>"]),
+ (r"statvfs()", ["<sys/fstatvfs.h>"]),
+ (r"fsync()", ["<unistd.h>"]),
+ (r"ftell()", ["<stdio.h>"]),
+ (r"ftello()", ["<stdio.h>"]),
+ (r"ftime()", ["<sys/timeb.h>"]),
+ (r"ftok()", ["<sys/ipc.h>"]),
+ (r"truncate()", ["<unistd.h>"]),
+ (r"ftruncate()", ["<unistd.h>"]),
+ (r"ftw()", ["<ftw.h>"]),
+ (r"nftw()", ["<ftw.h>"]),
+ (r"fwide()", ["<stdio.h>", "<wchar.h>"]),
+ (r"fwprintf()", ["<stdio.h>", "<wchar.h>"]),
+ (r"wprintf()", ["<stdio.h>", "<wchar.h>"]),
+ (r"swprintf()", ["<stdio.h>", "<wchar.h>"]),
+ (r"fwrite()", ["<stdio.h>"]),
+ (r"fwscanf()", ["<stdio.h>", "<wchar.h>"]),
+ (r"wscanf()", ["<stdio.h>", "<wchar.h>"]),
+ (r"swscanf()", ["<stdio.h>", "<wchar.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 646456c..00d7c31 100644
--- a/test/README
+++ b/test/README
@@ -34,14 +34,20 @@ stropts.h - fattach(), fdetach() not tested
time.h - FD_* macros are not tested
strings.h - ffs() not tested.
stdio.h - fgetpos(), fgets(), fileno(), f*lockfile(), fopen(), not tested.
-wchar.h - fgetwc(), fgetws() not tested.
+wchar.h - fgetwc(), fgetws(), fwide() not tested.
fmtmsg.h - fmtmsg() not tested.
fnmatch.h - fnmatch() not tested.
-unistd.h - fork(), fpathconf(), free() not tested.
-stdio.h - *printf*, fputc(), fputwc(), fputws(), fread() 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() not tested.
+stdio.h - fsetpos(), ftell(), ftello() not tested.
math.h - frexp() 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.
For other dependencies not tested, see the commented-out lines in deheader's
dependency table.