summaryrefslogtreecommitdiffstats
path: root/tools/libtest
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-04-21 13:49:15 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-04-21 13:49:15 (GMT)
commit729ad25bdff45c98e7a71acd118ee1332f0cc8bc (patch)
tree7067dce82888e04c0f6f371ef50af2dff1195431 /tools/libtest
parentc9a21e932e179e8a12106d5c98f9357b12aa6e3f (diff)
parentc6097935d5be4c3750b9bf9167783ad28158905b (diff)
downloadhdf5-729ad25bdff45c98e7a71acd118ee1332f0cc8bc.zip
hdf5-729ad25bdff45c98e7a71acd118ee1332f0cc8bc.tar.gz
hdf5-729ad25bdff45c98e7a71acd118ee1332f0cc8bc.tar.bz2
Merge pull request #2530 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_minor to develop
* commit 'c6097935d5be4c3750b9bf9167783ad28158905b': Separated VFD and VOL parameters in tools.
Diffstat (limited to 'tools/libtest')
-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