From de17eec4940b2cd1a2b5b0d83a81c76ba50ef8db Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 20 Dec 2010 12:44:34 -0500 Subject: More tests, mostly in stdio.h. --- test/README | 9 +++++---- test/regress.chk | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/README b/test/README index 936785f..2d95305 100644 --- a/test/README +++ b/test/README @@ -15,9 +15,9 @@ time.h - asctime() and asctime_r() assert.h - assert() macro syslog.h - closelog(), openlog(), setlogmask(), syslog() rexgexp.h - advance() is tested, compile() is not. -unistd.h - confstr(), exec*(), fchdir() not tested. +unistd.h - confstr(), exec*(), fchdir(), fdatasync() not tested. math.h - cos(), cosh(): these will need . -stdio.h - ctermid() not tested; SuS includes +stdio.h - ctermid(), fdopen(), feof(), ferror(), fflush(), fgetc() not tested. time.h - ctime_r(), difftime(), and daylight are not tested, but ctime() is. ctype.h - not tested; all the macro defs would be unresolved. stdio.h - cuserid() not tested; SuS includes @@ -29,9 +29,10 @@ dlfcn.h - dlclose(), dlerror(), dlopen(), dlsym() not tested grp.h - functions not tested, getgrent() depends omn pwd.h - functions not tested, getpwent() depends omn utmpx.h - functions not tested, most depend on -math.h - erf(), erfc(), exp(), expm1(), fabs() not tested. -stropts.h - fattach() not tested +math.h - erf(), erfc(), exp(), expm1(), fabs(), floor() not tested. +stropts.h - fattach(), fdetach() not tested time.h - FD_* macros are not tested +strings.h - ffs() 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 b411272..b1533f4 100644 --- a/test/regress.chk +++ b/test/regress.chk @@ -46,6 +46,7 @@ deheader: ./cfsetispeed.c has requires from cfsetispeed() deheader: ./cfsetispeed.c includes deheader: ./sbrk.c includes deheader: ./ctime.c includes +deheader: ./fclose.c has requires from fclose() deheader: ./fclose.c includes deheader: ./alarm.c includes deheader: ./cfgetospeed.c has requires from cfgetospeed() @@ -152,7 +153,7 @@ deheader: ./alarm.c without succeeded. deheader: remove from ./alarm.c deheader: ./sbrk.c without succeeded. deheader: remove from ./sbrk.c -deheader: ./fclose.c without failed (512). +deheader: in ./fclose.c, retaining required '#include \n' deheader: in ./umask.c, retaining required '#include \n' deheader: in ./umask.c, retaining required '#include \n' deheader: in ./calloc.c, retaining required '#include \n' -- cgit v1.2.3-70-g09d2