Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Nov 2014 21:30:18 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r273951 - head/contrib/netbsd-tests/lib/libc/stdio
Message-ID:  <201411012130.sA1LUIs5057638@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411012130.sA1LUIs5057638>