[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:
Quincey Koziol 2007-07-17 16:17:12 -05:00
parent 814ad1cb42
commit 2ed54543c8

View File

@ -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