Module Name: src
Committed By: njoly
Date: Tue Jun 14 12:17:58 UTC 2011
Modified Files:
src/tests/lib/libc: t_gdtoa.c
Log Message:
Avoid printf(3) directive interpretation in long_format testcase
description.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/t_gdtoa.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/t_gdtoa.c
diff -u src/tests/lib/libc/t_gdtoa.c:1.1 src/tests/lib/libc/t_gdtoa.c:1.2
--- src/tests/lib/libc/t_gdtoa.c:1.1 Fri Dec 31 04:08:33 2010
+++ src/tests/lib/libc/t_gdtoa.c Tue Jun 14 12:17:57 2011
@@ -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)