svn commit: r304947 - stable/11/tests/sys/kern/acct

Garrett Cooper ngie at FreeBSD.org
Sun Aug 28 07:10:49 UTC 2016


Author: ngie
Date: Sun Aug 28 07:10:48 2016
New Revision: 304947
URL: https://svnweb.freebsd.org/changeset/base/304947

Log:
  MFC r304238:
  
  Only expect :encode_tv_random_million to fail on 64-bit platforms
  
  It passes on i386

Modified:
  stable/11/tests/sys/kern/acct/acct_test.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/tests/sys/kern/acct/acct_test.c
==============================================================================
--- stable/11/tests/sys/kern/acct/acct_test.c	Sun Aug 28 07:09:45 2016	(r304946)
+++ stable/11/tests/sys/kern/acct/acct_test.c	Sun Aug 28 07:10:48 2016	(r304947)
@@ -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-all mailing list