summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/stdio/t_scanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdio/t_scanf.c')
-rw-r--r--contrib/netbsd-tests/lib/libc/stdio/t_scanf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/stdio/t_scanf.c b/contrib/netbsd-tests/lib/libc/stdio/t_scanf.c
index fea35a7..194cd17 100644
--- a/contrib/netbsd-tests/lib/libc/stdio/t_scanf.c
+++ b/contrib/netbsd-tests/lib/libc/stdio/t_scanf.c
@@ -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);
OpenPOWER on IntegriCloud