Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Sep 2016 19:08:07 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r305228 - stable/10/tests/sys/kern/acct
Message-ID:  <201609011908.u81J87li013750@repo.freebsd.org>

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



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