summaryrefslogtreecommitdiffstats
path: root/test/swmr_writer.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/swmr_writer.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/swmr_writer.c')
-rw-r--r--test/swmr_writer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/swmr_writer.c b/test/swmr_writer.c
index 5f41215..3b86dea 100644
--- a/test/swmr_writer.c
+++ b/test/swmr_writer.c
@@ -75,7 +75,7 @@ open_skeleton(const char *filename, hbool_t verbose, FILE *verbose_file, unsigne
unsigned u, v; /* Local index variable */
hbool_t use_log_vfd = FALSE; /* Use the log VFD (set this manually) */
- HDassert(filename);
+ assert(filename);
/* Create file access property list */
if ((fapl = h5_fileaccess()) < 0)
@@ -155,7 +155,7 @@ add_records(hid_t fid, hbool_t verbose, FILE *verbose_file, unsigned long nrecor
unsigned long rec_to_flush; /* # of records left to write before flush */
unsigned long u, v; /* Local index variables */
- HDassert(fid >= 0);
+ assert(fid >= 0);
/* Reset the record */
/* (record's 'info' field might need to change for each record written, also) */