summaryrefslogtreecommitdiffstats
path: root/test/mount.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-09-05 20:11:52 (GMT)
committerGitHub <noreply@github.com>2023-09-05 20:11:52 (GMT)
commit920869796031ed4ee9c1fbea8aaccda3592a88b3 (patch)
tree30f007ff79b87a79c882d9149cdbfcb797be92e1 /test/mount.c
parentae1379094b71c51342772397af5caca088862a61 (diff)
downloadhdf5-920869796031ed4ee9c1fbea8aaccda3592a88b3.zip
hdf5-920869796031ed4ee9c1fbea8aaccda3592a88b3.tar.gz
hdf5-920869796031ed4ee9c1fbea8aaccda3592a88b3.tar.bz2
Convert hbool_t --> bool in test (#3494)
Diffstat (limited to 'test/mount.c')
-rw-r--r--test/mount.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/mount.c b/test/mount.c
index e418b25..9d87bbd 100644
--- a/test/mount.c
+++ b/test/mount.c
@@ -446,7 +446,7 @@ test_hide(hid_t fapl)
hid_t file1 = -1, file2 = -1, grp = -1;
H5O_info2_t oi1, oi2;
char filename1[1024], filename2[1024];
- hbool_t same_obj;
+ bool same_obj;
TESTING("name hiding under mount point");
h5_fixname(FILENAME[0], fapl, filename1, sizeof(filename1));
@@ -483,17 +483,17 @@ test_hide(hid_t fapl)
if (H5Oget_info_by_name3(file1, "/file1", &oi2, H5O_INFO_BASIC, H5P_DEFAULT) < 0)
FAIL_STACK_ERROR;
- same_obj = TRUE;
+ same_obj = true;
if (oi1.fileno == oi2.fileno) {
int token_cmp;
if (H5Otoken_cmp(file1, &oi1.token, &oi2.token, &token_cmp) < 0)
FAIL_STACK_ERROR;
if (token_cmp)
- same_obj = FALSE;
+ same_obj = false;
}
else
- same_obj = FALSE;
+ same_obj = false;
if (!same_obj) {
H5_FAILED();
@@ -541,7 +541,7 @@ test_assoc(hid_t fapl)
hid_t file1 = -1, file2 = -1;
H5O_info2_t oi1, oi2;
char filename1[1024], filename2[1024];
- hbool_t same_obj;
+ bool same_obj;
TESTING("mount point open");
h5_fixname(FILENAME[0], fapl, filename1, sizeof filename1);
@@ -567,17 +567,17 @@ test_assoc(hid_t fapl)
if (H5Oget_info_by_name3(file1, "/mnt1", &oi2, H5O_INFO_BASIC, H5P_DEFAULT) < 0)
FAIL_STACK_ERROR;
- same_obj = TRUE;
+ same_obj = true;
if (oi1.fileno == oi2.fileno) {
int token_cmp;
if (H5Otoken_cmp(file1, &oi1.token, &oi2.token, &token_cmp) < 0)
FAIL_STACK_ERROR;
if (token_cmp)
- same_obj = FALSE;
+ same_obj = false;
}
else
- same_obj = FALSE;
+ same_obj = false;
if (!same_obj) {
H5_FAILED();