From: Mathieu Parent Date: Thu, 25 Jun 2020 07:48:04 +0000 (+0200) Subject: Fix FTBFS / Increase the over-estimation for sparse files X-Git-Tag: talloc-2.3.2~734 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d935795ea5a3294f82fe65cca17c79a7b6589f0;p=thirdparty%2Fsamba.git Fix FTBFS / Increase the over-estimation for sparse files BUG: https://bugzilla.samba.org/show_bug.cgi?id=14418 Signed-off-by: Mathieu Parent Reviewed-by: Andrew Bartlett Reviewed-by: Douglas Bagnall Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Tue Aug 25 04:23:19 UTC 2020 on sn-devel-184 --- diff --git a/lib/ldb/tests/ldb_kv_ops_test.c b/lib/ldb/tests/ldb_kv_ops_test.c index 30adebf1952..9db2212895f 100644 --- a/lib/ldb/tests/ldb_kv_ops_test.c +++ b/lib/ldb/tests/ldb_kv_ops_test.c @@ -1717,8 +1717,11 @@ static void test_get_size(void **state) /* * The tdb implementation of get_size over estimates for sparse files * which is perfectly acceptable for it's intended use. + * mipsel, ia64: 9994 + * ppc64el, powerpc, ppc64: 13369 + * sparc64: 5046 */ - assert_in_range(size, 2500, 5000); + assert_in_range(size, 2500, 15000); #endif /* @@ -1746,8 +1749,11 @@ static void test_get_size(void **state) /* * The tdb implementation of get_size over estimates for sparse files * which is perfectly acceptable for it's intended use. + * mipsel, ia64: 9994 + * ppc64el, powerpc, ppc64: 13369 + * sparc64: 5046 */ - assert_in_range(size, 2500, 5000); + assert_in_range(size, 2500, 15000); #endif talloc_free(tmp_ctx); }