summaryrefslogtreecommitdiffstats
path: root/test/page_buffer.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-28 14:31:56 (GMT)
committerGitHub <noreply@github.com>2023-06-28 14:31:56 (GMT)
commit7a44581a84778a1346a2fd5b6cca7d9db905a321 (patch)
tree44ea9c2d1b471eb227698abe8499c34cfa6d47d2 /test/page_buffer.c
parent622fcbd13881fbc58bbeaed3062583b759f5e864 (diff)
downloadhdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.zip
hdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.tar.gz
hdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.tar.bz2
Rename HDassert() to assert() (#3191)
* Change HDassert to assert * Fix bin/make_err
Diffstat (limited to 'test/page_buffer.c')
-rw-r--r--test/page_buffer.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/page_buffer.c b/test/page_buffer.c
index 16fcfd5..2f4e607 100644
--- a/test/page_buffer.c
+++ b/test/page_buffer.c
@@ -1121,9 +1121,9 @@ test_min_threshold(hid_t orig_fapl, const char *env_h5_drvr)
/* opening the file inserts one or more pages into the page buffer.
* Get the raw and meta counts now, so we can adjust tests accordingly.
*/
- HDassert(f);
- HDassert(f->shared);
- HDassert(f->shared->page_buf);
+ assert(f);
+ assert(f->shared);
+ assert(f->shared->page_buf);
base_raw_cnt = f->shared->page_buf->raw_count;
base_meta_cnt = f->shared->page_buf->meta_count;
@@ -1255,9 +1255,9 @@ test_min_threshold(hid_t orig_fapl, const char *env_h5_drvr)
/* opening the file inserts one or more pages into the page buffer.
* Get the raw and meta counts now, so we can adjust tests accordingly.
*/
- HDassert(f);
- HDassert(f->shared);
- HDassert(f->shared->page_buf);
+ assert(f);
+ assert(f->shared);
+ assert(f->shared->page_buf);
base_raw_cnt = f->shared->page_buf->raw_count;
base_meta_cnt = f->shared->page_buf->meta_count;
@@ -1738,9 +1738,9 @@ test_stats_collection(hid_t orig_fapl, const char *env_h5_drvr)
* Get the raw and meta counts now, so we can adjust the expected
* statistics accordingly.
*/
- HDassert(f);
- HDassert(f->shared);
- HDassert(f->shared->page_buf);
+ assert(f);
+ assert(f->shared);
+ assert(f->shared->page_buf);
base_raw_cnt = f->shared->page_buf->raw_count;
base_meta_cnt = f->shared->page_buf->meta_count;