summaryrefslogtreecommitdiffstats
path: root/test/tsohm.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2009-02-05 15:29:27 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2009-02-05 15:29:27 (GMT)
commitf65a6a6473a1252862bc6370e5351d4d94f6a8d8 (patch)
treeb7ac4334de72aefead4ce8fded07910fccf38085 /test/tsohm.c
parent3c67d2972c33045bb81130b21ffe5cdf076bd0a6 (diff)
downloadhdf5-f65a6a6473a1252862bc6370e5351d4d94f6a8d8.zip
hdf5-f65a6a6473a1252862bc6370e5351d4d94f6a8d8.tar.gz
hdf5-f65a6a6473a1252862bc6370e5351d4d94f6a8d8.tar.bz2
[svn-r16436] Checkin for moving messages forward into continuation message:
src/H5Oalloc.c, test/ohdr.c, toshm.c Fixed couple of problems in src/H5Odbg.c.
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");