summaryrefslogtreecommitdiffstats
path: root/test/vol.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-10-26 05:54:29 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-10-26 05:54:29 (GMT)
commit305997501dd4c44cb46adfc0159489ae84c5fad4 (patch)
tree9be360975ec087d7aec751b22b336f79932dca26 /test/vol.c
parent4a328957243ca7502a4c4966d6598498be43e3cd (diff)
downloadhdf5-305997501dd4c44cb46adfc0159489ae84c5fad4.zip
hdf5-305997501dd4c44cb46adfc0159489ae84c5fad4.tar.gz
hdf5-305997501dd4c44cb46adfc0159489ae84c5fad4.tar.bz2
Updates after merging changes from develop.
Diffstat (limited to 'test/vol.c')
-rw-r--r--test/vol.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/vol.c b/test/vol.c
index 553a9cf..fc47087 100644
--- a/test/vol.c
+++ b/test/vol.c
@@ -147,7 +147,7 @@ test_vol_registration(void)
FAIL_PUTS_ERROR("native VOL plugin is inappropriately registered");
/* Load a VOL interface */
- if ((vol_id = H5VLregister_plugin(&fake_vol_g)) < 0)
+ if ((vol_id = H5VLregister_plugin(&fake_vol_g, H5P_DEFAULT)) < 0)
FAIL_STACK_ERROR;
/* The test/fake VOL plugin should be registered now */
@@ -157,27 +157,27 @@ test_vol_registration(void)
FAIL_PUTS_ERROR("native VOL plugin is un-registered");
/* Re-register a VOL plugin */
- if ((vol_id2 = H5VLregister(&fake_vol_g, H5P_DEFAULT)) < 0)
+ if ((vol_id2 = H5VLregister_plugin(&fake_vol_g, H5P_DEFAULT)) < 0)
FAIL_STACK_ERROR;
/* The test/fake VOL plugin should still be registered now */
- if ((is_registered = H5VLis_registered(FAKE_VOL_NAME)) < 0)
+ if ((is_registered = H5VLis_plugin_registered(FAKE_VOL_NAME)) < 0)
FAIL_STACK_ERROR;
if (0 == is_registered)
FAIL_PUTS_ERROR("native VOL plugin is un-registered");
/* Unregister the second test/fake VOL ID */
- if (H5VLunregister(vol_id2) < 0)
+ if (H5VLunregister_plugin(vol_id2) < 0)
FAIL_STACK_ERROR;
/* The test/fake VOL plugin should still be registered now */
- if ((is_registered = H5VLis_registered(FAKE_VOL_NAME)) < 0)
+ if ((is_registered = H5VLis_plugin_registered(FAKE_VOL_NAME)) < 0)
FAIL_STACK_ERROR;
if (0 == is_registered)
FAIL_PUTS_ERROR("native VOL plugin is un-registered");
/* Unregister the original test/fake VOL ID */
- if (H5VLunregister(vol_id) < 0)
+ if (H5VLunregister_plugin(vol_id) < 0)
FAIL_STACK_ERROR;
PASSED();
@@ -185,7 +185,7 @@ test_vol_registration(void)
error:
H5E_BEGIN_TRY {
- H5VLunregister(vol_id);
+ H5VLunregister_plugin(vol_id);
} H5E_END_TRY;
return FAIL;