diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2012-08-11 21:27:58 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2012-08-11 21:27:58 (GMT) |
commit | d20da589dd51cf3fe184bffce8851bd5d032e7f4 (patch) | |
tree | 7a04d4ec975064ba805fbc83ed56426ee1ac4469 /test/tsohm.c | |
parent | 3552beb08b10a9037691905b5dec644428a9ac35 (diff) | |
download | hdf5-d20da589dd51cf3fe184bffce8851bd5d032e7f4.zip hdf5-d20da589dd51cf3fe184bffce8851bd5d032e7f4.tar.gz hdf5-d20da589dd51cf3fe184bffce8851bd5d032e7f4.tar.bz2 |
[svn-r22668] Description:
Have free space manager use temporary address space for storing the
section info, until the file is flushed or closed.
Tested on:
Mac OSX/64 10.7.4 (amazon) w/debug, gcc 4.7.x, C++, FORTRAN & threadsafe
(h5committest forthcoming)
Diffstat (limited to 'test/tsohm.c')
-rw-r--r-- | test/tsohm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/tsohm.c b/test/tsohm.c index 62154b1..fddb552 100644 --- a/test/tsohm.c +++ b/test/tsohm.c @@ -2463,11 +2463,11 @@ static void test_sohm_size2(int close_reopen) * this happens because it's hard to predict exactly how much space this * will take. */ - if((mult_index_med.attrs2 - mult_index_med.attrs1) != - (list_index_med.attrs2 - list_index_med.attrs1)) + if((mult_index_med.attrs2 - mult_index_med.attrs1) > + (list_index_med.attrs2 - list_index_med.attrs1) * OVERHEAD_ALLOWED) VERIFY(0, 1, "h5_get_file_size"); - if((mult_index_btree.attrs2 - mult_index_btree.attrs1) != - (btree_index.attrs2 - btree_index.attrs1)) + if((mult_index_btree.attrs2 - mult_index_btree.attrs1) > + (btree_index.attrs2 - btree_index.attrs1) * OVERHEAD_ALLOWED) VERIFY(0, 1, "h5_get_file_size"); /* The final file size for both of the multiple index files should be |