diff options
author | Jacob Smith <jake.smith@hdfgroup.org> | 2020-04-07 15:16:48 (GMT) |
---|---|---|
committer | Jacob Smith <jake.smith@hdfgroup.org> | 2020-04-07 15:20:44 (GMT) |
commit | d97c00013dd5b13b618d08d9b6d6517176674a4e (patch) | |
tree | c972bbe7858f771f2c17b93f93db8f17b528f1ee /test/use_common.c | |
parent | f771958d757e388d9b9cebb21ca03f00505ada5b (diff) | |
download | hdf5-d97c00013dd5b13b618d08d9b6d6517176674a4e.zip hdf5-d97c00013dd5b13b618d08d9b6d6517176674a4e.tar.gz hdf5-d97c00013dd5b13b618d08d9b6d6517176674a4e.tar.bz2 |
Tidying of Mirror VFD.
* Rename server-stop utility to mirror_server_stop.
* Remove external dependency on bzero().
* Modify test/use_common to use only the public API.
* Rename internal bitswap macro to follow convention.
Diffstat (limited to 'test/use_common.c')
-rw-r--r-- | test/use_common.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/use_common.c b/test/use_common.c index a986543..bf29936 100644 --- a/test/use_common.c +++ b/test/use_common.c @@ -21,10 +21,6 @@ #include "use.h" -#define H5D_FRIEND /*suppress error about including H5Dpkg */ -#define H5D_TESTING -#include "H5Dpkg.h" /* TODO : used to verify chunk index type (yes?) -- is there a way to do this sanity-check using the public API instead? */ - /* ---------------------------------------------------------------------------- * Print a common/shared usage message. * Receives program name to show default test file name (<program_name>.h5). @@ -231,7 +227,7 @@ create_uc_file(options_t * opts) /* Check that the chunk index type is not version 1 B-tree. * Version 1 B-trees are not supported under SWMR. */ - if (H5D__layout_idx_type_test(dsid, &idx_type) < 0) + if (H5Dget_chunk_index_type(dsid, &idx_type) < 0) return -1; if (idx_type == H5D_CHUNK_IDX_BTREE) { HDfprintf(stderr, "ERROR: Chunk index is version 1 B-tree: aborting.\n"); |