Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/gen Update fmtcheck(3) test now that pointers...
details: https://anonhg.NetBSD.org/src/rev/0960afd4fc47
branches: trunk
changeset: 329930:0960afd4fc47
user: apb <apb%NetBSD.org@localhost>
date: Sat Jun 14 08:19:02 2014 +0000
description:
Update fmtcheck(3) test now that pointers and longs are differentiated.
diffstat:
tests/lib/libc/gen/t_fmtcheck.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 95f61fdc14ee -r 0960afd4fc47 tests/lib/libc/gen/t_fmtcheck.c
--- a/tests/lib/libc/gen/t_fmtcheck.c Sat Jun 14 08:18:24 2014 +0000
+++ b/tests/lib/libc/gen/t_fmtcheck.c Sat Jun 14 08:19:02 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_fmtcheck.c,v 1.2 2011/07/07 09:49:59 jruoho Exp $ */
+/* $NetBSD: t_fmtcheck.c,v 1.3 2014/06/14 08:19:02 apb Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -72,7 +72,9 @@
{ "%#o %u %#-d", "%x %#x %X", 1 },
{ "%qd", "%llx", 1 },
{ "%%", "%llx", 1 },
- { "%p %30s %#llx %-10.*e", "This number %lu%% and string %s has %qd numbers and %.*g floats", 1 },
+ { "%ld %30s %#llx %-10.*e", "This number %lu%% and string %s has %qd numbers and %.*g floats", 1 },
+ { "%o", "%lx", 2 },
+ { "%p", "%lu", 2 },
};
ATF_TC(fmtcheck_basic);
Home |
Main Index |
Thread Index |
Old Index