Put the atexit test where it belongs - in libc/stdlib/
This commit is contained in:
parent
0312c5cee5
commit
6fdb369dfe
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.30 2011/01/12 17:32:27 pgoyette Exp $
|
# $NetBSD: Makefile,v 1.31 2011/01/12 19:44:07 pgoyette Exp $
|
||||||
|
|
||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
.include <bsd.sys.mk>
|
.include <bsd.sys.mk>
|
||||||
|
@ -24,13 +24,11 @@ TESTS_C+= t_ptm
|
||||||
TESTS_C+= t_randomid
|
TESTS_C+= t_randomid
|
||||||
TESTS_C+= t_strptime
|
TESTS_C+= t_strptime
|
||||||
|
|
||||||
TESTS_SH+= t_atexit
|
|
||||||
TESTS_SH+= t_nsdispatch
|
TESTS_SH+= t_nsdispatch
|
||||||
|
|
||||||
BINDIR= ${TESTSDIR}
|
BINDIR= ${TESTSDIR}
|
||||||
MKMAN= no
|
MKMAN= no
|
||||||
|
|
||||||
PROGS+= h_atexit
|
|
||||||
PROGS+= h_nsd_recurse
|
PROGS+= h_nsd_recurse
|
||||||
|
|
||||||
LDADD.h_nsd_recurse+= -lpthread
|
LDADD.h_nsd_recurse+= -lpthread
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.7 2011/01/01 23:56:49 pgoyette Exp $
|
# $NetBSD: Makefile,v 1.8 2011/01/12 19:44:08 pgoyette Exp $
|
||||||
|
|
||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
|
@ -11,12 +11,14 @@ TESTS_C+= t_mi_vector_hash
|
||||||
TESTS_C+= t_posix_memalign
|
TESTS_C+= t_posix_memalign
|
||||||
TESTS_C+= t_strtox
|
TESTS_C+= t_strtox
|
||||||
|
|
||||||
|
TESTS_SH+= t_atexit
|
||||||
TESTS_SH+= t_getopt
|
TESTS_SH+= t_getopt
|
||||||
|
|
||||||
MKMAN=no
|
MKMAN=no
|
||||||
|
|
||||||
BINDIR= ${TESTSDIR}
|
BINDIR= ${TESTSDIR}
|
||||||
|
|
||||||
|
PROGS+= h_atexit
|
||||||
PROGS+= h_getopt h_getopt_long
|
PROGS+= h_getopt h_getopt_long
|
||||||
|
|
||||||
LDADD.t_environment_pth= -pthread
|
LDADD.t_environment_pth= -pthread
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: h_atexit.c,v 1.1 2011/01/03 19:01:47 pgoyette Exp $ */
|
/* $NetBSD: h_atexit.c,v 1.1 2011/01/12 19:44:08 pgoyette Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2011 The NetBSD Foundation, Inc.
|
* Copyright (c) 2011 The NetBSD Foundation, Inc.
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__COPYRIGHT("@(#) Copyright (c) 2011\
|
__COPYRIGHT("@(#) Copyright (c) 2011\
|
||||||
The NetBSD Foundation, inc. All rights reserved.");
|
The NetBSD Foundation, inc. All rights reserved.");
|
||||||
__RCSID("$NetBSD: h_atexit.c,v 1.1 2011/01/03 19:01:47 pgoyette Exp $");
|
__RCSID("$NetBSD: h_atexit.c,v 1.1 2011/01/12 19:44:08 pgoyette Exp $");
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: t_atexit.sh,v 1.1 2011/01/03 19:01:47 pgoyette Exp $
|
# $NetBSD: t_atexit.sh,v 1.1 2011/01/12 19:44:08 pgoyette Exp $
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 The NetBSD Foundation, Inc.
|
# Copyright (c) 2011 The NetBSD Foundation, Inc.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
Loading…
Reference in New Issue