Changeset 2116


Ignore:
Timestamp:
Jun 30, 2005, 5:16:59 AM (20 years ago)
Author:
bird
Message:

...

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

Legend:

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

    • Property cvs2svn:cvs-rev changed from 1.9 to 1.10
    r2115 r2116  
    5252ifeq ($(TARGET),innoteklibc)
    5353SKIPPED    := \
     54        posix/bug-ga1.c \
     55        posix/bug-ga2.c \
     56        posix/test-vfork.c \
     57        \
     58        pwd/tst-getpw.c \
     59        \
    5460        stdio-common/tst-cookie.c \
    5561        stdio-common/tst-fmemopen.c \
     
    8894        time/tst-posixtz.c \
    8995        time/tst-strftime.c \
    90         stdlib/tst-bsearch.c \
    91         stdlib/tst-qsort.c \
    9296        stdlib/tst-putenv.c \
    9397        stdio-common/test-popen.c \
    9498        stdio-common/test-vfprintf.c \
    9599        stdio-common/tst-fphex.c \
    96     stdio-common/tstscanf.c
     100    stdio-common/tstscanf.c \
     101        resolv/tst-aton.c \
     102        posix/bug-glob1.c \
     103        posix/bug-glob2.c
    97104       
    98105# NOTES:       
     
    448455posix/tst-pcre.c_ARGS = posix/PCRE.tests
    449456posix/tst-boost.c_ARGS = posix/BOOST.tests
    450 posix/bug-glob1.c_ARGS = "$(OBJDIR)/posix/"
    451 posix/tst-execvp3.c_ARGS = --test-dir="$(OBJDIR)/posix/"
     457posix/bug-glob1.c_ARGS = "."
     458posix/tst-execvp3.c_ARGS = --test-dir="."
    452459       
    453460
     
    457464RESOLV := \
    458465        resolv/tst-aton.c \
    459         resolv/tst-leaks.c
     466        resolv/tst-leaks.c \
     467        resolv/tst-leaks2.c
     468ifeq ($(TARGET),glibc)
    460469resolv/tst-leaks.c_LDFLAGS = -lresolv
     470resolv/tst-leaks2.c_LDFLAGS = -lresolv
     471endif
    461472       
    462473RT :=  # todo
  • trunk/src/libctests/glibc/posix/bug-glob2.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2115 r2116  
    2323#include <dirent.h>
    2424#include <glob.h>
     25#ifdef HAVE_MCHECK_H
    2526#include <mcheck.h>
     27#endif
    2628#include <stdlib.h>
    2729#include <stdio.h>
     
    268270do_test (void)
    269271{
     272#ifdef HAVE_MCHECK_H
    270273  mtrace ();
     274#endif
    271275
    272276  glob_t gl;
     
    278282    {
    279283      puts ("glob did not fail with GLOB_ABORTED");
    280       exit (EXIT_FAILURE); 
     284      exit (EXIT_FAILURE);
    281285    }
    282286
     
    290294    {
    291295      puts ("glob did not fail with GLOB_NOMATCH");
    292       exit (EXIT_FAILURE); 
     296      exit (EXIT_FAILURE);
    293297    }
    294298
    295299  globfree (&gl);
    296300
     301#ifdef HAVE_MCHECK_H
    297302  muntrace ();
     303#endif
    298304
    299305  return 0;
  • trunk/src/libctests/glibc/posix/bug-regex1.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2115 r2116  
    1818
    1919  setlocale (LC_ALL, "de_DE.ISO-8859-1");
     20#ifdef HAVE_FWIDE
    2021  fwide (stdout, -1);
    2122
  • trunk/src/libctests/glibc/resolv/tst-leaks.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2115 r2116  
    2121#include <arpa/nameser.h>
    2222#include <resolv.h>
     23#ifdef HAVE_MCHECK_H
    2324#include <mcheck.h>
     25#endif
    2426
    2527/* Prototype for our test function.  */
     
    3537  unsigned char buf[256];
    3638
     39#ifdef HAVE_MCHECK_H
    3740  mtrace();
     41#endif
    3842
    3943  /* This will allocate some memory, which should be automatically
  • trunk/src/libctests/glibc/resolv/tst-leaks2.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2115 r2116  
    2020#undef gethostbyname
    2121
     22#ifdef HAVE_MCHECK_H
    2223#include <mcheck.h>
     24#endif
    2325#include <netdb.h>
    2426#include <resolv.h>
     
    2729do_test (void)
    2830{
     31#ifdef HAVE_MCHECK_H
    2932  mtrace ();
     33#endif
    3034  for (int i = 0; i < 20; ++i)
    3135    {
Note: See TracChangeset for help on using the changeset viewer.