Changeset 2137 for trunk


Ignore:
Timestamp:
Jul 1, 2005, 6:36:50 AM (20 years ago)
Author:
bird
Message:

More libc.

Location:
trunk/src/libctests/glibc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libctests/glibc/Makefile

    • Property cvs2svn:cvs-rev changed from 1.11 to 1.12
    r2136 r2137  
    4646        -DHAVE_NEWLOCALE \
    4747        -DHAVE_64BIT_FILEIO_TYPES \
    48         -DHAVE_SWPRINTF
     48        -DHAVE_SWPRINTF \
     49        -DHAVE_RPC_NETDB_H
    4950endif
    5051
    5152ifeq ($(TARGET),innoteklibc)
    5253SKIPPED    := \
     54        \
     55        misc/tst-efgcvt.c \
     56        misc/tst-mntent.c \
     57        \
     58        nss/bug-erange.c \
     59        \
    5360        posix/bug-ga1.c \
    5461        posix/bug-ga2.c \
     
    138145        posix/tst-dir.c \
    139146        posix/tst-fnmatch.c     \
    140         posix/tst-pcre.c
     147        posix/tst-pcre.c \
     148        misc/tst-tsearch.c
    141149       
    142150# NOTES:       
     
    148156# posix/testfnm.c:                                      This looks bad!
    149157# posix/tst-fnmatch.c:                          This too!
     158# misc/tst-tsearch.c:                           This really needs looking at on BSD.
    150159       
    151160CFLAGS     += -Zomf -g -I sysdeps/os2 \
  • trunk/src/libctests/glibc/misc/tst-tsearch.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2136 r2137  
    151151#endif
    152152    {
    153       fputs ("Depth too large during tree walk.\n", stdout);
     153      printf ("Depth too large during tree walk. max_depth=%d expected_count=%d (%d)\n",
     154             max_depth, expected_count, log (expected_count) * 2 + 2);
    154155      error = 1;
    155156    }
  • trunk/src/libctests/glibc/nss/test-netdb.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2136 r2137  
    3232
    3333#include <netdb.h>
     34#ifdef HAVE_RPC_NETDB_H
    3435#include <rpc/netdb.h>
     36#endif
    3537#include <stdio.h>
    3638#include <stdlib.h>
     
    302304
    303305
     306#ifdef HAVE_RPC_NETDB_H
    304307static void
    305308output_rpcent (const char *call, struct rpcent *rptr)
     
    338341  endrpcent ();
    339342}
    340 
     343#endif
     344
     345#if 0  /* not very useful when you don't have this function... */
    341346/* Override /etc/nsswitch.conf for this program.  This is mainly
    342347   useful for developers. */
     
    356361  __nss_configure_lookup ("services", dbname);
    357362}
    358 
     363#endif
    359364
    360365int
     
    368373  test_network ();
    369374  test_protocols ();
     375#ifdef HAVE_RPC_NETDB_H
    370376  test_rpc ();
     377#endif
    371378  test_services ();
    372379
Note: See TracChangeset for help on using the changeset viewer.