summaryrefslogtreecommitdiffstats
path: root/src/H5Otest.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-27 20:43:30 (GMT)
committerGitHub <noreply@github.com>2023-07-27 20:43:30 (GMT)
commit1e91d96fa02466ffe451319bdac1005f84dc7993 (patch)
tree4de04ef502c313dfd766497b20235188761146c0 /src/H5Otest.c
parent95e5349089b95dfb95f0f8ce2d6db1bc04ba6c82 (diff)
downloadhdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.zip
hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.gz
hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.bz2
Brings over most of the HD prefix removal (#3293)
Diffstat (limited to 'src/H5Otest.c')
-rw-r--r--src/H5Otest.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/H5Otest.c b/src/H5Otest.c
index 143286c..b1cfb90 100644
--- a/src/H5Otest.c
+++ b/src/H5Otest.c
@@ -117,7 +117,7 @@ H5O__is_attr_dense_test(hid_t oid)
/* Check if dense storage is being used */
if (H5F_addr_defined(ainfo.fheap_addr)) {
/* Check for any messages in object header */
- HDassert(H5O__msg_count_real(oh, H5O_MSG_ATTR) == 0);
+ assert(H5O__msg_count_real(oh, H5O_MSG_ATTR) == 0);
ret_value = TRUE;
} /* end if */
@@ -194,7 +194,7 @@ H5O__is_attr_empty_test(hid_t oid)
/* Check for using dense storage */
if (H5F_addr_defined(ainfo.fheap_addr)) {
/* Check for any messages in object header */
- HDassert(nattrs == 0);
+ assert(nattrs == 0);
/* Set metadata tag in API context */
H5_BEGIN_TAG(loc->addr);
@@ -214,10 +214,10 @@ H5O__is_attr_empty_test(hid_t oid)
} /* end if */
/* Verify that attribute count in object header is correct */
- HDassert(nattrs == ainfo.nattrs);
+ assert(nattrs == ainfo.nattrs);
} /* end if */
else
- HDassert(nattrs == 0);
+ assert(nattrs == 0);
} /* end if */
/* Set the return value */
@@ -296,7 +296,7 @@ H5O__num_attrs_test(hid_t oid, hsize_t *nattrs)
/* Check for using dense storage */
if (H5F_addr_defined(ainfo.fheap_addr)) {
/* Check for any messages in object header */
- HDassert(obj_nattrs == 0);
+ assert(obj_nattrs == 0);
/* Set metadata tag in API context */
H5_BEGIN_TAG(loc->addr);
@@ -314,7 +314,7 @@ H5O__num_attrs_test(hid_t oid, hsize_t *nattrs)
} /* end if */
/* Verify that attribute count in object header is correct */
- HDassert(obj_nattrs == ainfo.nattrs);
+ assert(obj_nattrs == ainfo.nattrs);
} /* end if */
/* Set the number of attributes */
@@ -535,7 +535,7 @@ H5O__expunge_chunks_test(const H5O_loc_t *loc)
/* Safety check */
nchunks = oh->nchunks;
- HDassert(0 < nchunks && nchunks < NELMTS(chk_addr));
+ assert(0 < nchunks && nchunks < NELMTS(chk_addr));
/* Iterate over all the chunks, saving the chunk addresses */
for (u = 0; u < oh->nchunks; u++)
@@ -585,8 +585,8 @@ H5O__get_rc_test(const H5O_loc_t *loc, unsigned *rc)
FUNC_ENTER_PACKAGE
/* Sanity check */
- HDassert(loc);
- HDassert(rc);
+ assert(loc);
+ assert(rc);
/* Get the object header */
if (NULL == (oh = H5O_protect(loc, H5AC__READ_ONLY_FLAG, FALSE)))