Move 't_syslog_pthread' to 't_syslog' for consistency with libc.
This commit is contained in:
parent
9a514225a1
commit
1b9f2dc9c1
@ -1,4 +1,4 @@
|
||||
# $NetBSD: mi,v 1.368 2011/07/07 08:59:30 jruoho Exp $
|
||||
# $NetBSD: mi,v 1.369 2011/07/07 10:02:52 jruoho Exp $
|
||||
#
|
||||
# Note: don't delete entries from here - mark them as "obsolete" instead.
|
||||
#
|
||||
@ -372,7 +372,8 @@
|
||||
./usr/libdata/debug/usr/tests/lib/libc/gen/t_setdomainname.debug tests-lib-debug debug,atf
|
||||
./usr/libdata/debug/usr/tests/lib/libc/gen/t_sethostname.debug tests-lib-debug debug,atf
|
||||
./usr/libdata/debug/usr/tests/lib/libc/gen/t_siginfo.debug tests-lib-debug debug,atf
|
||||
./usr/libdata/debug/usr/tests/lib/libc/gen/t_syslog_pthread.debug tests-lib-debug debug,atf
|
||||
./usr/libdata/debug/usr/tests/lib/libc/gen/t_syslog.debug tests-lib-debug debug,atf
|
||||
./usr/libdata/debug/usr/tests/lib/libc/gen/t_syslog_pthread.debug tests-obsolete obsolete
|
||||
./usr/libdata/debug/usr/tests/lib/libc/gen/t_ttyname.debug tests-lib-debug debug,atf
|
||||
./usr/libdata/debug/usr/tests/lib/libc/gen/t_vis.debug tests-lib-debug debug,atf
|
||||
./usr/libdata/debug/usr/tests/lib/libc/getaddrinfo tests-obsolete obsolete
|
||||
@ -1872,7 +1873,8 @@
|
||||
./usr/tests/lib/libc/gen/t_setdomainname tests-lib-tests atf
|
||||
./usr/tests/lib/libc/gen/t_sethostname tests-lib-tests atf
|
||||
./usr/tests/lib/libc/gen/t_siginfo tests-lib-tests atf
|
||||
./usr/tests/lib/libc/gen/t_syslog_pthread tests-lib-tests atf
|
||||
./usr/tests/lib/libc/gen/t_syslog tests-lib-tests atf
|
||||
./usr/tests/lib/libc/gen/t_syslog_pthread tests-obsolete obsolete
|
||||
./usr/tests/lib/libc/gen/t_ttyname tests-lib-tests atf
|
||||
./usr/tests/lib/libc/gen/t_vis tests-lib-tests atf
|
||||
./usr/tests/lib/libc/getaddrinfo tests-obsolete obsolete
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.26 2011/06/14 05:25:21 jruoho Exp $
|
||||
# $NetBSD: Makefile,v 1.27 2011/07/07 10:02:53 jruoho Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -22,12 +22,12 @@ TESTS_C+= t_randomid
|
||||
TESTS_C+= t_setdomainname
|
||||
TESTS_C+= t_sethostname
|
||||
TESTS_C+= t_siginfo
|
||||
TESTS_C+= t_syslog_pthread
|
||||
TESTS_C+= t_syslog
|
||||
TESTS_C+= t_ttyname
|
||||
TESTS_C+= t_vis
|
||||
|
||||
LDADD.t_ldexp+= -lm
|
||||
LDADD.t_nice+= -lpthread
|
||||
LDADD.t_syslog_pthread+=-lpthread
|
||||
LDADD.t_syslog+= -lpthread
|
||||
|
||||
.include <bsd.test.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: t_syslog_pthread.c,v 1.3 2011/07/07 09:49:59 jruoho Exp $ */
|
||||
/* $NetBSD: t_syslog.c,v 1.1 2011/07/07 10:02:53 jruoho Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2010 The NetBSD Foundation, Inc.
|
||||
@ -44,8 +44,10 @@ ATF_TC_HEAD(syslog_pthread, tc)
|
||||
ATF_TC_BODY(syslog_pthread, tc)
|
||||
{
|
||||
|
||||
//atf_tc_expect_timeout("PR lib/44248");
|
||||
syslog(LOG_DEBUG, "from tests/lib/libc/gen/t_syslog_pthread");
|
||||
/*
|
||||
* See the old PR lib/44248; syslog(3) fails with pthread(3).
|
||||
*/
|
||||
syslog(LOG_DEBUG, "from tests/lib/libc/gen/t_syslog");
|
||||
}
|
||||
|
||||
ATF_TP_ADD_TCS(tp)
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: t_vis.c,v 1.2 2011/03/12 19:52:48 christos Exp $ */
|
||||
/* $NetBSD: t_vis.c,v 1.3 2011/07/07 10:02:53 jruoho Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
@ -53,15 +53,14 @@ static int styles[] = {
|
||||
|
||||
#define SIZE 256
|
||||
|
||||
ATF_TC(vis);
|
||||
|
||||
ATF_TC_HEAD(vis, tc)
|
||||
ATF_TC(strvis_basic);
|
||||
ATF_TC_HEAD(strvis_basic, tc)
|
||||
{
|
||||
|
||||
atf_tc_set_md_var(tc, "descr", "Test strvis(3)");
|
||||
}
|
||||
|
||||
ATF_TC_BODY(vis, tc)
|
||||
ATF_TC_BODY(strvis_basic, tc)
|
||||
{
|
||||
char *srcbuf, *dstbuf, *visbuf;
|
||||
unsigned int i, j;
|
||||
@ -86,7 +85,7 @@ ATF_TC_BODY(vis, tc)
|
||||
ATF_TP_ADD_TCS(tp)
|
||||
{
|
||||
|
||||
ATF_TP_ADD_TC(tp, vis);
|
||||
ATF_TP_ADD_TC(tp, strvis_basic);
|
||||
|
||||
return atf_no_error();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user