summaryrefslogtreecommitdiffstats
path: root/test/tsohm.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-01-29 22:06:36 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-01-29 22:06:36 (GMT)
commit814c226b9b56803a07b3f7ae4298f9ea560f0588 (patch)
tree86d6d38c6c20fe9304b9f9bf1eab137b39e87c4b /test/tsohm.c
parenta4467cd2c2c52723e09b0d7d266ab35eda3224a8 (diff)
downloadhdf5-814c226b9b56803a07b3f7ae4298f9ea560f0588.zip
hdf5-814c226b9b56803a07b3f7ae4298f9ea560f0588.tar.gz
hdf5-814c226b9b56803a07b3f7ae4298f9ea560f0588.tar.bz2
[svn-r13219] Description:
Move dataspace messages into new shared header message method calling scheme. Minor other cleanups, etc. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'test/tsohm.c')
-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