Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/kernel unexpand
details: https://anonhg.NetBSD.org/src/rev/48bce6ab3ce2
branches: trunk
changeset: 999134:48bce6ab3ce2
user: christos <christos%NetBSD.org@localhost>
date: Tue May 21 04:10:20 2019 +0000
description:
unexpand
diffstat:
tests/kernel/gen_t_subr_prf | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diffs (76 lines):
diff -r bccae83cfc35 -r 48bce6ab3ce2 tests/kernel/gen_t_subr_prf
--- a/tests/kernel/gen_t_subr_prf Tue May 21 04:09:46 2019 +0000
+++ b/tests/kernel/gen_t_subr_prf Tue May 21 04:10:20 2019 +0000
@@ -23,7 +23,7 @@
#undef putchar
#define putchar xputchar
-#define kmem_alloc(n, f) malloc(n)
+#define kmem_alloc(n, f) malloc(n)
static int putchar(char c, int foo, void *b)
{
@@ -57,7 +57,7 @@
ATF_TC(snprintf_print);
ATF_TC_HEAD(snprintf_print, tc)
{
- atf_tc_set_md_var(tc, "descr", "checks snprintf print");
+ atf_tc_set_md_var(tc, "descr", "checks snprintf print");
}
ATF_TC_BODY(snprintf_print, tc)
@@ -74,7 +74,7 @@
ATF_TC(snprintf_print_overflow);
ATF_TC_HEAD(snprintf_print_overflow, tc)
{
- atf_tc_set_md_var(tc, "descr", "checks snprintf print with overflow");
+ atf_tc_set_md_var(tc, "descr", "checks snprintf print with overflow");
}
ATF_TC_BODY(snprintf_print_overflow, tc)
@@ -91,7 +91,7 @@
ATF_TC(snprintf_count);
ATF_TC_HEAD(snprintf_count, tc)
{
- atf_tc_set_md_var(tc, "descr", "checks snprintf count");
+ atf_tc_set_md_var(tc, "descr", "checks snprintf count");
}
ATF_TC_BODY(snprintf_count, tc)
@@ -105,7 +105,7 @@
ATF_TC(snprintf_count_overflow);
ATF_TC_HEAD(snprintf_count_overflow, tc)
{
- atf_tc_set_md_var(tc, "descr", "checks snprintf count with overflow");
+ atf_tc_set_md_var(tc, "descr", "checks snprintf count with overflow");
}
ATF_TC_BODY(snprintf_count_overflow, tc)
@@ -119,7 +119,7 @@
ATF_TC(vasprintf_print);
ATF_TC_HEAD(vasprintf_print, tc)
{
- atf_tc_set_md_var(tc, "descr", "checks vasprintf works");
+ atf_tc_set_md_var(tc, "descr", "checks vasprintf works");
}
static int __printflike(2, 3)
@@ -149,13 +149,13 @@
ATF_TP_ADD_TCS(tp)
{
- ATF_TP_ADD_TC(tp, snprintf_print);
- ATF_TP_ADD_TC(tp, snprintf_print_overflow);
- ATF_TP_ADD_TC(tp, snprintf_count);
- ATF_TP_ADD_TC(tp, snprintf_count_overflow);
+ ATF_TP_ADD_TC(tp, snprintf_print);
+ ATF_TP_ADD_TC(tp, snprintf_print_overflow);
+ ATF_TP_ADD_TC(tp, snprintf_count);
+ ATF_TP_ADD_TC(tp, snprintf_count_overflow);
ATF_TP_ADD_TC(tp, vasprintf_print);
- return atf_no_error();
+ return atf_no_error();
}
_EOF
Home |
Main Index |
Thread Index |
Old Index