svn commit: r305228 - stable/10/tests/sys/kern/acct

Ngie Cooper ngie at FreeBSD.org
Thu Sep 1 19:08:08 UTC 2016


Author: ngie
Date: Thu Sep  1 19:08:07 2016
New Revision: 305228
URL: https://svnweb.freebsd.org/changeset/base/305228

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

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

Modified: stable/10/tests/sys/kern/acct/acct_test.c
==============================================================================
--- stable/10/tests/sys/kern/acct/acct_test.c	Thu Sep  1 19:05:23 2016	(r305227)
+++ stable/10/tests/sys/kern/acct/acct_test.c	Thu Sep  1 19:08:07 2016	(r305228)
@@ -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