svn commit: r304238 - head/tests/sys/kern/acct

Garrett Cooper ngie at FreeBSD.org
Tue Aug 16 20:35:38 UTC 2016


Author: ngie
Date: Tue Aug 16 20:35:36 2016
New Revision: 304238
URL: https://svnweb.freebsd.org/changeset/base/304238

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:
  head/tests/sys/kern/acct/acct_test.c
Directory Properties:
  head/   (props changed)

Modified: head/tests/sys/kern/acct/acct_test.c
==============================================================================
--- head/tests/sys/kern/acct/acct_test.c	Tue Aug 16 20:32:08 2016	(r304237)
+++ head/tests/sys/kern/acct/acct_test.c	Tue Aug 16 20:35:36 2016	(r304238)
@@ -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