return return atf_no_error() instead of 0 for consistency.
suggested by moritzbuhl in https://github.com/NetBSD/src/pull/11/
This commit is contained in:
parent
9aa9c78810
commit
36592171e1
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: snapshot.c,v 1.7 2013/02/06 09:05:01 hannken Exp $ */
|
||||
/* $NetBSD: snapshot.c,v 1.8 2019/07/09 16:24:01 maya Exp $ */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
@ -224,5 +224,5 @@ ATF_TP_ADD_TCS(tp)
|
|||
{
|
||||
ATF_TP_ADD_TC(tp, snapshot);
|
||||
ATF_TP_ADD_TC(tp, snapshotstress);
|
||||
return 0;
|
||||
return atf_no_error();
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: t_fifos.c,v 1.6 2017/01/13 21:30:39 christos Exp $ */
|
||||
/* $NetBSD: t_fifos.c,v 1.7 2019/07/09 16:24:01 maya Exp $ */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/mount.h>
|
||||
|
@ -154,5 +154,5 @@ ATF_TC_CLEANUP(fifos, tc)
|
|||
ATF_TP_ADD_TCS(tp)
|
||||
{
|
||||
ATF_TP_ADD_TC(tp, fifos);
|
||||
return 0;
|
||||
return atf_no_error();
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: t_pathconvert.c,v 1.6 2017/01/13 21:30:40 christos Exp $ */
|
||||
/* $NetBSD: t_pathconvert.c,v 1.7 2019/07/09 16:24:01 maya Exp $ */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/mount.h>
|
||||
|
@ -79,5 +79,5 @@ ATF_TC_BODY(colonslash, tc)
|
|||
ATF_TP_ADD_TCS(tp)
|
||||
{
|
||||
ATF_TP_ADD_TC(tp, colonslash);
|
||||
return 0;
|
||||
return atf_no_error();
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: t_pr.c,v 1.7 2017/01/13 21:30:40 christos Exp $ */
|
||||
/* $NetBSD: t_pr.c,v 1.8 2019/07/09 16:24:01 maya Exp $ */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/mount.h>
|
||||
|
@ -56,5 +56,5 @@ ATF_TP_ADD_TCS(tp)
|
|||
{
|
||||
|
||||
ATF_TP_ADD_TC(tp, mknod);
|
||||
return 0;
|
||||
return atf_no_error();
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: t_basic.c,v 1.5 2017/01/13 21:30:40 christos Exp $ */
|
||||
/* $NetBSD: t_basic.c,v 1.6 2019/07/09 16:24:01 maya Exp $ */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
|
@ -141,5 +141,5 @@ ATF_TC_BODY(basic, tc)
|
|||
ATF_TP_ADD_TCS(tp)
|
||||
{
|
||||
ATF_TP_ADD_TC(tp, basic);
|
||||
return 0; /*XXX?*/
|
||||
return atf_no_error();
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: t_db_hash_seq.c,v 1.2 2015/06/22 22:35:51 christos Exp $ */
|
||||
/* $NetBSD: t_db_hash_seq.c,v 1.3 2019/07/09 16:24:01 maya Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2015 The NetBSD Foundation, Inc.
|
||||
|
@ -29,7 +29,7 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: t_db_hash_seq.c,v 1.2 2015/06/22 22:35:51 christos Exp $");
|
||||
__RCSID("$NetBSD: t_db_hash_seq.c,v 1.3 2019/07/09 16:24:01 maya Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
|
@ -338,6 +338,6 @@ ATF_TP_ADD_TCS(tp)
|
|||
ATF_TP_ADD_TC(tp, test_hash_del_alt);
|
||||
ATF_TP_ADD_TC(tp, test_hash_del_every_7);
|
||||
|
||||
return 0;
|
||||
return atf_no_error();
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: t_listen.c,v 1.5 2017/01/13 20:41:50 christos Exp $ */
|
||||
/* $NetBSD: t_listen.c,v 1.6 2019/07/09 16:24:01 maya Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
|
@ -132,5 +132,5 @@ ATF_TP_ADD_TCS(tp)
|
|||
ATF_TP_ADD_TC(tp, listen_err);
|
||||
ATF_TP_ADD_TC(tp, listen_low_port);
|
||||
|
||||
return 0;
|
||||
return atf_no_error();
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: t_condwait.c,v 1.5 2017/01/16 16:29:19 christos Exp $ */
|
||||
/* $NetBSD: t_condwait.c,v 1.6 2019/07/09 16:24:01 maya Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2013 The NetBSD Foundation, Inc.
|
||||
|
@ -26,7 +26,7 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: t_condwait.c,v 1.5 2017/01/16 16:29:19 christos Exp $");
|
||||
__RCSID("$NetBSD: t_condwait.c,v 1.6 2019/07/09 16:24:01 maya Exp $");
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <errno.h>
|
||||
|
@ -141,5 +141,5 @@ ATF_TP_ADD_TCS(tp)
|
|||
{
|
||||
ATF_TP_ADD_TC(tp, cond_wait_real);
|
||||
ATF_TP_ADD_TC(tp, cond_wait_mono);
|
||||
return 0;
|
||||
return atf_no_error();
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: t_dlerror-cleared.c,v 1.2 2017/01/13 21:30:42 christos Exp $ */
|
||||
/* $NetBSD: t_dlerror-cleared.c,v 1.3 2019/07/09 16:24:01 maya Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 The NetBSD Foundation, Inc.
|
||||
|
@ -63,5 +63,5 @@ ATF_TC_BODY(rtld_dlerror_cleared, tc)
|
|||
ATF_TP_ADD_TCS(tp)
|
||||
{
|
||||
ATF_TP_ADD_TC(tp, rtld_dlerror_cleared);
|
||||
return 0;
|
||||
return atf_no_error();
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: t_dlinfo.c,v 1.5 2017/01/13 21:30:42 christos Exp $ */
|
||||
/* $NetBSD: t_dlinfo.c,v 1.6 2019/07/09 16:24:01 maya Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 The NetBSD Foundation, Inc.
|
||||
|
@ -116,5 +116,5 @@ ATF_TP_ADD_TCS(tp)
|
|||
ATF_TP_ADD_TC(tp, rtld_dlinfo_linkmap_inval);
|
||||
ATF_TP_ADD_TC(tp, rtld_dlinfo_linkmap_dlopen);
|
||||
ATF_TP_ADD_TC(tp, rtld_dlinfo_linkmap_dlopen_iter);
|
||||
return 0;
|
||||
return atf_no_error();
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: t_ifunc.c,v 1.8 2018/03/09 20:15:03 joerg Exp $ */
|
||||
/* $NetBSD: t_ifunc.c,v 1.9 2019/07/09 16:24:01 maya Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2014 The NetBSD Foundation, Inc.
|
||||
|
@ -192,5 +192,5 @@ ATF_TP_ADD_TCS(tp)
|
|||
ATF_TP_ADD_TC(tp, rtld_ifunc);
|
||||
ATF_TP_ADD_TC(tp, rtld_hidden_ifunc);
|
||||
ATF_TP_ADD_TC(tp, rtld_main_ifunc);
|
||||
return 0;
|
||||
return atf_no_error();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue