git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a1072d
)
ldb:tests: Use assert_in_range() in test_get_size()
author
Andreas Schneider
<asn@samba.org>
Thu, 5 Dec 2019 16:14:31 +0000
(17:14 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Fri, 6 Dec 2019 09:12:26 +0000
(09:12 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@samba.org>
lib/ldb/tests/ldb_kv_ops_test.c
patch
|
blob
|
history
diff --git
a/lib/ldb/tests/ldb_kv_ops_test.c
b/lib/ldb/tests/ldb_kv_ops_test.c
index 98b5a433f1a1d560c060d1b0d422d6a170515c91..03711c9eeb383600072cba4e8af60e72cdb84fe5 100644
(file)
--- a/
lib/ldb/tests/ldb_kv_ops_test.c
+++ b/
lib/ldb/tests/ldb_kv_ops_test.c
@@
-1715,7
+1715,7
@@
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.
*/
- assert_
true( size > 25
00);
+ assert_
in_range(size, 2500, 50
00);
#endif
/*