Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc Avoid printf(3) directive interpretation in l...



details:   https://anonhg.NetBSD.org/src/rev/ac8a617d8c0b
branches:  trunk
changeset: 766057:ac8a617d8c0b
user:      njoly <njoly%NetBSD.org@localhost>
date:      Tue Jun 14 12:17:57 2011 +0000

description:
Avoid printf(3) directive interpretation in long_format testcase
description.

diffstat:

 tests/lib/libc/t_gdtoa.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r a6d7d623374b -r ac8a617d8c0b tests/lib/libc/t_gdtoa.c
--- a/tests/lib/libc/t_gdtoa.c  Tue Jun 14 12:17:50 2011 +0000
+++ b/tests/lib/libc/t_gdtoa.c  Tue Jun 14 12:17:57 2011 +0000
@@ -34,7 +34,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_gdtoa.c,v 1.1 2010/12/31 04:08:33 pgoyette Exp $");
+__RCSID("$NetBSD: t_gdtoa.c,v 1.2 2011/06/14 12:17:57 njoly Exp $");
 
 #include <atf-c.h>
 
@@ -47,7 +47,7 @@
 ATF_TC_HEAD(long_format, tc)
 {
 
-       atf_tc_set_md_var(tc, "descr", "Test printf with %1.262159f format");
+       atf_tc_set_md_var(tc, "descr", "Test printf with %%1.262159f format");
 }
 
 ATF_TC_BODY(long_format, tc)



Home | Main Index | Thread Index | Old Index