summaryrefslogtreecommitdiffstats
path: root/test/tsohm.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2009-02-16 21:33:04 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2009-02-16 21:33:04 (GMT)
commit61346d50fab0dbaadd313e46cc968d4e4ad26c82 (patch)
treec97b8cd021fdf412cd5d1e13d77088c55136626b /test/tsohm.c
parentf023ea68dc0fd97a313c292e9b6f2ea847a50768 (diff)
downloadhdf5-61346d50fab0dbaadd313e46cc968d4e4ad26c82.zip
hdf5-61346d50fab0dbaadd313e46cc968d4e4ad26c82.tar.gz
hdf5-61346d50fab0dbaadd313e46cc968d4e4ad26c82.tar.bz2
[svn-r16487] Checkin for moving messages forward into continuation message:
src/H5Oalloc.c, test/ohdr.c, toshm.c Fixed couple of problems in src/H5Odbg.c. h5committested.
Diffstat (limited to 'test/tsohm.c')
-rw-r--r--test/tsohm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/tsohm.c b/test/tsohm.c
index 47c087e..0516590 100644
--- a/test/tsohm.c
+++ b/test/tsohm.c
@@ -2348,8 +2348,10 @@ static void test_sohm_size2(int close_reopen)
if((list_index_big.attrs1 - list_index_big.interleaved) >=
(list_index_small.attrs1 - list_index_small.interleaved))
VERIFY(0, 1, "h5_get_file_size");
+
+ /* Give it some overhead (for checkin to move messages into continuation message) */
if((list_index_small.attrs1 - list_index_small.interleaved) >
- (btree_index.attrs1 - btree_index.interleaved))
+ ((btree_index.attrs1 - btree_index.interleaved) * OVERHEAD_ALLOWED))
VERIFY(0, 1, "h5_get_file_size");