summaryrefslogtreecommitdiffstats
path: root/tools/libtest/h5tools_test_utils.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-04-21 00:38:45 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:37:19 (GMT)
commitce4be694e8d949c20220f98034cc1cdf95881d5a (patch)
treefb2b3610ff0c88aec86c974705c99d5b59d4ccc2 /tools/libtest/h5tools_test_utils.c
parentd35daa45e90c46670ee160fa7437a573b24a90ad (diff)
downloadhdf5-ce4be694e8d949c20220f98034cc1cdf95881d5a.zip
hdf5-ce4be694e8d949c20220f98034cc1cdf95881d5a.tar.gz
hdf5-ce4be694e8d949c20220f98034cc1cdf95881d5a.tar.bz2
Separated VFD and VOL parameters in tools.
Diffstat (limited to 'tools/libtest/h5tools_test_utils.c')
-rw-r--r--tools/libtest/h5tools_test_utils.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/libtest/h5tools_test_utils.c b/tools/libtest/h5tools_test_utils.c
index aecd3f5..12360a7 100644
--- a/tools/libtest/h5tools_test_utils.c
+++ b/tools/libtest/h5tools_test_utils.c
@@ -1148,7 +1148,7 @@ test_set_configured_fapl(void)
TESTING("programmatic fapl set");
for (i = 0; i < n_cases; i++) {
- h5tools_fapl_info_t fapl_info;
+ h5tools_vfd_info_t vfd_info;
hid_t result;
testcase C = cases[i];
@@ -1171,10 +1171,9 @@ test_set_configured_fapl(void)
#endif /* UTIL_TEST_DEBUG */
/* test */
- fapl_info.type = VFD_BY_NAME;
- fapl_info.info_string = C.conf_fa;
- fapl_info.u.name = C.vfdname;
- result = h5tools_get_fapl(H5P_DEFAULT, &fapl_info);
+ vfd_info.info = C.conf_fa;
+ vfd_info.name = C.vfdname;
+ result = h5tools_get_fapl(H5P_DEFAULT, NULL, &vfd_info);
if (C.expected == 0)
JSVERIFY( result, H5I_INVALID_HID, C.message)
else