svn commit: r273951 - head/contrib/netbsd-tests/lib/libc/stdio
Garrett Cooper
ngie at FreeBSD.org
Sat Nov 1 21:30:19 UTC 2014
Author: ngie
Date: Sat Nov 1 21:30:18 2014
New Revision: 273951
URL: https://svnweb.freebsd.org/changeset/base/273951
Log:
Expect :sscanf_whitespace to fail on !NetBSD OSes
Submitted by: pho
Modified:
head/contrib/netbsd-tests/lib/libc/stdio/t_scanf.c
Modified: head/contrib/netbsd-tests/lib/libc/stdio/t_scanf.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/stdio/t_scanf.c Sat Nov 1 21:25:22 2014 (r273950)
+++ head/contrib/netbsd-tests/lib/libc/stdio/t_scanf.c Sat Nov 1 21:30:18 2014 (r273951)
@@ -64,6 +64,10 @@ ATF_TC_BODY(sscanf_whitespace, tc)
const char str[] = "\f\n\r\t\v%z";
char c;
+#ifndef __NetBSD__
+ atf_tc_expect_fail("fails on FreeBSD and some variants of Linux");
+#endif
+
/* set of "white space" symbols from isspace(3) */
c = 0;
(void)sscanf(str, "%%%c", &c);
More information about the svn-src-head
mailing list