svn commit: r304237 - projects/netbsd-tests-update-12/tests/sys/kern/acct

Garrett Cooper ngie at FreeBSD.org
Tue Aug 16 20:32:10 UTC 2016


Author: ngie
Date: Tue Aug 16 20:32:08 2016
New Revision: 304237
URL: https://svnweb.freebsd.org/changeset/base/304237

Log:
  Only expect :encode_tv_random_million to fail on 64-bit platforms
  
  It passes on i386
  
  MFC after:	1 week
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  projects/netbsd-tests-update-12/tests/sys/kern/acct/acct_test.c

Modified: projects/netbsd-tests-update-12/tests/sys/kern/acct/acct_test.c
==============================================================================
--- projects/netbsd-tests-update-12/tests/sys/kern/acct/acct_test.c	Tue Aug 16 20:19:05 2016	(r304236)
+++ projects/netbsd-tests-update-12/tests/sys/kern/acct/acct_test.c	Tue Aug 16 20:32:08 2016	(r304237)
@@ -204,7 +204,10 @@ ATF_TC_BODY(encode_tv_random_million, tc
 	struct timeval tv;
 	long k;
 
-	atf_tc_expect_fail("the testcase violates FLT_EPSILON");
+#ifdef __LP64__
+	atf_tc_expect_fail("the testcase violates FLT_EPSILON on 64-bit "
+	    "platforms, e.g. amd64");
+#endif
 
 	ATF_REQUIRE_MSG(unsetenv("TZ") == 0, "unsetting TZ failed; errno=%d", errno);
 


More information about the svn-src-projects mailing list