summaryrefslogtreecommitdiffstats
path: root/test/vds.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2015-09-01 13:03:33 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2015-09-01 13:03:33 (GMT)
commitc839ed338399301b3f861bde5fc8eecb9434462a (patch)
treedf5a053e9f59b81edc49b614b1ee9f2d831a0820 /test/vds.c
parentdb8e289abe67b506d2a1096d1a39151aca0935e9 (diff)
downloadhdf5-c839ed338399301b3f861bde5fc8eecb9434462a.zip
hdf5-c839ed338399301b3f861bde5fc8eecb9434462a.tar.gz
hdf5-c839ed338399301b3f861bde5fc8eecb9434462a.tar.bz2
[svn-r27646] Add version number to VDS global heap object encoding.
Fix handling of layout version number. Other minor fixes/cleanup. NOTE: This commit changes the file format for VDS, all files must be re-generated. Tested: ummon
Diffstat (limited to 'test/vds.c')
-rw-r--r--test/vds.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/vds.c b/test/vds.c
index 5cdcef4..3e1bc18 100644
--- a/test/vds.c
+++ b/test/vds.c
@@ -386,8 +386,10 @@ test_api_get_ex_dcpl(test_api_config_t config, hid_t fapl, hid_t dcpl,
if(oinfo.meta_size.obj.index_size != (hsize_t)0)
TEST_ERROR
if(config == TEST_API_REOPEN_FILE) {
- if(oinfo.meta_size.obj.heap_size != exp_meta_size) { printf("%llu\n", (long long unsigned)oinfo.meta_size.obj.heap_size);
- TEST_ERROR }
+ if(oinfo.meta_size.obj.heap_size != exp_meta_size) {
+ printf("VDS metadata size: %llu Expected: %llu\n", (long long unsigned)oinfo.meta_size.obj.heap_size, (long long unsigned)exp_meta_size);
+ TEST_ERROR
+ } /* end if */
} /* end if */
else
if((oinfo.meta_size.obj.heap_size != exp_meta_size)
@@ -550,7 +552,7 @@ test_api(test_api_config_t config, hid_t fapl)
TEST_ERROR
/* Get examination DCPL */
- if(test_api_get_ex_dcpl(config, fapl, dcpl, &ex_dcpl, vspace[0], filename, (hsize_t)68) < 0)
+ if(test_api_get_ex_dcpl(config, fapl, dcpl, &ex_dcpl, vspace[0], filename, (hsize_t)69) < 0)
TEST_ERROR
/* Test H5Pget_virtual_count */
@@ -621,7 +623,7 @@ test_api(test_api_config_t config, hid_t fapl)
TEST_ERROR
/* Get examination DCPL */
- if(test_api_get_ex_dcpl(config, fapl, dcpl, &ex_dcpl, vspace[0], filename, (hsize_t)212) < 0)
+ if(test_api_get_ex_dcpl(config, fapl, dcpl, &ex_dcpl, vspace[0], filename, (hsize_t)213) < 0)
TEST_ERROR
/* Test H5Pget_virtual_count */
@@ -1028,7 +1030,7 @@ test_api(test_api_config_t config, hid_t fapl)
} /* end if */
/* Get examination DCPL */
- if(test_api_get_ex_dcpl(config, fapl, dcpl, &ex_dcpl, vspace[0], filename, (hsize_t)696) < 0)
+ if(test_api_get_ex_dcpl(config, fapl, dcpl, &ex_dcpl, vspace[0], filename, (hsize_t)697) < 0)
TEST_ERROR
/* Test H5Pget_virtual_count */