summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-01-13 13:41:50 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-01-13 13:41:50 -0500
commit06e016176040d31b917dd5c875ae492823535c82 (patch)
treebd8d430c81dddd2e6e23b7da6a20ae59f280693b
parente6c881f4cc3e3274bbcb3b6345b18f66dac9164e (diff)
downloaddeheader-06e016176040d31b917dd5c875ae492823535c82.tar.gz
deheader-06e016176040d31b917dd5c875ae492823535c82.tar.bz2
deheader-06e016176040d31b917dd5c875ae492823535c82.tar.xz
deheader-06e016176040d31b917dd5c875ae492823535c82.zip
Six more tests, and a regression rebuild forced by verbosity changes.
-rwxr-xr-xdeheader10
-rw-r--r--test/regress.chk59
2 files changed, 67 insertions, 2 deletions
diff --git a/deheader b/deheader
index 111cab0..f6df086 100755
--- a/deheader
+++ b/deheader
@@ -224,15 +224,23 @@ requirements = (
(r"fcvt()", ["<stdlib.h>"]),
(r"gcvt()", ["<stdlib.h>"]),
# encrypt - encoding function
- (r"encrypt()", ["<unistd.h>"]),
+ (r"encrypt()", ["<unistd.h>"]),
# endgrent, getgrent, setgrent - group database entry functions
(r"endgrent()", ["<grp.h>"]),
(r"getgrent()", ["<grp.h>"]),
(r"setgrent()", ["<grp.h>"]),
+ (r"getgrnam()", ["<grp.h>"]),
+ (r"getgrgid()", ["<grp.h>"]),
+ (r"getgrnam_r()", ["<grp.h>"]),
+ (r"getgrgid_r()", ["<grp.h>"]),
# endpwent, getpwent, setpwent - user database functions
(r"endpwent()", ["<pwd.h>"]),
(r"getpwent()", ["<pwd.h>"]),
(r"setpwent()", ["<pwd.h>"]),
+ (r"getpwnam()", ["<pwd.h>"]),
+ (r"getpwuid()", ["<pwd.h>"]),
+ (r"getpwnam_r()", ["<pwd.h>"]),
+ (r"getpwuid_r()", ["<pwd.h>"]),
# endutxent, getutxent, getutxid, getutxline, pututxline, setutxent - user accounting database functions
(r"endutxent()", ["<utmpx.h>"]),
(r"getutxent()", ["<utmpx.h>"]),
diff --git a/test/regress.chk b/test/regress.chk
index a2ec3dd..7708625 100644
--- a/test/regress.chk
+++ b/test/regress.chk
@@ -66,73 +66,130 @@ deheader: ./catopen.c includes <nl_types.h>
deheader: ./close.c includes <unistd.h>
deheader: ./atan2.c includes <math.h>
deheader: ./catclose.c includes <nl_types.h>
+deheader: ./clock_getres.c succeeded.
deheader: in ./clock_getres.c, clock_getres() prevents uninclusion of <time.h>
+deheader: ./noheaders.c succeeded.
+deheader: ./asin.c succeeded.
deheader: in ./asin.c, asin() prevents uninclusion of <math.h>
+deheader: ./cbrt.c succeeded.
deheader: in ./cbrt.c, cbrt() prevents uninclusion of <math.h>
+deheader: ./acos.c succeeded.
deheader: in ./acos.c, acos() prevents uninclusion of <math.h>
+deheader: ./clock_gettime.c succeeded.
deheader: in ./clock_gettime.c, clock_gettime() prevents uninclusion of <time.h>
+deheader: ./catopen.c succeeded.
deheader: in ./catopen.c, catopen() prevents uninclusion of <nl_types.h>
+deheader: ./brk.c succeeded.
deheader: in ./brk.c, brk() prevents uninclusion of <unistd.h>
+deheader: ./atan2.c succeeded.
deheader: in ./atan2.c, atan2() prevents uninclusion of <math.h>
+deheader: ./string.c succeeded.
deheader: ./string.c without <string.h> succeeded.
deheader: remove <string.h> from ./string.c
+deheader: ./bsort.c succeeded.
deheader: in ./bsort.c, bsort() prevents uninclusion of <stdlib.h>
deheader: in ./bsort.c, strcoll() portability requires <string.h>.
deheader: in ./bsort.c, scanf() portability requires <stdio.h>.
+deheader: ./cfgetospeed.c succeeded.
deheader: in ./cfgetospeed.c, cfgetospeed() prevents uninclusion of <termios.h>
+deheader: ./catclose.c succeeded.
deheader: in ./catclose.c, catclose() prevents uninclusion of <nl_types.h>
+deheader: ./cfgetispeed.c succeeded.
deheader: in ./cfgetispeed.c, cfgetispeed() prevents uninclusion of <termios.h>
+deheader: ./closedir.c succeeded.
deheader: in ./closedir.c, closedir() prevents uninclusion of <dirent.h>
deheader: in ./closedir.c, closedir() prevents uninclusion of <sys/types.h>
+deheader: ./ceil.c succeeded.
deheader: in ./ceil.c, ceil() prevents uninclusion of <math.h>
+deheader: ./bsd_signal.c succeeded.
deheader: in ./bsd_signal.c, bsd_signal() prevents uninclusion of <signal.h>
+deheader: ./abs.c succeeded.
deheader: in ./abs.c, abs() prevents uninclusion of <stdlib.h>
+deheader: ./basename.c succeeded.
deheader: in ./basename.c, basename() prevents uninclusion of <libgen.h>
+deheader: ./ctime.c succeeded.
deheader: in ./ctime.c, ctime() prevents uninclusion of <time.h>
+deheader: ./cfsetospeed.c succeeded.
deheader: in ./cfsetospeed.c, cfsetospeed() prevents uninclusion of <termios.h>
+deheader: ./abort.c succeeded.
deheader: in ./abort.c, abort() prevents uninclusion of <stdlib.h>
+deheader: ./atan.c succeeded.
deheader: in ./atan.c, atan() prevents uninclusion of <math.h>
+deheader: ./clock_settime.c succeeded.
deheader: in ./clock_settime.c, clock_settime() prevents uninclusion of <time.h>
+deheader: ./duplicate.c succeeded.
deheader: ./duplicate.c without <stdio.h> succeeded.
deheader: ./duplicate.c without <stdio.h> succeeded.
deheader: remove <stdio.h> from ./duplicate.c
deheader: remove <stdio.h> from ./duplicate.c
+deheader: ./chdir.c succeeded.
deheader: in ./chdir.c, chdir() prevents uninclusion of <unistd.h>
+deheader: ./fstat.c succeeded.
deheader: in ./fstat.c, fstat() prevents uninclusion of <sys/types.h>
deheader: in ./fstat.c, fstat() prevents uninclusion of <sys/stat.h>
+deheader: ./atanh.c succeeded.
deheader: in ./atanh.c, atanh() prevents uninclusion of <math.h>
+deheader: ./close.c succeeded.
deheader: in ./close.c, close() prevents uninclusion of <unistd.h>
+deheader: ./bcopy.c succeeded.
deheader: in ./bcopy.c, bcopy() prevents uninclusion of <strings.h>
+deheader: ./crypt.c succeeded.
deheader: in ./crypt.c, crypt() prevents uninclusion of <unistd.h>
+deheader: ./cfsetispeed.c succeeded.
deheader: in ./cfsetispeed.c, cfsetispeed() prevents uninclusion of <termios.h>
+deheader: ./fchmod.c succeeded.
deheader: in ./fchmod.c, fchmod() prevents uninclusion of <sys/stat.h>
+deheader: ./atof.c succeeded.
deheader: in ./atof.c, l64a() prevents uninclusion of <stdlib.h>
+deheader: ./chroot.c succeeded.
deheader: in ./chroot.c, chroot() prevents uninclusion of <unistd.h>
+deheader: ./atol.c succeeded.
deheader: in ./atol.c, l64a() prevents uninclusion of <stdlib.h>
+deheader: ./atoi.c succeeded.
deheader: in ./atoi.c, l64a() prevents uninclusion of <stdlib.h>
+deheader: ./asinh.c succeeded.
deheader: in ./asinh.c, asinh() prevents uninclusion of <math.h>
+deheader: ./alarm.c succeeded.
deheader: in ./alarm.c, alarm() prevents uninclusion of <unistd.h>
+deheader: ./sbrk.c succeeded.
deheader: in ./sbrk.c, sbrk() prevents uninclusion of <unistd.h>
+deheader: ./fclose.c succeeded.
deheader: in ./fclose.c, fclose() prevents uninclusion of <stdio.h>
+deheader: ./umask.c succeeded.
deheader: in ./umask.c, umask() prevents uninclusion of <sys/types.h>
deheader: in ./umask.c, umask() prevents uninclusion of <sys/stat.h>
+deheader: ./calloc.c succeeded.
deheader: in ./calloc.c, calloc() prevents uninclusion of <stdlib.h>
+deheader: ./atexit.c succeeded.
deheader: in ./atexit.c, atexit() prevents uninclusion of <stdlib.h>
+deheader: ./bzero.c succeeded.
deheader: in ./bzero.c, bzero() prevents uninclusion of <strings.h>
+deheader: ./access.c succeeded.
deheader: in ./access.c, access() prevents uninclusion of <unistd.h>
+deheader: ./fchown.c succeeded.
deheader: in ./fchown.c, fchown() prevents uninclusion of <unistd.h>
+deheader: ./btowc.c succeeded.
deheader: in ./btowc.c, btowc() prevents uninclusion of <wchar.h>
deheader: in ./btowc.c, btowc() prevents uninclusion of <stdio.h>
+deheader: ./clock.c succeeded.
deheader: in ./clock.c, clock() prevents uninclusion of <time.h>
+deheader: ./acosh.c succeeded.
deheader: in ./acosh.c, acosh() prevents uninclusion of <math.h>
+deheader: ./catgets.c succeeded.
deheader: in ./catgets.c, catgets() prevents uninclusion of <nl_types.h>
+deheader: ./bcmp.c succeeded.
deheader: in ./bcmp.c, bcmp() prevents uninclusion of <strings.h>
+deheader: ./a64l.c succeeded.
deheader: in ./a64l.c, a64l() prevents uninclusion of <stdlib.h>
+deheader: ./chmod.c succeeded.
deheader: in ./chmod.c, chmod() prevents uninclusion of <sys/stat.h>
deheader: in ./chmod.c, chmod() prevents uninclusion of <sys/types.h>
+deheader: ./chown.c succeeded.
deheader: in ./chown.c, chown() prevents uninclusion of <unistd.h>
deheader: in ./chown.c, chown() prevents uninclusion of <sys/types.h>
+deheader: ./advance.c succeeded.
deheader: in ./advance.c, advance() prevents uninclusion of <regexp.h>
deheader: in ./advance.c, getc() portability requires <stdio.h>.
+deheader: ./clearerr.c succeeded.
deheader: in ./clearerr.c, clearerr() prevents uninclusion of <stdio.h>
-deheader: saw 57 files, 63 includes, 3 removed
+deheader: saw 57 files, 63 includes, 3 removable