summaryrefslogtreecommitdiffstats
path: root/test/stab.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-10-23 10:15:52 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-10-23 10:15:52 (GMT)
commit1202e83013bdbce9592d0bd70f41e84c83f6c2d5 (patch)
treec7926ea2ecc426f8cc1f31960d0c31c02bfd08dc /test/stab.c
parent8ee7c55feaf099695eb3b25cc9eda3ee5885a7bc (diff)
downloadhdf5-1202e83013bdbce9592d0bd70f41e84c83f6c2d5.zip
hdf5-1202e83013bdbce9592d0bd70f41e84c83f6c2d5.tar.gz
hdf5-1202e83013bdbce9592d0bd70f41e84c83f6c2d5.tar.bz2
[svn-r12801] Description:
Fix several errors in the "latest version" of the object header format changes and enable the new version when requested now. Clean up several confusing or duplicated sections of code. Tested on: Linux/32 2.4 (heping) Linux/64 2.4 (mir) FreeBSD/32 4.11 (sleipnir)
Diffstat (limited to 'test/stab.c')
-rw-r--r--test/stab.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/stab.c b/test/stab.c
index 8010dd6..9fc0565 100644
--- a/test/stab.c
+++ b/test/stab.c
@@ -426,9 +426,9 @@ lifecycle(hid_t fapl)
/* Check that the object header is only one chunk and the space has been allocated correctly */
if(H5Gget_objinfo(gid, ".", FALSE, &obj_stat) < 0) TEST_ERROR
#ifdef H5_HAVE_LARGE_HSIZET
- if(obj_stat.ohdr.size != 232) TEST_ERROR
+ if(obj_stat.ohdr.size != 205) TEST_ERROR
#else /* H5_HAVE_LARGE_HSIZET */
- if(obj_stat.ohdr.size != 224) TEST_ERROR
+ if(obj_stat.ohdr.size != 197) TEST_ERROR
#endif /* H5_HAVE_LARGE_HSIZET */
if(obj_stat.ohdr.free != 0) TEST_ERROR
if(obj_stat.ohdr.nmesgs != 6) TEST_ERROR
@@ -452,11 +452,11 @@ lifecycle(hid_t fapl)
/* Check that the object header is still one chunk and the space has been allocated correctly */
if(H5Gget_objinfo(gid, ".", FALSE, &obj_stat) < 0) TEST_ERROR
#ifdef H5_HAVE_LARGE_HSIZET
- if(obj_stat.ohdr.size != 232) TEST_ERROR
+ if(obj_stat.ohdr.size != 205) TEST_ERROR
#else /* H5_HAVE_LARGE_HSIZET */
- if(obj_stat.ohdr.size != 224) TEST_ERROR
+ if(obj_stat.ohdr.size != 197) TEST_ERROR
#endif /* H5_HAVE_LARGE_HSIZET */
- if(obj_stat.ohdr.free != 128) TEST_ERROR
+ if(obj_stat.ohdr.free != 116) TEST_ERROR
if(obj_stat.ohdr.nmesgs != 3) TEST_ERROR
if(obj_stat.ohdr.nchunks != 1) TEST_ERROR