Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/include/sys Make types_signed/types_unsigned testcases...
details: https://anonhg.NetBSD.org/src/rev/950bfbd09282
branches: trunk
changeset: 767209:950bfbd09282
user: njoly <njoly%NetBSD.org@localhost>
date: Mon Jul 11 16:12:56 2011 +0000
description:
Make types_signed/types_unsigned testcases use ATF_CHECK instead of
ATF_REQUIRE.
diffstat:
tests/include/sys/t_types.c | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diffs (58 lines):
diff -r 179193903e7b -r 950bfbd09282 tests/include/sys/t_types.c
--- a/tests/include/sys/t_types.c Mon Jul 11 15:59:56 2011 +0000
+++ b/tests/include/sys/t_types.c Mon Jul 11 16:12:56 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_types.c,v 1.1 2011/05/05 05:24:45 jruoho Exp $ */
+/* $NetBSD: t_types.c,v 1.2 2011/07/11 16:12:56 njoly Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_types.c,v 1.1 2011/05/05 05:24:45 jruoho Exp $");
+__RCSID("$NetBSD: t_types.c,v 1.2 2011/07/11 16:12:56 njoly Exp $");
#include <sys/types.h>
@@ -99,11 +99,11 @@
pid = 0;
size = 0;
- ATF_REQUIRE((bc - 1) <= 0);
- ATF_REQUIRE((bs - 1) <= 0);
- ATF_REQUIRE((off - 1) <= 0);
- ATF_REQUIRE((pid - 1) <= 0);
- ATF_REQUIRE((size - 1) <= 0);
+ ATF_CHECK((bc - 1) <= 0);
+ ATF_CHECK((bs - 1) <= 0);
+ ATF_CHECK((off - 1) <= 0);
+ ATF_CHECK((pid - 1) <= 0);
+ ATF_CHECK((size - 1) <= 0);
}
ATF_TC(types_unsigned);
@@ -125,17 +125,17 @@
ino = 0;
size = 0;
- ATF_REQUIRE((fb - 1) > 0);
- ATF_REQUIRE((ff - 1) > 0);
- ATF_REQUIRE((ino - 1) > 0);
- ATF_REQUIRE((size - 1) > 0);
+ ATF_CHECK((fb - 1) > 0);
+ ATF_CHECK((ff - 1) > 0);
+ ATF_CHECK((ino - 1) > 0);
+ ATF_CHECK((size - 1) > 0);
/*
* Test also rlim_t; PR standards/18067.
*/
lim = 0;
- ATF_REQUIRE((lim - 1) > 0);
+ ATF_CHECK((lim - 1) > 0);
}
ATF_TP_ADD_TCS(tp)
Home |
Main Index |
Thread Index |
Old Index