summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/tsohm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/tsohm.c b/test/tsohm.c
index e0e4e2b..7361f3e 100644
--- a/test/tsohm.c
+++ b/test/tsohm.c
@@ -2361,11 +2361,11 @@ static void test_sohm_size2(int close_reopen)
btree_index.dsets2 - btree_index.dsets1)
VERIFY(0, 1, "h5_get_file_size");
- if(mult_index_med.interleaved - mult_index_med.dsets2 !=
- list_index_med.interleaved - list_index_med.dsets2)
+ if(mult_index_med.interleaved - mult_index_med.dsets2 >
+ (list_index_med.interleaved - list_index_med.dsets2) * OVERHEAD_ALLOWED)
VERIFY(0, 1, "h5_get_file_size");
- if(mult_index_btree.interleaved - mult_index_btree.dsets2 !=
- btree_index.interleaved - btree_index.dsets2)
+ if(mult_index_btree.interleaved - mult_index_btree.dsets2 >
+ (btree_index.interleaved - btree_index.dsets2) * OVERHEAD_ALLOWED)
VERIFY(0, 1, "h5_get_file_size");
/* When all the attributes are added, only the index holding attributes