summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-08-24 20:06:27 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-08-24 20:06:27 (GMT)
commit7584e57d61fa3f4f90732bcba6d0003c82f1d605 (patch)
tree4c6affbc68170df874493fe78f6733d318033c8e /tools
parent1b920f13453b02e05d5d7961c89b5fae5f92d614 (diff)
downloadhdf5-7584e57d61fa3f4f90732bcba6d0003c82f1d605.zip
hdf5-7584e57d61fa3f4f90732bcba6d0003c82f1d605.tar.gz
hdf5-7584e57d61fa3f4f90732bcba6d0003c82f1d605.tar.bz2
Corrects warnings in h5tools_test_utils.c
Diffstat (limited to 'tools')
-rw-r--r--tools/libtest/h5tools_test_utils.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/tools/libtest/h5tools_test_utils.c b/tools/libtest/h5tools_test_utils.c
index 8faa4c6..944594b 100644
--- a/tools/libtest/h5tools_test_utils.c
+++ b/tools/libtest/h5tools_test_utils.c
@@ -1005,13 +1005,6 @@ test_set_configured_fapl(void)
other_fa_t wrong_fa = {0x432, 0xf82, 0x9093};
#ifdef H5_HAVE_ROS3_VFD
H5FD_ros3_fapl_t ros3_anon_fa = {1, FALSE, "", "", ""};
- H5FD_ros3_fapl_t ros3_auth_fa = {
- 1, /* fapl version */
- TRUE, /* authenticate */
- "us-east-1", /* aws region */
- "12345677890abcdef", /* simulate access key ID */
- "oiwnerwe9u0234nJw0-aoj+dsf", /* simulate secret key */
- };
#endif /* H5_HAVE_ROS3_VFD */
#ifdef H5_HAVE_LIBHDFS
H5FD_hdfs_fapl_t hdfs_fa = {
@@ -1178,10 +1171,12 @@ test_set_configured_fapl(void)
vfd_info.info = C.conf_fa;
vfd_info.name = C.vfdname;
result = h5tools_get_fapl(H5P_DEFAULT, &vfd_info);
- if (C.expected == 0)
+ if (C.expected == 0) {
JSVERIFY( result, H5I_INVALID_HID, C.message)
- else
+ }
+ else {
JSVERIFY_NOT( result, H5I_INVALID_HID, C.message)
+ }
#if UTIL_TEST_DEBUG
HDfprintf(stderr, "after test\n"); fflush(stderr);