diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2015-09-01 13:03:33 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2015-09-01 13:03:33 (GMT) |
commit | c839ed338399301b3f861bde5fc8eecb9434462a (patch) | |
tree | df5a053e9f59b81edc49b614b1ee9f2d831a0820 /test | |
parent | db8e289abe67b506d2a1096d1a39151aca0935e9 (diff) | |
download | hdf5-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')
-rw-r--r-- | test/vds.c | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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 */ |