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)
committerDana Robinson <derobins@hdfgroup.org>2020-04-21 00:38:45 (GMT)
commitc6097935d5be4c3750b9bf9167783ad28158905b (patch)
treea846bef8035c5886f1838bab47870708787cdfec /tools/libtest/h5tools_test_utils.c
parent7ba692badf9a1bafb9d3b2f72efbbdf773b5932a (diff)
downloadhdf5-c6097935d5be4c3750b9bf9167783ad28158905b.zip
hdf5-c6097935d5be4c3750b9bf9167783ad28158905b.tar.gz
hdf5-c6097935d5be4c3750b9bf9167783ad28158905b.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