Module Name:    src
Committed By:   apb
Date:           Sat Jun 14 08:19:02 UTC 2014

Modified Files:
        src/tests/lib/libc/gen: t_fmtcheck.c

Log Message:
Update fmtcheck(3) test now that pointers and longs are differentiated.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/gen/t_fmtcheck.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/gen/t_fmtcheck.c
diff -u src/tests/lib/libc/gen/t_fmtcheck.c:1.2 src/tests/lib/libc/gen/t_fmtcheck.c:1.3
--- src/tests/lib/libc/gen/t_fmtcheck.c:1.2	Thu Jul  7 09:49:59 2011
+++ src/tests/lib/libc/gen/t_fmtcheck.c	Sat Jun 14 08:19:02 2014
@@ -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 @@ struct test_fmt {
 	{ "%#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);

Reply via email to