summaryrefslogtreecommitdiffstats
path: root/test/vol_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/vol_plugin.c')
-rw-r--r--test/vol_plugin.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/vol_plugin.c b/test/vol_plugin.c
index 73918ff..51b8e1e 100644
--- a/test/vol_plugin.c
+++ b/test/vol_plugin.c
@@ -114,6 +114,11 @@ test_registration_by_name(void)
if(FALSE == is_registered)
FAIL_PUTS_ERROR("NULL VOL connector was not registered");
+ hid_t acc_tpl = H5Pcreate(H5P_FILE_ACCESS);
+ H5Pset_vol(acc_tpl, vol_id, NULL);
+
+ H5Pclose(acc_tpl);
+
/* Unregister the connector */
if(H5VLunregister_connector(vol_id) < 0)
TEST_ERROR;