From ef5c8d54606b5ccb4ea5ae48154fdd2e31e52818 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Tue, 16 Aug 2016 20:32:08 +0000 Subject: [PATCH] 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 --- tests/sys/kern/acct/acct_test.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/sys/kern/acct/acct_test.c b/tests/sys/kern/acct/acct_test.c index 2bf221cddf2b..c2e9673df8f2 100644 --- a/tests/sys/kern/acct/acct_test.c +++ b/tests/sys/kern/acct/acct_test.c @@ -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);