summaryrefslogtreecommitdiffstats
path: root/test/use_common.c
diff options
context:
space:
mode:
authorJacob Smith <jake.smith@hdfgroup.org>2020-04-07 15:16:48 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:34:20 (GMT)
commita3f6f24c82bb75733a669805c3a2522e3b7d35de (patch)
treee30e5cd7b9b04fac5002230e006b893d6dfadae4 /test/use_common.c
parent3bc8877513969874ec5dd15912d8ff32fcb74cb9 (diff)
downloadhdf5-a3f6f24c82bb75733a669805c3a2522e3b7d35de.zip
hdf5-a3f6f24c82bb75733a669805c3a2522e3b7d35de.tar.gz
hdf5-a3f6f24c82bb75733a669805c3a2522e3b7d35de.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.c6
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");