mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r13987] Description:
Fix ohdr test for changes to internal 5O_get_info() routine. Tested on: Mac OS X/32 10.4.10 (amazon) FreeBSD/32 6.2 (duty)
This commit is contained in:
parent
814ad1cb42
commit
2ed54543c8
@ -136,7 +136,7 @@ main(void)
|
||||
TEST_ERROR
|
||||
|
||||
/* Make certain that chunk #0 in the object header can be encoded with a 1-byte size */
|
||||
if(H5O_get_info(&oh_loc, &oinfo, H5P_DATASET_XFER_DEFAULT) < 0)
|
||||
if(H5O_get_info(&oh_loc, H5P_DATASET_XFER_DEFAULT, FALSE, &oinfo) < 0)
|
||||
FAIL_STACK_ERROR
|
||||
if(oinfo.hdr.space.total >=256)
|
||||
TEST_ERROR
|
||||
@ -161,7 +161,7 @@ main(void)
|
||||
FAIL_STACK_ERROR
|
||||
|
||||
/* Make certain that chunk #0 in the object header will be encoded with a 2-byte size */
|
||||
if(H5O_get_info(&oh_loc, &oinfo, H5P_DATASET_XFER_DEFAULT) < 0)
|
||||
if(H5O_get_info(&oh_loc, H5P_DATASET_XFER_DEFAULT, FALSE, &oinfo) < 0)
|
||||
FAIL_STACK_ERROR
|
||||
if(oinfo.hdr.space.total < 256)
|
||||
TEST_ERROR
|
||||
|
Loading…
Reference in New Issue
Block a user